| java.lang.Object nextapp.echo2.webcontainer.propertyrender.ColorRender
ColorRender | public class ColorRender (Code) | | Utility class for rendering nextapp.echo2.app.Color
properties to CSS.
|
renderCssAttributeValue | final public static String renderCssAttributeValue(Color color)(Code) | | Renders a Color property value to a CSS color attribute
value.
Parameters: color - the property value the CSS attribute value |
renderToStyle | public static void renderToStyle(CssStyle cssStyle, Color foreground, Color background)(Code) | | Renders foreground and background Color properties
to the given CSS style. Null property values are ignored.
Parameters: cssStyle - the target CssStyle Parameters: foreground - the foreground color Parameters: background - the background color |
renderToStyle | public static void renderToStyle(CssStyle cssStyle, Component component)(Code) | | Renders the foreground and background Color properties
of the provided Component to a CSS style.
Parameters: cssStyle - the target CssStyle Parameters: component - the component |
|
|