| java.lang.Object com.sun.jbi.jsf.factory.PropertySheetAdaptorBase com.sun.jbi.jsf.util.JBILogLevelsPropertySheetAdaptor
JBILogLevelsPropertySheetAdaptor | public class JBILogLevelsPropertySheetAdaptor extends PropertySheetAdaptorBase (Code) | | The JBILogLevelsPropertySheetAdaptor implementation must have a
public static JBILogLevelsPropertySheetAdaptor getInstance(FacesContext,
LayoutComponent, UIComponent) method in order to get access to
an instance of the JBILogLevelsPropertySheetAdaptor instance.
This class is used by DynamicPropertySheetNodeFactory .
|
Constructor Summary | |
protected | JBILogLevelsPropertySheetAdaptor(LayoutComponent desc, UIComponent parent) This constructor saves the LayoutComponent descriptor
and the UIComponent associated with this
PropertySheetAdaptor . |
Method Summary | |
public Map<String, UIComponent> | getFacets(UIComponent comp, Object nodeObject) This method returns any facets that should be applied to the
PropertySheetNode (comp) . | public Map<String, Object> | getFactoryOptions() | public Map | getHandlersByType(UIComponent comp, Object nodeObject) Advanced framework feature which provides better handling for
things such as expanding PropertySheetNodes, beforeEncode, and other
events.
This method should return a Map of List
of Handler objects. | public static JBILogLevelsPropertySheetAdaptor | getInstance(FacesContext ctx, LayoutComponent desc, UIComponent parent) This method provides access to an JBILogLevelsPropertySheetAdaptor
instance. | public UIComponent | getPropertySheet(UIComponent parent) Method that is called to retrieve the property sheet object. | public void | init() |
JBILogLevelsPropertySheetAdaptor | protected JBILogLevelsPropertySheetAdaptor(LayoutComponent desc, UIComponent parent)(Code) | | This constructor saves the LayoutComponent descriptor
and the UIComponent associated with this
PropertySheetAdaptor . This constructor is used by the
getInstance() method.
|
getFacets | public Map<String, UIComponent> getFacets(UIComponent comp, Object nodeObject)(Code) | | This method returns any facets that should be applied to the
PropertySheetNode (comp) . Useful facets for the sun
PropertySheetNode component are: "content" and "image".
Facets that already exist on comp , or facets that
are directly added to comp do not need to be returned
from this method.
This implementation directly adds a "content" facet and returns
null from this method.
Parameters: comp - The PropertySheet node UIComponent . Parameters: nodeObject - The (model) object representing the PropertySheet node. |
getFactoryOptions | public Map<String, Object> getFactoryOptions()(Code) | | This method returns the "options" that should be supplied to the
factory that creates the PropertySheet .
Some useful options for the standard PropertySheet
component include:
- propertySheetId
- propertySheetSectionIdTag
- propertyIdTag
- staticTextIdTag
- dropDownIdTag
- dropDownDefaultLevel
- hiddenFieldIdTag
- componentName
- targetName
- instanceName
- propertySheetAdaptorClass
See PropertySheet component documentation for more details.
|
getHandlersByType | public Map getHandlersByType(UIComponent comp, Object nodeObject)(Code) | | Advanced framework feature which provides better handling for
things such as expanding PropertySheetNodes, beforeEncode, and other
events.
This method should return a Map of List
of Handler objects. Each List in the
Map should be registered under a key that cooresponds
to to the "event" in which the Handler s should be
invoked.
|
getInstance | public static JBILogLevelsPropertySheetAdaptor getInstance(FacesContext ctx, LayoutComponent desc, UIComponent parent)(Code) | | This method provides access to an JBILogLevelsPropertySheetAdaptor
instance. Each time it is invoked, it returns a new instance.
|
getPropertySheet | public UIComponent getPropertySheet(UIComponent parent)(Code) | | Method that is called to retrieve the property sheet object.
Parameters: parent - - The parent component PropertySheet component |
init | public void init()(Code) | | Method that is called to initialize the PropertySheet component.
|
|
|