|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.webcontainer.propertyrender.BorderRender
public class BorderRender
Utility class for rendering nextapp.echo2.app.Border
properties to CSS.
| Method Summary | |
|---|---|
static java.lang.String |
getStyleValue(int style)
Returns the CSS border style value for a given Border.STYLE_XXX constant. |
static java.lang.String |
renderCssAttributeValue(Border border)
Renders a Border property value to a CSS border attribute
value. |
static void |
renderToStyle(CssStyle cssStyle,
Border border)
Renders a Border property to the given CSS style. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final java.lang.String getStyleValue(int style)
style - the style constant
public static java.lang.String renderCssAttributeValue(Border border)
Border property value to a CSS border attribute
value.
border - the property value
public static void renderToStyle(CssStyle cssStyle,
Border border)
Border property to the given CSS style.
Null property values are ignored.
cssStyle - the target CssStyleborder - the property value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||