|
NextApp Echo2 v2.1.1 |
||||||||
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(nextapp.echo2.app.Border border)
Renders a Border property value to a CSS border attribute
value. |
static void |
renderToStyle(nextapp.echo2.webrender.output.CssStyle cssStyle,
nextapp.echo2.app.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(nextapp.echo2.app.Border border)
Border
property value to a CSS border attribute
value.
border
- the property value
public static void renderToStyle(nextapp.echo2.webrender.output.CssStyle cssStyle, nextapp.echo2.app.Border border)
Border
property to the given CSS style.
Null property values are ignored.
cssStyle
- the target CssStyle
border
- the property value
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |