org.richfaces.component
Class UISimpleTogglePanel

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by org.ajax4jsf.component.AjaxActionComponent
                  extended by org.richfaces.component.UISimpleTogglePanel
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.StateHolder, org.ajax4jsf.component.AjaxComponent, org.ajax4jsf.event.AjaxSource
Direct Known Subclasses:
HtmlSimpleTogglePanel

public abstract class UISimpleTogglePanel
extends org.ajax4jsf.component.AjaxActionComponent
implements org.ajax4jsf.component.AjaxComponent, org.ajax4jsf.event.AjaxSource, javax.faces.component.ActionSource

JSF component class


Field Summary
static java.lang.String AJAX_SWITCH_TYPE
           
static java.lang.String CLIENT_SWITCH_TYPE
           
static boolean COLLAPSED
           
static java.lang.String COMPONENT_FAMILY
           
static boolean EXPANDED
           
static java.lang.String SERVER_SWITCH_TYPE
           
 
Fields inherited from class org.ajax4jsf.component.AjaxActionComponent
FOCUS_DATA_ID
 
Fields inherited from class javax.faces.component.UICommand
COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.ajax4jsf.component.AjaxComponent
AJAX_COMPONETT_PARAMETER
 
Constructor Summary
UISimpleTogglePanel()
           
 
Method Summary
 boolean getRendersChildren()
           
abstract  java.lang.String getSwitchType()
           
 boolean isOpened()
           
 boolean isOpenedSet()
           
protected  boolean isWasOpened()
           
 void processDecodes(javax.faces.context.FacesContext context)
           
 void processUpdates(javax.faces.context.FacesContext context)
           
 void processValidators(javax.faces.context.FacesContext context)
           
 void setOpened(boolean opened)
           
 void setOpenedSet(boolean openedSet)
           
abstract  void setSwitchType(java.lang.String switchType)
           
 
Methods inherited from class org.ajax4jsf.component.AjaxActionComponent
addAjaxListener, broadcast, getAjaxListeners, getSingleComponent, queueEvent, removeAjaxListener, setupReRender, setupReRender
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, removeActionListener, restoreState, saveState, setAction, setActionExpression, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, 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, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ajax4jsf.component.AjaxComponent
getData, getEventsQueue, getFocus, getOnbeforedomupdate, getOncomplete, getProcess, getRequestDelay, getReRender, getStatus, getTimeout, isAjaxSingle, isBypassUpdates, isIgnoreDupResponses, isLimitToList, setAjaxSingle, setBypassUpdates, setData, setEventsQueue, setFocus, setIgnoreDupResponses, setLimitToList, setOnbeforedomupdate, setOncomplete, setProcess, setRequestDelay, setReRender, setStatus, setTimeout
 
Methods inherited from interface org.ajax4jsf.event.AjaxSource
addAjaxListener, getAjaxListeners, removeAjaxListener
 
Methods inherited from interface javax.faces.component.ActionSource
addActionListener, getAction, getActionListener, getActionListeners, isImmediate, removeActionListener, setAction, setActionListener, setImmediate
 

Field Detail

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

SERVER_SWITCH_TYPE

public static final java.lang.String SERVER_SWITCH_TYPE
See Also:
Constant Field Values

CLIENT_SWITCH_TYPE

public static final java.lang.String CLIENT_SWITCH_TYPE
See Also:
Constant Field Values

AJAX_SWITCH_TYPE

public static final java.lang.String AJAX_SWITCH_TYPE
See Also:
Constant Field Values

COLLAPSED

public static final boolean COLLAPSED
See Also:
Constant Field Values

EXPANDED

public static final boolean EXPANDED
See Also:
Constant Field Values
Constructor Detail

UISimpleTogglePanel

public UISimpleTogglePanel()
Method Detail

isWasOpened

protected boolean isWasOpened()

setSwitchType

public abstract void setSwitchType(java.lang.String switchType)

getSwitchType

public abstract java.lang.String getSwitchType()

setOpened

public void setOpened(boolean opened)

isOpened

public boolean isOpened()

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase

processDecodes

public void processDecodes(javax.faces.context.FacesContext context)
Overrides:
processDecodes in class javax.faces.component.UIComponentBase
Throws:
java.lang.NullPointerException

processValidators

public void processValidators(javax.faces.context.FacesContext context)
Overrides:
processValidators in class javax.faces.component.UIComponentBase
Throws:
java.lang.NullPointerException

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)
Overrides:
processUpdates in class javax.faces.component.UIComponentBase
Throws:
java.lang.NullPointerException

isOpenedSet

public boolean isOpenedSet()
Returns:
the openedSet

setOpenedSet

public void setOpenedSet(boolean openedSet)
Parameters:
openedSet - the openedSet to set


Copyright © 2009. All Rights Reserved.