public final class ControlStyle
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(ChangeListener listener)
Adds a
ChangeListener to the style. |
java.awt.Color |
getButtonBorderColor()
Gets the color used to draw the buttons border lines.
|
Brush |
getButtonFillBrush()
Gets the brush used to fill the background of button child controls
when they are neither pushed nor the mouse pointer hovers over them.
|
Brush |
getButtonFillBrushDown()
Gets the brush used to fill the background of
button child controls when they are pushed down.
|
Brush |
getButtonFillBrushOver()
Gets the brush used to fill the background of button
child controls when the mouse pointer hovers over them.
|
Brush |
getHScrollBarBackBrush()
Gets the brush used to fill the background of the horizontal scrollbar.
|
Brush |
getHScrollBarBackBrushDark()
Gets the brush used to fill the background of the
horizontal scrollbar when a user clicks on the scrollbar
shaft in order to scroll a page left or right.
|
java.awt.Color |
getHScrollBarBorderColor()
Gets the color used to draw the horizontal scrollbar border lines.
|
Brush |
getHScrollBarFillBrush()
Gets the brush used to fill the elements of the horizontal scrollbar
when they are neither pushed nor the mouse pointer hovers over them.
|
Brush |
getHScrollBarFillBrushDown()
Gets the brush used to fill the elements of
the horizontal scrollbar when they are pushed down.
|
Brush |
getHScrollBarFillBrushOver()
Gets the brush used to fill the elements of the horizontal
scroll bar when the mouse pointer hovers over them.
|
java.lang.Integer |
getHScrollBarHeight()
Gets the height of the horizontal scrollbar.
|
Brush |
getVScrollBarBackBrush()
Gets the brush used to fill the background of the vertical scrollbar.
|
Brush |
getVScrollBarBackBrushDark()
Gets the brush used to fill the background of the vertical scrollbar when
a user clicks on the scrollbar shaft in order to scroll a page up or down.
|
java.awt.Color |
getVScrollBarBorderColor()
Gets the color used to draw the vertical scrollbar border lines.
|
Brush |
getVScrollBarFillBrush()
Gets the brush used to fill the elements of the vertical scrollbar
when they are neither pushed nor the mouse pointer hovers over them.
|
Brush |
getVScrollBarFillBrushDown()
Gets the brush used to fill the elements of
the vertical scrollbar when they are pushed down.
|
Brush |
getVScrollBarFillBrushOver()
Gets the brush used to fill the elements of the vertical
scroll bar when the mouse pointer hovers over them.
|
java.lang.Integer |
getVScrollBarWidth()
Gets the width of the vertical scrollbar.
|
void |
removeChangeListener(ChangeListener listener)
Removes the specified
ChangeListener from the style. |
void |
setButtonBorderColor(java.awt.Color value)
Sets the color used to draw the buttons border lines.
|
void |
setButtonFillBrush(Brush value)
Sets the brush used to fill the background of button child controls
when they are neither pushed nor the mouse pointer hovers over them.
|
void |
setButtonFillBrushDown(Brush value)
Sets the brush used to fill the background of
button child controls when they are pushed down.
|
void |
setButtonFillBrushOver(Brush value)
Sets the brush used to fill the background of button
child controls when the mouse pointer hovers over them.
|
void |
setHScrollBarBackBrush(Brush value)
Sets the brush used to fill the background of the horizontal scrollbar.
|
void |
setHScrollBarBackBrushDark(Brush value)
Sets the brush used to fill the background of the
horizontal scrollbar when a user clicks on the scrollbar
shaft in order to scroll a page left or right.
|
void |
setHScrollBarBorderColor(java.awt.Color value)
Sets the color used to draw the horizontal scrollbar border lines.
|
void |
setHScrollBarFillBrush(Brush value)
Sets the brush used to fill the elements of the horizontal scrollbar
when they are neither pushed nor the mouse pointer hovers over them.
|
void |
setHScrollBarFillBrushDown(Brush value)
Sets the brush used to fill the elements of
the horizontal scrollbar when they are pushed down.
|
void |
setHScrollBarFillBrushOver(Brush value)
Sets the brush used to fill the elements of the horizontal
scroll bar when the mouse pointer hovers over them.
|
void |
setHScrollBarHeight(java.lang.Integer value)
Sets the height of the horizontal scrollbar.
|
void |
setVScrollBarBackBrush(Brush value)
Sets the brush used to fill the background of the vertical scrollbar.
|
void |
setVScrollBarBackBrushDark(Brush value)
Sets the brush used to fill the background of the vertical scrollbar when
a user clicks on the scrollbar shaft in order to scroll a page up or down.
|
void |
setVScrollBarBorderColor(java.awt.Color value)
Sets the color used to draw the vertical scrollbar border lines.
|
void |
setVScrollBarFillBrush(Brush value)
Sets the brush used to fill the elements of the vertical scrollbar
when they are neither pushed nor the mouse pointer hovers over them.
|
void |
setVScrollBarFillBrushDown(Brush value)
Sets the brush used to fill the elements of
the vertical scrollbar when they are pushed down.
|
void |
setVScrollBarFillBrushOver(Brush value)
Sets the brush used to fill the elements of the vertical
scroll bar when the mouse pointer hovers over them.
|
void |
setVScrollBarWidth(java.lang.Integer value)
Sets the width of the vertical scrollbar.
|
public Brush getButtonFillBrush()
Brush class.public void setButtonFillBrush(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getButtonFillBrushOver()
Brush class.public void setButtonFillBrushOver(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getButtonFillBrushDown()
Brush class.public void setButtonFillBrushDown(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public java.awt.Color getButtonBorderColor()
public void setButtonBorderColor(java.awt.Color value)
value - A Color object.
To reset this property, set it to null.public Brush getHScrollBarFillBrush()
Brush class.public void setHScrollBarFillBrush(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getHScrollBarFillBrushOver()
Brush class.public void setHScrollBarFillBrushOver(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getHScrollBarFillBrushDown()
Brush class.public void setHScrollBarFillBrushDown(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getHScrollBarBackBrush()
Brush class.public void setHScrollBarBackBrush(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getHScrollBarBackBrushDark()
Brush class.public void setHScrollBarBackBrushDark(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public java.awt.Color getHScrollBarBorderColor()
public void setHScrollBarBorderColor(java.awt.Color value)
value - A Color object.
To reset this property, set it to null.public Brush getVScrollBarFillBrush()
Brush class.public void setVScrollBarFillBrush(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getVScrollBarFillBrushOver()
Brush class.public void setVScrollBarFillBrushOver(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getVScrollBarFillBrushDown()
Brush class.public void setVScrollBarFillBrushDown(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getVScrollBarBackBrush()
Brush class.public void setVScrollBarBackBrush(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public Brush getVScrollBarBackBrushDark()
Brush class.public void setVScrollBarBackBrushDark(Brush value)
value - An instance of the Brush class.
To reset this property, set it to null.public java.awt.Color getVScrollBarBorderColor()
public void setVScrollBarBorderColor(java.awt.Color value)
value - A Color object.
To reset this property, set it to null.public java.lang.Integer getVScrollBarWidth()
public void setVScrollBarWidth(java.lang.Integer value)
public java.lang.Integer getHScrollBarHeight()
public void setHScrollBarHeight(java.lang.Integer value)
public void addChangeListener(ChangeListener listener)
ChangeListener to the style.listener - The ChangeListener to be added.public void removeChangeListener(ChangeListener listener)
ChangeListener from the style.listener - The listener to be removed.