| java.lang.Object nextapp.echo2.webcontainer.propertyrender.FillImageRender
FillImageRender | public class FillImageRender (Code) | | Utility class for rendering nextapp.echo2.FillImage
properties to CSS.
|
Field Summary | |
final public static int | FLAG_DISABLE_FIXED_MODE A flag indicating that the 'fixed' property of the FillImage
should be ignored. | final public static int | FLAG_ENABLE_IE_PNG_ALPHA_FILTER A flag indicating that the Internet Explorer 6.0 PNG AlphaImageLoader
filter should be enabled for Internet Explorer clients that might
"benefit" from it. |
FLAG_DISABLE_FIXED_MODE | final public static int FLAG_DISABLE_FIXED_MODE(Code) | | A flag indicating that the 'fixed' property of the FillImage
should be ignored.
|
FLAG_ENABLE_IE_PNG_ALPHA_FILTER | final public static int FLAG_ENABLE_IE_PNG_ALPHA_FILTER(Code) | | A flag indicating that the Internet Explorer 6.0 PNG AlphaImageLoader
filter should be enabled for Internet Explorer clients that might
"benefit" from it. Enabling this flag can however have serious
unacceptable side-effects for Internet Explorer clients:
If the flag is enabled, Images will be SCALED to span
the entire region. IE will ignore any positioning/repeat information
if this flag is enabled. Further, the browser may in fact not allow
the user to click on any content within the region.
Use of this flag is thus strongly discouraged in most all situations.
This flag has no effect for clients other than Internet Explorer 6.0.
|
renderToStyle | public static void renderToStyle(CssStyle cssStyle, RenderContext rc, ImageRenderSupport irs, Component component, String imageId, FillImage fillImage, int flags)(Code) | | Renders a FillImage to a CSS style.
Parameters: cssStyle - the CSS style to be updated Parameters: rc - the relevant RenderContext Parameters: irs - a ComponentSynchronizePeer providing ImageRenderSupport Parameters: component - the relevant Component Parameters: imageId - the image id of the background image Parameters: fillImage - the FillImage property value Parameters: flags - optional image rendering flags (see FLAG_XXX constants) |
|
|