|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Borderable
interface is used to produce a border around a
component. This border can have width, color and a border style.
The setBorderColor, setBorderSize and setBorderStyle methods will also set the left, top, right and bottom border properties.
These more specific left, top, right and bottom border properties take precedence over the general border properties, in that they are applied last during applyStyle() and are drawn so they override anything previously set by the general border properties.
Nested Class Summary | |
static class |
Borderable.NestedStyleInfo
Nested public static StyleInfo class. |
Field Summary | |
static int |
BORDER_DASHED
Defines a dashed border |
static int |
BORDER_DOTTED
Defines a dotted border |
static int |
BORDER_DOUBLE
Defines two borders. |
static int |
BORDER_GROOVE
Defines a 3D grooved border |
static int |
BORDER_INSET
Defines a 3D inset border |
static int |
BORDER_NONE
Defines no border |
static int |
BORDER_OUTSET
Defines a 3D outset border |
static int |
BORDER_RIDGE
Defines a 3D ridged border |
static int |
BORDER_SOLID
Defines a solid border |
static SymbolicValue[] |
borderStyleSymbolics
Helper static SymbolicValue[] - Borderable borderStyle Symbolics |
static java.lang.String |
STYLE_BORDER_COLOR
A style constant for the BorderColor property. |
static java.lang.String |
STYLE_BORDER_SIZE
A style constant for the BorderSize property. |
static java.lang.String |
STYLE_BORDER_STYLE
A style constant for the BorderStyle property. |
static java.lang.String |
STYLE_BOTTOM_BORDER_COLOR
A style constant for the bottomBorderColor property. |
static java.lang.String |
STYLE_BOTTOM_BORDER_SIZE
A style constant for the bottomBorderSize property. |
static java.lang.String |
STYLE_BOTTOM_BORDER_STYLE
A style constant for the bottomBorderStyle property. |
static java.lang.String |
STYLE_LEFT_BORDER_COLOR
A style constant for the leftBorderColor property. |
static java.lang.String |
STYLE_LEFT_BORDER_SIZE
A style constant for the leftBorderSize property. |
static java.lang.String |
STYLE_LEFT_BORDER_STYLE
A style constant for the leftBorderStyle property. |
static java.lang.String |
STYLE_RIGHT_BORDER_COLOR
A style constant for the rightBorderColor property. |
static java.lang.String |
STYLE_RIGHT_BORDER_SIZE
A style constant for the rightBorderSize property. |
static java.lang.String |
STYLE_RIGHT_BORDER_STYLE
A style constant for the rightBorderStyle property. |
static java.lang.String |
STYLE_TOP_BORDER_COLOR
A style constant for the topBorderColor property. |
static java.lang.String |
STYLE_TOP_BORDER_SIZE
A style constant for the topBorderSize property. |
static java.lang.String |
STYLE_TOP_BORDER_STYLE
A style constant for the topBorderStyle property. |
Method Summary | |
void |
applyStyle(nextapp.echo.Style style)
This will apply the borderColor, borderWidth and borderStyle properties first followed by the left, top, right and bottom borer properties. |
nextapp.echo.Color |
getBorderColor()
|
int |
getBorderSize()
|
int |
getBorderStyle()
Returns the border style of the Borderable. |
nextapp.echo.Color |
getBottomBorderColor()
|
int |
getBottomBorderSize()
|
int |
getBottomBorderStyle()
|
nextapp.echo.Color |
getLeftBorderColor()
|
int |
getLeftBorderSize()
|
int |
getLeftBorderStyle()
|
nextapp.echo.Color |
getRightBorderColor()
|
int |
getRightBorderSize()
|
int |
getRightBorderStyle()
|
nextapp.echo.Color |
getTopBorderColor()
|
int |
getTopBorderSize()
|
int |
getTopBorderStyle()
|
void |
setBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's border.
|
void |
setBorderSize(int borderSize)
Sets the size of the Borderables's border.
|
void |
setBorderStyle(int borderStyle)
Sets the border style of the Borderable. |
void |
setBottomBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's bottom border. |
void |
setBottomBorderSize(int borderSize)
Sets the size of the Borderables's bottom border. |
void |
setBottomBorderStyle(int borderStyle)
Sets the border style of the Borderables's bottom border. |
void |
setLeftBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's left border. |
void |
setLeftBorderSize(int borderSize)
Sets the size of the Borderables's left border. |
void |
setLeftBorderStyle(int borderStyle)
Sets the border style of the Borderables's left border. |
void |
setRightBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's right border. |
void |
setRightBorderSize(int borderSize)
Sets the size of the Borderables's right border. |
void |
setRightBorderStyle(int borderStyle)
Sets the border style of the Borderables's right border. |
void |
setTopBorderColor(nextapp.echo.Color borderColor)
Sets the Color of the Borderable's top border. |
void |
setTopBorderSize(int borderSize)
Sets the size of the Borderables's top border. |
void |
setTopBorderStyle(int borderStyle)
Sets the border style of the Borderables's top border. |
Field Detail |
public static final int BORDER_NONE
public static final int BORDER_SOLID
public static final int BORDER_INSET
public static final int BORDER_DOTTED
public static final int BORDER_DOUBLE
public static final int BORDER_GROOVE
public static final int BORDER_RIDGE
public static final int BORDER_DASHED
public static final int BORDER_OUTSET
public static final java.lang.String STYLE_BORDER_COLOR
Color
public static final java.lang.String STYLE_BORDER_SIZE
int
public static final java.lang.String STYLE_BORDER_STYLE
int
public static final java.lang.String STYLE_LEFT_BORDER_COLOR
Color
public static final java.lang.String STYLE_LEFT_BORDER_SIZE
int
public static final java.lang.String STYLE_LEFT_BORDER_STYLE
int
public static final java.lang.String STYLE_TOP_BORDER_COLOR
Color
public static final java.lang.String STYLE_TOP_BORDER_SIZE
int
public static final java.lang.String STYLE_TOP_BORDER_STYLE
int
public static final java.lang.String STYLE_RIGHT_BORDER_COLOR
Color
public static final java.lang.String STYLE_RIGHT_BORDER_SIZE
int
public static final java.lang.String STYLE_RIGHT_BORDER_STYLE
int
public static final java.lang.String STYLE_BOTTOM_BORDER_COLOR
Color
public static final java.lang.String STYLE_BOTTOM_BORDER_SIZE
int
public static final java.lang.String STYLE_BOTTOM_BORDER_STYLE
int
public static final SymbolicValue[] borderStyleSymbolics
Method Detail |
public nextapp.echo.Color getBorderColor()
Color
of the Borderable's
border.public int getBorderSize()
Borderables's
border.public int getBorderStyle()
public void setBorderColor(nextapp.echo.Color borderColor)
Color
of the Borderable's
border.
This will also set the left, top, right and bottom border color.
public void setBorderSize(int borderSize)
Borderables's
border.
This will also set the left, top, right and bottom border size.
public void setBorderStyle(int borderStyle)
public void applyStyle(nextapp.echo.Style style)
Component.applyStyle(nextapp.echo.Style)
public nextapp.echo.Color getLeftBorderColor()
Color
of the Borderable's
left border.public int getLeftBorderSize()
Borderables's
left border.public int getLeftBorderStyle()
Borderables's
left border.getBorderStyle()
public void setLeftBorderColor(nextapp.echo.Color borderColor)
Color
of the Borderable's
left border.
public void setLeftBorderSize(int borderSize)
Borderables's
left border.
public void setLeftBorderStyle(int borderStyle)
Borderables's
left border.
setBorderStyle(int)
public nextapp.echo.Color getTopBorderColor()
Color
of the Borderable's
top border.public int getTopBorderSize()
Borderables's
top border.public int getTopBorderStyle()
Borderables's
top border.getBorderStyle()
public void setTopBorderColor(nextapp.echo.Color borderColor)
Color
of the Borderable's
top border.
public void setTopBorderSize(int borderSize)
Borderables's
top border.
public void setTopBorderStyle(int borderStyle)
Borderables's
top border.
setBorderStyle(int)
public nextapp.echo.Color getRightBorderColor()
Color
of the Borderable's
right border.public int getRightBorderSize()
Borderables's
right border.public int getRightBorderStyle()
Borderables's
right border.getBorderStyle()
public void setRightBorderColor(nextapp.echo.Color borderColor)
Color
of the Borderable's
right border.
public void setRightBorderSize(int borderSize)
Borderables's
right border.
public void setRightBorderStyle(int borderStyle)
Borderables's
right border.
setBorderStyle(int)
public nextapp.echo.Color getBottomBorderColor()
Color
of the Borderable's
bottom border.public int getBottomBorderSize()
Borderables's
bottom border.public int getBottomBorderStyle()
Borderables's
bottom border.getBorderStyle()
public void setBottomBorderColor(nextapp.echo.Color borderColor)
Color
of the Borderable's
bottom border.
public void setBottomBorderSize(int borderSize)
Borderables's
bottom border.
public void setBottomBorderStyle(int borderStyle)
Borderables's
bottom border.
setBorderStyle(int)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |