org.glassfish.admingui.common.factories
Class NavNodeContainerFactory

java.lang.Object
  extended by com.sun.jsftemplating.component.factory.ComponentFactoryBase
      extended by org.glassfish.admingui.common.factories.NavNodeContainerFactory
All Implemented Interfaces:
com.sun.jsftemplating.component.factory.ComponentFactory

public class NavNodeContainerFactory
extends com.sun.jsftemplating.component.factory.ComponentFactoryBase

The NavigationFactory provides an abstraction layer for the Woodstock tree component (currently), giving us the ability to change the tree implementation to another component or set, or a different component type altogether. The supported attributes are:


Field Summary
static java.lang.String COMPONENT_TYPE
           The UIComponent type that must be registered in the faces-config.xml file mapping to the UIComponent class to use for this UIComponent.
 
Constructor Summary
NavNodeContainerFactory()
           
 
Method Summary
 javax.faces.component.UIComponent create(javax.faces.context.FacesContext context, com.sun.jsftemplating.layout.descriptors.LayoutComponent descriptor, javax.faces.component.UIComponent parent)
           This is the factory method responsible for creating the UIComponent.
 
Methods inherited from class com.sun.jsftemplating.component.factory.ComponentFactoryBase
addChild, createComponent, getExtraInfo, setExtraInfo, setOption, setOptions, storeInstanceHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE

The UIComponent type that must be registered in the faces-config.xml file mapping to the UIComponent class to use for this UIComponent.

See Also:
Constant Field Values
Constructor Detail

NavNodeContainerFactory

public NavNodeContainerFactory()
Method Detail

create

public javax.faces.component.UIComponent create(javax.faces.context.FacesContext context,
                                                com.sun.jsftemplating.layout.descriptors.LayoutComponent descriptor,
                                                javax.faces.component.UIComponent parent)

This is the factory method responsible for creating the UIComponent.

Specified by:
create in interface com.sun.jsftemplating.component.factory.ComponentFactory
Specified by:
create in class com.sun.jsftemplating.component.factory.ComponentFactoryBase
Parameters:
context - The FacesContext
descriptor - The LayoutComponent descriptor associated with the requested UIComponent.
parent - The parent UIComponent
Returns:
The newly created Tree.


Copyright © 2012 GlassFish Community. All Rights Reserved.