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.framework.ajax.AjaxActionComponent
                  extended by org.richfaces.component.UISimpleTogglePanel
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.StateHolder, org.ajax4jsf.framework.ajax.AjaxComponent, org.ajax4jsf.framework.ajax.AjaxSource
Direct Known Subclasses:
HtmlSimpleTogglePanel

public abstract class UISimpleTogglePanel
extends org.ajax4jsf.framework.ajax.AjaxActionComponent
implements org.ajax4jsf.framework.ajax.AjaxComponent, org.ajax4jsf.framework.ajax.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 javax.faces.component.UICommand
COMPONENT_TYPE
 
Fields inherited from interface org.ajax4jsf.framework.ajax.AjaxComponent
AJAX_COMPONETT_PARAMETER
 
Constructor Summary
UISimpleTogglePanel()
           
 
Method Summary
 void broadcast(javax.faces.event.FacesEvent facesEvent)
           
abstract  java.lang.String getSwitchType()
           
abstract  boolean isOpened()
           
abstract  void setOpened(boolean opened)
           
abstract  void setSwitchType(java.lang.String switchType)
           
 
Methods inherited from class org.ajax4jsf.framework.ajax.AjaxActionComponent
addAjaxListener, getAjaxListeners, queueEvent, removeAjaxListener, setupReRender, setupReRender
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, getAction, getActionListener, getActionListeners, getFamily, getValue, isImmediate, removeActionListener, restoreState, saveState, setAction, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ajax4jsf.framework.ajax.AjaxComponent
getData, getEventsQueue, getOncomplete, getRequestDelay, getReRender, getStatus, getTimeout, isAjaxSingle, isBypassUpdates, isIgnoreDupResponses, isLimitToList, setAjaxSingle, setBypassUpdates, setData, setEventsQueue, setIgnoreDupResponses, setLimitToList, setOncomplete, setRequestDelay, setReRender, setStatus, setTimeout
 
Methods inherited from interface org.ajax4jsf.framework.ajax.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

setSwitchType

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

getSwitchType

public abstract java.lang.String getSwitchType()

setOpened

public abstract void setOpened(boolean opened)

isOpened

public abstract boolean isOpened()

broadcast

public void broadcast(javax.faces.event.FacesEvent facesEvent)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class org.ajax4jsf.framework.ajax.AjaxActionComponent
Throws:
javax.faces.event.AbortProcessingException


Copyright © 2007. All Rights Reserved.