| java.lang.Object com.javelin.swinglets.border.SBorder com.javelin.swinglets.border.SBevelBorder
SBevelBorder | public class SBevelBorder extends SBorder (Code) | | SBevelBorder is used to render a beveled border around an SComponent.
author: Robin Sharp |
Constructor Summary | |
public | SBevelBorder() Creates an raised border with color based on the background
and a width of 1. | public | SBevelBorder(int width, boolean raised) Constructs a new SBevelBorder. | public | SBevelBorder(int width, boolean raised, SColor color) Constructs a new SBevelBorder, with the color based on
the color darker/brighter. | public | SBevelBorder(int width, boolean raised, SColor highlightColor, SColor shadowColor) Constructs a new SBevelBorder, with the color based on
the colors. |
raised | protected boolean raised(Code) | | |
width | protected int width(Code) | | |
SBevelBorder | public SBevelBorder()(Code) | | Creates an raised border with color based on the background
and a width of 1.
|
SBevelBorder | public SBevelBorder(int width, boolean raised)(Code) | | Constructs a new SBevelBorder.
|
SBevelBorder | public SBevelBorder(int width, boolean raised, SColor color)(Code) | | Constructs a new SBevelBorder, with the color based on
the color darker/brighter.
|
SBevelBorder | public SBevelBorder(int width, boolean raised, SColor highlightColor, SColor shadowColor)(Code) | | Constructs a new SBevelBorder, with the color based on
the colors.
|
getHighlightColor | public SColor getHighlightColor()(Code) | | Get the Highlight Color.
|
getShadowColor | public SColor getShadowColor()(Code) | | Get the Shadow Color.
|
getUIClass | public Class getUIClass()(Code) | | Returns the name of the L&F class that renders this border.
|
getWidth | public int getWidth()(Code) | | Get the width.
|
isRaised | public boolean isRaised()(Code) | | Check whether the bevel is raised.
|
setHighlightColor | public void setHighlightColor(SColor highlightColor)(Code) | | Set the Highlight Color.
|
setRaised | public void setRaised(boolean raised)(Code) | | Set whether the bevel is raised.
|
setShadowColor | public void setShadowColor(SColor shadowColor)(Code) | | Set the Shadow Color.
|
setWidth | public void setWidth(int width)(Code) | | Set the width.
|
|
|