|
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.ColorRender
public class ColorRender
Utility class for rendering nextapp.echo2.app.Color
properties to CSS.
Method Summary | |
---|---|
static java.lang.String |
renderCssAttributeValue(nextapp.echo2.app.Color color)
Renders a Color property value to a CSS color attribute
value. |
static void |
renderToStyle(nextapp.echo2.webrender.output.CssStyle cssStyle,
nextapp.echo2.app.Color foreground,
nextapp.echo2.app.Color background)
Renders foreground and background Color properties
to the given CSS style. |
static void |
renderToStyle(nextapp.echo2.webrender.output.CssStyle cssStyle,
nextapp.echo2.app.Component component)
Renders the foreground and background Color properties
of the provided Component to a 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, nextapp.echo2.app.Color foreground, nextapp.echo2.app.Color background)
Color
properties
to the given CSS style. Null property values are ignored.
cssStyle
- the target CssStyle
foreground
- the foreground colorbackground
- the background colorpublic static void renderToStyle(nextapp.echo2.webrender.output.CssStyle cssStyle, nextapp.echo2.app.Component component)
Color
properties
of the provided Component
to a CSS style.
cssStyle
- the target CssStyle
component
- the componentpublic static final java.lang.String renderCssAttributeValue(nextapp.echo2.app.Color color)
Color
property value to a CSS color attribute
value.
color
- the property value
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |