| org.wings.border.SBorder
All known Subclasses: org.wings.border.SAbstractBorder,
Method Summary | |
CSSAttributeSet | getAttributes() | BorderCG | getCG() | Color | getColor() Get the color of the border. | Color | getColor(int position) Get the color of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM. | Insets | getInsets() Returns the insets of this border. | String | getStyle(int position) Get the style of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM. | int | getThickness() Get the thickness in pixel for this border. | int | getThickness(int position) Get the thickness of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM. | void | setColor(Color color) Get the color of this border. | void | setColor(Color color, int position) Set the color of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM. | void | setComponent(SComponent component) | void | setInsets(Insets insets) Sets the insets of this border. | void | setStyle(String style, int position) Set the style of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM. | void | setThickness(int thickness) Set the thickness in pixel for this border. | void | setThickness(int thickness, int position) Set the thickness of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM. |
getAttributes | CSSAttributeSet getAttributes()(Code) | | The CSS Attributes which need to be applied to the component to build up the border. |
getColor | Color getColor()(Code) | | Get the color of the border.
color |
getColor | Color getColor(int position)(Code) | | Get the color of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM.
Parameters: position - SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM the color |
getStyle | String getStyle(int position)(Code) | | Get the style of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM.
Parameters: position - SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM the style |
getThickness | int getThickness(int position)(Code) | | Get the thickness of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM.
Parameters: position - SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM the thickness |
setColor | void setColor(Color color)(Code) | | Get the color of this border.
Parameters: color - the color |
setColor | void setColor(Color color, int position)(Code) | | Set the color of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM.
Parameters: position - SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM Parameters: color - the color |
setComponent | void setComponent(SComponent component)(Code) | | Parameters: component - The component owning this border |
setInsets | void setInsets(Insets insets)(Code) | | Sets the insets of this border. Insets describe the amount
of space 'around' the bordered component.
See Also: SBorder.getInsets() |
setStyle | void setStyle(String style, int position)(Code) | | Set the style of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM.
Parameters: position - SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM Parameters: style - the style |
setThickness | void setThickness(int thickness, int position)(Code) | | Set the thickness of the border for one of SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM.
Parameters: position - SConstants.TOP, SConstants.LEFT, SConstants.RIGHT or SConstants.BOTTOM Parameters: thickness - the thickness |
|
|