public static class Border.Side
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Side(Extent size,
Color color,
int style)
Creates a new border
side. |
Side(int sizePx,
Color color,
int style)
Creates a new border
Side with a pixel-based size. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Color |
getColor()
Returns the border side color.
|
Extent |
getSize()
Returns the border side size.
|
int |
getStyle()
Returns the border side style.
|
public Side(int sizePx,
Color color,
int style)
Side with a pixel-based size.sizePx - the size of the border side, in pixelscolor - the color of the border sidestyle - the style of the border side, one of the following constant values:
STYLE_NONESTYLE_SOLIDSTYLE_INSETSTYLE_OUTSETSTYLE_GROOVESTYLE_RIDGESTYLE_DOUBLESTYLE_DOTTEDSTYLE_DASHEDpublic Side(Extent size, Color color, int style)
side.size - the size of the border side (this property only supports
Extents with fixed (i.e., not percent) units)color - the color of the border sidestyle - the style of the border side, one of the following constant
values:
STYLE_NONESTYLE_SOLIDSTYLE_INSETSTYLE_OUTSETSTYLE_GROOVESTYLE_RIDGESTYLE_DOUBLESTYLE_DOTTEDSTYLE_DASHEDpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public Color getColor()
public Extent getSize()
public int getStyle()