org.richfaces.component
Class AbstractCollapsiblePanel

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.AbstractTogglePanel
                  extended by org.richfaces.component.AbstractCollapsiblePanel
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, AbstractDivPanel, org.richfaces.component.MetaComponentEncoder, org.richfaces.component.MetaComponentResolver, org.richfaces.event.ItemChangeSource, org.richfaces.event.PanelToggleSource
Direct Known Subclasses:
UICollapsiblePanel

public abstract class AbstractCollapsiblePanel
extends AbstractTogglePanel
implements org.richfaces.event.PanelToggleSource

Since:
2010-08-27
Author:
akolonitsky

Nested Class Summary
static class AbstractCollapsiblePanel.States
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.richfaces.component.AbstractTogglePanel
ACTIVE_ITEM_META_COMPONENT, META_NAME_FIRST, META_NAME_LAST, META_NAME_NEXT, META_NAME_PREV, UPDATE_MESSAGE_ID
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Fields inherited from interface org.richfaces.component.MetaComponentResolver
META_COMPONENT_SEPARATOR_CHAR
 
Constructor Summary
protected AbstractCollapsiblePanel()
           
 
Method Summary
 void addPanelToggleListener(org.richfaces.event.PanelToggleListener listener)
           
 void broadcast(javax.faces.event.FacesEvent event)
           
 String getActiveItem()
           
abstract  String getBodyClass()
           
abstract  String getDir()
           
 String getFamily()
           
abstract  String getHeader()
           
abstract  String getHeaderClass()
           
abstract  javax.el.MethodExpression getItemChangeListener()
           
abstract  String getLang()
           
abstract  String getLeftCollapsedIcon()
           
abstract  String getLeftExpandedIcon()
           
abstract  String getOnbeforeitemchange()
           
abstract  String getOnbeforeswitch()
           
abstract  String getOnclick()
           
abstract  String getOndblclick()
           
abstract  String getOnitemchange()
           
abstract  String getOnmousedown()
           
abstract  String getOnmousemove()
           
abstract  String getOnmouseout()
           
abstract  String getOnmouseover()
           
abstract  String getOnmouseup()
           
abstract  String getOnswitch()
           
 org.richfaces.event.PanelToggleListener[] getPanelToggleListeners()
           
abstract  String getRightCollapsedIcon()
           
abstract  String getRightExpandedIcon()
           
abstract  String getStyle()
           
abstract  String getStyleClass()
           
abstract  String getTitle()
           
abstract  javax.el.MethodExpression getToggleListener()
           
 Object getValue()
           
protected  boolean isActiveItem(javax.faces.component.UIComponent kid)
           
protected  boolean isActiveItem(javax.faces.component.UIComponent kid, String value)
           
abstract  boolean isCycledSwitching()
           
abstract  boolean isExpanded()
           
 void queueEvent(javax.faces.event.FacesEvent facesEvent)
           
 void removePanelToggleListener(org.richfaces.event.PanelToggleListener listener)
           
abstract  void setExpanded(boolean expanded)
           
 void setValue(Object value)
           
 
Methods inherited from class org.richfaces.component.AbstractTogglePanel
addItemChangeListener, decode, encodeBegin, encodeMetaComponent, getChildIndex, getData, getExecute, getFirstItem, getItem, getItemByIndex, getItemChangeListeners, getItems, getLastItem, getNextItem, getNextItem, getPrevItem, getPrevItem, getRender, getRenderedItems, getRendersChildren, getStatus, getSubmittedActiveItem, getSubmittedValue, getSwitchType, isImmediate, isLimitRender, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeItemChangeListener, resetValue, resolveClientId, setActiveItem, setEventPhase, setEventPhase, setImmediate, setLocalValueSet, setRequired, setSubmittedActiveItem, setSubmittedValue, setSwitchType, setValid, setValueExpression, substituteUnresolvedClientId, updateModel, visitTree
 
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, markInitialState, restoreState, saveState, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
 
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 String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

AbstractCollapsiblePanel

protected AbstractCollapsiblePanel()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class AbstractTogglePanel

getActiveItem

public String getActiveItem()
Overrides:
getActiveItem in class AbstractTogglePanel

isActiveItem

protected boolean isActiveItem(javax.faces.component.UIComponent kid)
Overrides:
isActiveItem in class AbstractTogglePanel

isActiveItem

protected boolean isActiveItem(javax.faces.component.UIComponent kid,
                               String value)
Overrides:
isActiveItem in class AbstractTogglePanel

isExpanded

public abstract boolean isExpanded()

setExpanded

public abstract void setExpanded(boolean expanded)

isCycledSwitching

public abstract boolean isCycledSwitching()
Specified by:
isCycledSwitching in class AbstractTogglePanel

queueEvent

public void queueEvent(javax.faces.event.FacesEvent facesEvent)
Overrides:
queueEvent in class AbstractTogglePanel

getHeader

public abstract String getHeader()

getToggleListener

public abstract javax.el.MethodExpression getToggleListener()

getItemChangeListener

public abstract javax.el.MethodExpression getItemChangeListener()
Specified by:
getItemChangeListener in class AbstractTogglePanel

getLeftCollapsedIcon

public abstract String getLeftCollapsedIcon()

getLeftExpandedIcon

public abstract String getLeftExpandedIcon()

getRightCollapsedIcon

public abstract String getRightCollapsedIcon()

getRightExpandedIcon

public abstract String getRightExpandedIcon()

getBodyClass

public abstract String getBodyClass()

getHeaderClass

public abstract String getHeaderClass()

getOnswitch

public abstract String getOnswitch()

getOnbeforeswitch

public abstract String getOnbeforeswitch()

getOnbeforeitemchange

public abstract String getOnbeforeitemchange()
Specified by:
getOnbeforeitemchange in class AbstractTogglePanel

getOnitemchange

public abstract String getOnitemchange()
Specified by:
getOnitemchange in class AbstractTogglePanel

getLang

public abstract String getLang()
Specified by:
getLang in interface AbstractDivPanel

getTitle

public abstract String getTitle()
Specified by:
getTitle in interface AbstractDivPanel

getStyle

public abstract String getStyle()
Specified by:
getStyle in interface AbstractDivPanel

getStyleClass

public abstract String getStyleClass()
Specified by:
getStyleClass in interface AbstractDivPanel

getDir

public abstract String getDir()
Specified by:
getDir in interface AbstractDivPanel

getOnclick

public abstract String getOnclick()
Specified by:
getOnclick in interface AbstractDivPanel

getOndblclick

public abstract String getOndblclick()
Specified by:
getOndblclick in interface AbstractDivPanel

getOnmousedown

public abstract String getOnmousedown()
Specified by:
getOnmousedown in interface AbstractDivPanel

getOnmousemove

public abstract String getOnmousemove()
Specified by:
getOnmousemove in interface AbstractDivPanel

getOnmouseout

public abstract String getOnmouseout()
Specified by:
getOnmouseout in interface AbstractDivPanel

getOnmouseover

public abstract String getOnmouseover()
Specified by:
getOnmouseover in interface AbstractDivPanel

getOnmouseup

public abstract String getOnmouseup()
Specified by:
getOnmouseup in interface AbstractDivPanel

addPanelToggleListener

public void addPanelToggleListener(org.richfaces.event.PanelToggleListener listener)
Specified by:
addPanelToggleListener in interface org.richfaces.event.PanelToggleSource

getPanelToggleListeners

public org.richfaces.event.PanelToggleListener[] getPanelToggleListeners()
Specified by:
getPanelToggleListeners in interface org.richfaces.event.PanelToggleSource

removePanelToggleListener

public void removePanelToggleListener(org.richfaces.event.PanelToggleListener listener)
Specified by:
removePanelToggleListener in interface org.richfaces.event.PanelToggleSource

getValue

public Object getValue()
Specified by:
getValue in interface javax.faces.component.ValueHolder
Overrides:
getValue in class javax.faces.component.UIOutput

setValue

public void setValue(Object value)
Specified by:
setValue in interface javax.faces.component.ValueHolder
Overrides:
setValue in class AbstractTogglePanel

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class AbstractTogglePanel
Throws:
javax.faces.event.AbortProcessingException


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.