public static class Border.Side
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Border.Side(Extent size,
Color color,
int style)
Creates a new border
side. |
Border.Side(int sizePx,
Color color,
int style)
Creates a new border
Side with a pixel-based size. |
public Border.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 Border.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()