|
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.InsetsRender
public class InsetsRender
Utility class for rendering nextapp.echo2.app.Insets
properties to CSS.
Method Summary | |
---|---|
static java.lang.String |
renderCssAttributeValue(nextapp.echo2.app.Insets insets)
Renders a CSS attribute value representation of an Insets . |
static void |
renderToStyle(nextapp.echo2.webrender.output.CssStyle cssStyle,
java.lang.String cssAttribute,
nextapp.echo2.app.Insets insets)
Renders an Insets 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 void renderToStyle(nextapp.echo2.webrender.output.CssStyle cssStyle, java.lang.String cssAttribute, nextapp.echo2.app.Insets insets)
Insets
property to the given CSS style.
Null property values are ignored.
cssStyle
- the target CssStyle
cssAttribute
- the CSS attribute name, e.g., "margin" or "padding".insets
- the property valuepublic static java.lang.String renderCssAttributeValue(nextapp.echo2.app.Insets insets)
Insets
.
insets
- the Insets
to render
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |