| java.lang.Object com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase com.sun.rave.web.ui.component.util.descriptors.LayoutDefinition
DECODE | final public static String DECODE(Code) | | This is the "type" for handlers to be invoked to handle "decode"
functionality for this element.
|
STATIC_TEXT_FACTORY_CLASS_NAME | final public static String STATIC_TEXT_FACTORY_CLASS_NAME(Code) | | This is the full class name of the default StaticTextFactory
|
STATIC_TEXT_TYPE | final public static String STATIC_TEXT_TYPE(Code) | | This is a hard-coded LayoutComponent type. By default it corresponds
to com.sun.rave.web.ui.component.util.factories.StaticTextFactory.
|
LayoutDefinition | public LayoutDefinition(String id)(Code) | | Constructor
|
addComponentType | public void addComponentType(ComponentType type)(Code) | | This will add the given ComponentType to the map of registered
ComponentTypes. It will use the ComponentType ID as the key to the
Map. This means that if a ComponentType with the same ID had
previously been registered, it will be replaced with the ComponentType
passed in.
Parameters: type - The ComponentType. |
addResource | public void addResource(Resource res)(Code) | | This method adds a Resource. These resources should be added to the
request scope when this component is used. This is mainly used for
ResourceBundles (at this time).
Parameters: res - The Resource to associate with the LayoutDefinition |
decode | public void decode(FacesContext context, UIComponent component)(Code) | | This decode method invokes any registered DECODE handlers.
Parameters: context - The FacesContext Parameters: component - The Template |
encodeThis | protected boolean encodeThis(FacesContext context, UIComponent component)(Code) | | The LayoutDefinition does not encode anything for itself, this
method simply returns true.
Parameters: context - The FacesContext Parameters: component - The UIComponent true |
getAttribute | public Object getAttribute(String key)(Code) | | Retrieve an attribute by key
Parameters: key - The key used to retrieve the attribute The requested attribute or null |
getChildLayoutElementById | public static LayoutElement getChildLayoutElementById(FacesContext context, String id, LayoutElement parent, UIComponent parentComponent)(Code) | | This method searches for the requested LayoutComponent by id.
Parameters: context - FacesContext Parameters: id - id to look for Parameters: parent - Search starts from thisLayoutElement Parameters: parentComponent - Parent UIComponent The matching LayoutElement if found, null otherwise. |
getComponentType | public ComponentType getComponentType(String typeID)(Code) | | Retrieve a ComponentType by typeID
Parameters: typeID - The key used to retrieve the ComponentType The requested ComponentType or null |
getResources | public List getResources()(Code) | | This method returns a List of Resource objects.
This method returns a List of Resource objects. |
setAttribute | public void setAttribute(String key, Object value)(Code) | | Associate the given key with the given Object as an attribute.
Parameters: key - The key associated with the given object (if this keyis already in use, it will replace the previously set attributeobject). Parameters: value - The Object to store. |
Methods inherited from com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase | public void addChildLayoutElement(LayoutElement element)(Code)(Java Doc) protected HandlerContext createHandlerContext(FacesContext context, EventObject event, String eventType)(Code)(Java Doc) public Object dispatchHandlers(FacesContext context, String eventType, EventObject event)(Code)(Java Doc) public Object dispatchHandlers(HandlerContext handlerCtx, List handlers)(Code)(Java Doc) public void encode(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public static void encodeChild(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) abstract protected boolean encodeThis(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public List getChildLayoutElements()(Code)(Java Doc) public List getHandlers(String type)(Code)(Java Doc) public List getHandlers(String type, UIComponent comp)(Code)(Java Doc) public Map getHandlersByTypeMap()(Code)(Java Doc) public String getId(FacesContext context, UIComponent parent)(Code)(Java Doc) public LayoutDefinition getLayoutDefinition()(Code)(Java Doc) public LayoutElement getParent()(Code)(Java Doc) public String getUnevaluatedId()(Code)(Java Doc) public Object resolveValue(FacesContext context, UIComponent parent, String value)(Code)(Java Doc) public void setHandlers(String type, List handlers)(Code)(Java Doc) public void setHandlersByTypeMap(Map map)(Code)(Java Doc) protected void setParent(LayoutElement parent)(Code)(Java Doc)
|
|
|