er.extensions.components
Class ERXStyledContainer
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
com.webobjects.appserver._private.WOHTMLDynamicElement
com.webobjects.appserver._private.WOGenericElement
com.webobjects.appserver._private.WOGenericContainer
er.extensions.components.ERXStyledContainer
public class ERXStyledContainer
- extends com.webobjects.appserver._private.WOGenericContainer
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
Fields inherited from class com.webobjects.appserver._private.WOGenericElement |
_elementId |
Fields inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_associations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization |
Fields inherited from class com.webobjects.appserver._private.WODynamicGroup |
_children |
Fields inherited from class com.webobjects.appserver.WODynamicElement |
_ConstructorParameters |
Constructor Summary |
ERXStyledContainer(java.lang.String name,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
|
Method Summary |
void |
appendAttributesToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
|
Methods inherited from class com.webobjects.appserver._private.WOGenericContainer |
appendToResponse, invokeAction, takeValuesFromRequest |
Methods inherited from class com.webobjects.appserver._private.WOGenericElement |
_elementNameInContext, toString |
Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_appendAttributesFromAssociationsToResponse, _appendCloseTagToResponse, _appendOpenTagToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendNonURLAttributesToResponse, appendURLAttributesToResponse, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributesRepresentation, elementName, escapeHTML, nonUrlAttributeAssociations, urlAttributeAssociations |
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERXStyledContainer
public ERXStyledContainer(java.lang.String name,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
appendAttributesToResponse
public void appendAttributesToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
- Overrides:
appendAttributesToResponse
in class com.webobjects.appserver._private.WOGenericElement
Copyright © 2002 – 2007 Project Wonder.