RichFaces UI Components UI 4.2.2.Final

org.richfaces.component
Class AbstractTogglePanelItem

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by org.richfaces.component.AbstractTogglePanelItem
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, AbstractDivPanel, AbstractTogglePanelItemInterface
Direct Known Subclasses:
AbstractAccordionItem, UITogglePanelItem

public abstract class AbstractTogglePanelItem
extends javax.faces.component.UIOutput
implements AbstractTogglePanelItemInterface

The <rich:togglePanelItem> component is a switchable panel for use with the <rich:togglePanel> component. Use the <rich:togglePanelItem> component to define the content for a panel using nested components. Switching between <rich:togglePanelItem> components is handled by the <rich:toggleControl> behavior.

Author:
akolonitsky

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
protected static String NAME
           
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
protected AbstractTogglePanelItem()
           
 
Method Summary
 String getFamily()
           
 String getName()
          The name of the panel, used for identifying and manipulating the active panel
 AbstractTogglePanel getParentPanel()
           
 org.richfaces.component.SwitchType getSwitchType()
          The switch type for this toggle panel: client, ajax (default), server
 boolean isActive()
           
 void setName(String name)
           
 void setSwitchType(org.richfaces.component.SwitchType switchType)
           
 boolean shouldProcess()
           
 String toString()
           
 
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.richfaces.component.AbstractTogglePanelItemInterface
getOnenter, getOnleave
 
Methods inherited from interface org.richfaces.component.AbstractDivPanel
getDir, getLang, getOnclick, getOndblclick, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getStyle, getStyleClass, getTitle
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

NAME

protected static final String NAME
See Also:
Constant Field Values
Constructor Detail

AbstractTogglePanelItem

protected AbstractTogglePanelItem()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UIOutput

getParentPanel

public AbstractTogglePanel getParentPanel()
Specified by:
getParentPanel in interface AbstractTogglePanelItemInterface

isActive

public boolean isActive()
Specified by:
isActive in interface AbstractTogglePanelItemInterface

shouldProcess

public boolean shouldProcess()
Specified by:
shouldProcess in interface AbstractTogglePanelItemInterface

getName

public String getName()
The name of the panel, used for identifying and manipulating the active panel

Specified by:
getName in interface AbstractTogglePanelItemInterface

setName

public void setName(String name)

toString

public String toString()
Overrides:
toString in class Object

getSwitchType

public org.richfaces.component.SwitchType getSwitchType()
The switch type for this toggle panel: client, ajax (default), server

Specified by:
getSwitchType in interface AbstractTogglePanelItemInterface

setSwitchType

public void setSwitchType(org.richfaces.component.SwitchType switchType)

RichFaces UI Components UI 4.2.2.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.