public class TableNodeStyleBuilder
extends java.lang.Object
Constructor and Description |
---|
TableNodeStyleBuilder()
Initializes a new instance of the TableNodeStyleBuilder class.
|
TableNodeStyleBuilder(TableNodeStyle instance)
Initializes a new instance of the TableNodeStyleBuilder class.
|
Modifier and Type | Method and Description |
---|---|
TableNodeStyleBuilder |
brush(Brush value)
Sets the brush used to fill the interior of the item.
|
TableNodeStyleBuilder |
brush(java.awt.Color color) |
TableNodeStyleBuilder |
brush(java.awt.Color color1,
java.awt.Color color2,
int angle) |
TableNodeStyleBuilder |
captionBackBrush(Brush value)
Sets the brush used to paint the caption area of this table.
|
TableNodeStyleBuilder |
captionBackBrush(java.awt.Color color) |
TableNodeStyleBuilder |
captionBackBrush(java.awt.Color color1,
java.awt.Color color2,
int angle) |
TableNodeStyleBuilder |
cellTextBrush(Brush value)
Gets the brush used to paint texts inside table cells.
|
TableNodeStyleBuilder |
cellTextBrush(java.awt.Color color) |
TableNodeStyleBuilder |
cellTextBrush(java.awt.Color color1,
java.awt.Color color2,
int angle) |
TableNodeStyle |
create()
Creates a new object with the attributes accumulated by this builder.
|
TableNodeStyleBuilder |
fontFamily(java.lang.String value)
Sets the font family of the item text.
|
TableNodeStyleBuilder |
fontSize(float value)
Sets the font size of the item text.
|
TableNodeStyleBuilder |
fontStyle(int value)
Sets the font style of the item text.
|
TableNodeStyleBuilder |
fontUnit(GraphicsUnit value)
Sets the measure unit used to specify font size.
|
TableNodeStyle |
get()
Returns an existing object passed for initialization to this builder.
|
TableNodeStyleBuilder |
shadowBrush(Brush value)
Sets the brush used to paint the shadow of the item.
|
TableNodeStyleBuilder |
shadowBrush(java.awt.Color color) |
TableNodeStyleBuilder |
shadowBrush(java.awt.Color color1,
java.awt.Color color2,
int angle) |
TableNodeStyleBuilder |
stroke(Brush value)
Sets the brush used to paint the outline of the item.
|
TableNodeStyleBuilder |
stroke(java.awt.Color color) |
TableNodeStyleBuilder |
stroke(java.awt.Color color1,
java.awt.Color color2,
int angle) |
TableNodeStyleBuilder |
strokeThickness(double value)
Sets the thickness of the item's outline, expressed in the
current units of measure.
|
TableNodeStyleBuilder |
textBrush(Brush value)
Sets the brush used to paint texts inside the item.
|
TableNodeStyleBuilder |
textBrush(java.awt.Color color) |
TableNodeStyleBuilder |
textBrush(java.awt.Color color1,
java.awt.Color color2,
int angle) |
public TableNodeStyleBuilder()
public TableNodeStyleBuilder(TableNodeStyle instance)
public TableNodeStyleBuilder brush(Brush value)
public TableNodeStyleBuilder brush(java.awt.Color color)
public TableNodeStyleBuilder brush(java.awt.Color color1, java.awt.Color color2, int angle)
public TableNodeStyleBuilder captionBackBrush(Brush value)
public TableNodeStyleBuilder captionBackBrush(java.awt.Color color)
public TableNodeStyleBuilder captionBackBrush(java.awt.Color color1, java.awt.Color color2, int angle)
public TableNodeStyleBuilder cellTextBrush(Brush value)
public TableNodeStyleBuilder cellTextBrush(java.awt.Color color)
public TableNodeStyleBuilder cellTextBrush(java.awt.Color color1, java.awt.Color color2, int angle)
public TableNodeStyleBuilder fontFamily(java.lang.String value)
public TableNodeStyleBuilder fontSize(float value)
public TableNodeStyleBuilder fontStyle(int value)
public TableNodeStyleBuilder fontUnit(GraphicsUnit value)
public TableNodeStyleBuilder shadowBrush(Brush value)
public TableNodeStyleBuilder shadowBrush(java.awt.Color color)
public TableNodeStyleBuilder shadowBrush(java.awt.Color color1, java.awt.Color color2, int angle)
public TableNodeStyleBuilder stroke(Brush value)
public TableNodeStyleBuilder stroke(java.awt.Color color)
public TableNodeStyleBuilder stroke(java.awt.Color color1, java.awt.Color color2, int angle)
public TableNodeStyleBuilder strokeThickness(double value)
public TableNodeStyleBuilder textBrush(Brush value)
public TableNodeStyleBuilder textBrush(java.awt.Color color)
public TableNodeStyleBuilder textBrush(java.awt.Color color1, java.awt.Color color2, int angle)
public TableNodeStyle create()
public TableNodeStyle get()