|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WBorder
public class WBorder
A value class that defines the CSS border style of a widget.
| Nested Class Summary | |
|---|---|
static class |
WBorder.Style
Enumeration for border style. |
static class |
WBorder.Width
Enumeration for border width. |
| Constructor Summary | |
|---|---|
WBorder()
Creates a border indicating no border. |
|
WBorder(WBorder.Style style)
Creates a border with given style, thickness and color. |
|
WBorder(WBorder.Style style,
WBorder.Width width)
Creates a border with given style, thickness and color. |
|
WBorder(WBorder.Style style,
WBorder.Width width,
WColor color)
Creates a border with given style, thickness and color. |
|
WBorder(WBorder.Style style,
WLength width)
Creates a border with an absolute width. |
|
WBorder(WBorder.Style style,
WLength width,
WColor color)
Creates a border with an absolute width. |
|
| Method Summary | |
|---|---|
WBorder |
clone()
Clone method. |
boolean |
equals(WBorder other)
Indicates whether some other object is "equal to" this one. |
WColor |
getColor()
Returns the border color. |
java.lang.String |
getCssText()
Returns the CSS text for this border style. |
WLength |
getExplicitWidth()
Returns the border width when set explicitly. |
WBorder.Style |
getStyle()
Returns the border style. |
WBorder.Width |
getWidth()
Returns the border width. |
void |
setColor(WColor color)
Sets the border color. |
void |
setStyle(WBorder.Style style)
Sets the border style. |
void |
setWidth(WBorder.Width width)
Sets the border width. |
void |
setWidth(WBorder.Width width,
WLength explicitWidth)
Sets the border width. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WBorder()
public WBorder(WBorder.Style style,
WBorder.Width width,
WColor color)
public WBorder(WBorder.Style style)
Calls
this(style, WBorder.Width.Medium, new WColor())
public WBorder(WBorder.Style style,
WBorder.Width width)
Calls
this(style, width, new WColor())
public WBorder(WBorder.Style style,
WLength width,
WColor color)
public WBorder(WBorder.Style style,
WLength width)
Calls this(style, width, new WColor())
| Method Detail |
|---|
public boolean equals(WBorder other)
public void setWidth(WBorder.Width width,
WLength explicitWidth)
If width == Explicit, then the width specified in
explicitWidth is used.
public final void setWidth(WBorder.Width width)
Calls setWidth(width, WLength.Auto)
public void setColor(WColor color)
public void setStyle(WBorder.Style style)
public WBorder.Width getWidth()
setWidth(WBorder.Width width, WLength explicitWidth)public WLength getExplicitWidth()
setWidth(WBorder.Width width, WLength explicitWidth)public WColor getColor()
setColor(WColor color)public WBorder.Style getStyle()
setStyle(WBorder.Style style)public java.lang.String getCssText()
public WBorder clone()
Clones this border.
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||