|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Border
A representation of a simple border.
| Field Summary | |
static int |
STYLE_DASHED
A border style that appears as a series of short line segments. |
static int |
STYLE_DOTTED
A border style that appears as a series of dots. |
static int |
STYLE_DOUBLE
A border style that creates two solid monochrome borders around an object. |
static int |
STYLE_GROOVE
A border style that causes a simulated 3D border to be rendered, such that the border appears to have been carved out. |
static int |
STYLE_INSET
A border style that causes a simulated 3D border to be rendered, such that an object appears recessed. |
static int |
STYLE_NONE
A border style that causes no border to be rendered. |
static int |
STYLE_OUTSET
A border style that causes a simulated 3D border to be rendered, such that an object appears raised. |
static int |
STYLE_RIDGE
A border style that causes a simulated 3D border to be rendered, such that the border appears as a ridge around an object. |
static int |
STYLE_SOLID
A border style that causes a single solid monochrome border around an object. |
| Constructor Summary | |
Border(Extent size,
Color color,
int style)
Creates a new Border. |
|
Border(int sizePx,
Color color,
int style)
Creates a new Border with a pixel-based size. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
Color |
getColor()
Returns the border color. |
Extent |
getSize()
Returns the border size. |
int |
getStyle()
Returns the border style. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int STYLE_NONE
public static final int STYLE_SOLID
public static final int STYLE_INSET
public static final int STYLE_OUTSET
public static final int STYLE_GROOVE
public static final int STYLE_RIDGE
public static final int STYLE_DOUBLE
public static final int STYLE_DOTTED
public static final int STYLE_DASHED
| Constructor Detail |
public Border(int sizePx,
Color color,
int style)
Border with a pixel-based size.
sizePx - the size of the border, in pixelscolor - the color of the borderstyle - the style of the border, one of the following constant values:
STYLE_NONESTYLE_SOLIDSTYLE_INSETSTYLE_OUTSETSTYLE_GROOVESTYLE_RIDGESTYLE_DOUBLESTYLE_DOTTEDSTYLE_DASHED
public Border(Extent size,
Color color,
int style)
Border.
size - the size of the border (this property only supports
Extents with fixed (i.e., not percent) units)color - the color of the borderstyle - the style of the border, one of the following constant
values:
STYLE_NONESTYLE_SOLIDSTYLE_INSETSTYLE_OUTSETSTYLE_GROOVESTYLE_RIDGESTYLE_DOUBLESTYLE_DOTTEDSTYLE_DASHED| Method Detail |
public boolean equals(java.lang.Object o)
Object.equals(java.lang.Object)public Color getColor()
public Extent getSize()
Extents with
fixed (i.e., not percent) units.
public int getStyle()
STYLE_NONESTYLE_SOLIDSTYLE_INSETSTYLE_OUTSETSTYLE_GROOVESTYLE_RIDGESTYLE_DOUBLESTYLE_DOTTEDSTYLE_DASHED
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||