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