| java.lang.Object nextapp.echo2.app.Border
Border | public class Border implements Serializable(Code) | | A representation of a simple border.
|
Field Summary | |
final public static int | STYLE_DASHED A border style that appears as a series of short line segments. | final public static int | STYLE_DOTTED A border style that appears as a series of dots. | final public static int | STYLE_DOUBLE A border style that creates two solid monochrome borders around an
object. | final public 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. | final public static int | STYLE_INSET A border style that causes a simulated 3D border to be rendered, such
that an object appears recessed. | final public static int | STYLE_NONE A border style that causes no border to be rendered. | final public static int | STYLE_OUTSET A border style that causes a simulated 3D border to be rendered, such
that an object appears raised. | final public 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. | final public static int | STYLE_SOLID A border style that causes a single solid monochrome border around an
object. |
Constructor Summary | |
public | Border(int sizePx, Color color, int style) Creates a new Border with a pixel-based size. | public | Border(Extent size, Color color, int style) Creates a new Border . |
STYLE_DASHED | final public static int STYLE_DASHED(Code) | | A border style that appears as a series of short line segments.
|
STYLE_DOTTED | final public static int STYLE_DOTTED(Code) | | A border style that appears as a series of dots.
|
STYLE_DOUBLE | final public static int STYLE_DOUBLE(Code) | | A border style that creates two solid monochrome borders around an
object.
|
STYLE_GROOVE | final public static int STYLE_GROOVE(Code) | | A border style that causes a simulated 3D border to be rendered, such
that the border appears to have been carved out.
|
STYLE_INSET | final public static int STYLE_INSET(Code) | | A border style that causes a simulated 3D border to be rendered, such
that an object appears recessed.
|
STYLE_NONE | final public static int STYLE_NONE(Code) | | A border style that causes no border to be rendered.
|
STYLE_OUTSET | final public static int STYLE_OUTSET(Code) | | A border style that causes a simulated 3D border to be rendered, such
that an object appears raised.
|
STYLE_RIDGE | final public static int STYLE_RIDGE(Code) | | A border style that causes a simulated 3D border to be rendered, such
that the border appears as a ridge around an object.
|
STYLE_SOLID | final public static int STYLE_SOLID(Code) | | A border style that causes a single solid monochrome border around an
object.
|
Border | public Border(int sizePx, Color color, int style)(Code) | | Creates a new Border with a pixel-based size.
Parameters: sizePx - the size of the border, in pixels Parameters: color - the color of the border Parameters: style - the style of the border, one of the following constant values:STYLE_NONE STYLE_SOLID STYLE_INSET STYLE_OUTSET STYLE_GROOVE STYLE_RIDGE STYLE_DOUBLE STYLE_DOTTED STYLE_DASHED
|
Border | public Border(Extent size, Color color, int style)(Code) | | Creates a new Border .
Parameters: size - the size of the border (this property only supportsExtent s with fixed (i.e., not percent) units) Parameters: color - the color of the border Parameters: style - the style of the border, one of the following constantvalues:STYLE_NONE STYLE_SOLID STYLE_INSET STYLE_OUTSET STYLE_GROOVE STYLE_RIDGE STYLE_DOUBLE STYLE_DOTTED STYLE_DASHED
|
getColor | public Color getColor()(Code) | | Returns the border color.
the color |
getSize | public Extent getSize()(Code) | | Returns the border size.
This property only supports Extent s with
fixed (i.e., not percent) units.
the size |
getStyle | public int getStyle()(Code) | | Returns the border style.
the style, one of the following values:STYLE_NONE STYLE_SOLID STYLE_INSET STYLE_OUTSET STYLE_GROOVE STYLE_RIDGE STYLE_DOUBLE STYLE_DOTTED STYLE_DASHED
|
|
|