org.apache.myfaces.custom.toggle
Class AbstractToggleGroup

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by javax.faces.component.html.HtmlPanelGroup
                  extended by org.apache.myfaces.custom.toggle.AbstractToggleGroup
All Implemented Interfaces:
javax.faces.component.StateHolder, EventAware, UniversalProperties

public abstract class AbstractToggleGroup
extends javax.faces.component.html.HtmlPanelGroup
implements EventAware, UniversalProperties

Container class allows user to toggle between view/edit mode. Extends PanelGroup. Allows user to have several toggleLink in a group. When the togglePanel is toggled, the toggleGroup will be hidden.

Author:
Sharath

Field Summary
static String COMPONENT_TYPE
           
static String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY
 
Constructor Summary
AbstractToggleGroup()
           
 
Method Summary
abstract  boolean isToggled()
          HTML: Flag to define the toggle status.
abstract  void setToggled(boolean toggleMode)
           
 
Methods inherited from class javax.faces.component.html.HtmlPanelGroup
getStyle, getStyleClass, restoreState, saveState, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIPanel
getFamily
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, 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, queueEvent, 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.apache.myfaces.component.EventAware
getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
 
Methods inherited from interface org.apache.myfaces.component.UniversalProperties
getDir, getLang, getTitle
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

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

AbstractToggleGroup

public AbstractToggleGroup()
Method Detail

isToggled

public abstract boolean isToggled()
HTML: Flag to define the toggle status.


setToggled

public abstract void setToggled(boolean toggleMode)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.