ERXStyledContainer Class Reference

Inherits com::webobjects::appserver::_private::WOGenericContainer.

Collaboration diagram for ERXStyledContainer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void appendAttributesToResponse (WOResponse woresponse, WOContext wocontext)
 ERXStyledContainer (String name, NSDictionary associations, WOElement template)

Package Attributes

WOAssociation _mimeType
WOAssociation _style
NSMutableDictionary _styles
WOAssociation _unit


Detailed Description

Same as a WOGenericContainer, except that you can add individual style attributes by supplying style.background-color="red" bindings. This is sometimes preferable to putting all the styles in code.
If a normal style attribute is present, its value will be prepended. You can also define a background-image and a style.background-image.type (mime type of the image in case it is an NSData). Some fixing will be done for you, like you can give a style.unit which will be applied to all bindings that evalutate to a number. If none is supplied, "px" is appended to make size definitions settable via plain numerical bindings.

Author:
ak

Constructor & Destructor Documentation

ERXStyledContainer ( String  name,
NSDictionary  associations,
WOElement  template 
)


Member Function Documentation

void appendAttributesToResponse ( WOResponse  woresponse,
WOContext  wocontext 
)


Member Data Documentation

WOAssociation _mimeType [package]

WOAssociation _style [package]

WOAssociation _unit [package]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:06 2012 for Project Wonder by  doxygen 1.5.8