|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.app.Border
public class Border
A representation of a simple border.
| Nested Class Summary | |
|---|---|
static class |
Border.Side
A representation of one or more sides of a border. |
| Field Summary | |
|---|---|
static int |
SIDE_BOTTOM
Index of bottom side in returned array of sides. |
static int |
SIDE_LEFT
Index of left side in returned array of sides. |
static int |
SIDE_RIGHT
Index of right side in returned array of sides. |
static int |
SIDE_TOP
Index of top side in returned array of sides. |
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(Border.Side[] sides)
|
|
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)
Note that this implementation of equals will return FALSE if two borders have a different number of sides but are nevertheless equivalent. |
Color |
getColor()
Returns the border color. |
Border.Side[] |
getSides()
Returns the sides of the border. |
Extent |
getSize()
Returns the border size. |
int |
getStyle()
Returns the border style. |
boolean |
isMultisided()
Determines if the border is multisided. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SIDE_TOP
public static final int SIDE_RIGHT
public static final int SIDE_BOTTOM
public static final int SIDE_LEFT
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_DASHEDpublic Border(Border.Side[] sides)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectObject.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_DASHEDpublic Border.Side[] getSides()
public boolean isMultisided()
|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||