| |
|
| java.lang.Object nextapp.echo2.webcontainer.propertyrender.FontRender
FontRender | public class FontRender (Code) | | Utility class for rendering nextapp.echo2.app.Font
properties to CSS.
|
renderFontFamilyCssAttributeValue | public static String renderFontFamilyCssAttributeValue(Font.Typeface typeface)(Code) | | Renders a 'font-family' CSS attribute value based on the specified
Font.Typeface .
Parameters: typeface - the typeface the CSS attribute value |
renderFontStyleCssAttributeValue | public static String renderFontStyleCssAttributeValue(Font font)(Code) | | Renders a 'font-style' CSS attribute value for the specified
Font .
Parameters: font - the font the CSS attribute value |
renderFontWeightCssAttributeValue | public static String renderFontWeightCssAttributeValue(Font font)(Code) | | Renders a 'font-weight' CSS attribute value for the specified
Font .
Parameters: font - the font the CSS attribute value |
renderTextDecorationCssAttributeValue | public static String renderTextDecorationCssAttributeValue(Font font)(Code) | | Renders a 'text-decoration' CSS attribute value based on the specified
Font
Parameters: font - the font the CSS attribute value |
renderToStyle | public static void renderToStyle(CssStyle cssStyle, Component component)(Code) | | Renders the Font properties of the provided
Component to a CSS style.
Parameters: cssStyle - the target CssStyle Parameters: component - the component |
renderToStyle | public static void renderToStyle(CssStyle cssStyle, Font font)(Code) | | Renders a Font property to the given CSS style.
Null property values are ignored.
Parameters: cssStyle - the target CssStyle Parameters: font - the property value |
|
|
|