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
Direct Known Subclasses:
ToggleGroup

public abstract class AbstractToggleGroup
extends javax.faces.component.html.HtmlPanelGroup

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 java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.html.HtmlPanelGroup
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
AbstractToggleGroup()
           
 
Method Summary
abstract  java.lang.String getDir()
          HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
abstract  java.lang.String getLang()
          HTML: The base language of this document.
abstract  java.lang.String getOnclick()
          HTML: Script to be invoked when the element is clicked.
abstract  java.lang.String getOndblclick()
          HTML: Script to be invoked when the element is double-clicked.
abstract  java.lang.String getOnkeydown()
          HTML: Script to be invoked when a key is pressed down over this element.
abstract  java.lang.String getOnkeypress()
          HTML: Script to be invoked when a key is pressed over this element.
abstract  java.lang.String getOnkeyup()
          HTML: Script to be invoked when a key is released over this element.
abstract  java.lang.String getOnmousedown()
          HTML: Script to be invoked when the pointing device is pressed over this element.
abstract  java.lang.String getOnmousemove()
          HTML: Script to be invoked when the pointing device is moved while it is in this element.
abstract  java.lang.String getOnmouseout()
          HTML: Script to be invoked when the pointing device is moves out of this element.
abstract  java.lang.String getOnmouseover()
          HTML: Script to be invoked when the pointing device is moved into this element.
abstract  java.lang.String getOnmouseup()
          HTML: Script to be invoked when the pointing device is released over this element.
abstract  java.lang.String getTitle()
          HTML: An advisory title for this element.
abstract  boolean isToggled()
          HTML: Flag to define the toggle status.
abstract  void setToggled(boolean toggleMode)
           
 
Methods inherited from class javax.faces.component.html.HtmlPanelGroup
getFamily, getLayout, getStyle, getStyleClass, restoreState, saveState, setLayout, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, 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
 

Field Detail

COMPONENT_TYPE

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

DEFAULT_RENDERER_TYPE

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

AbstractToggleGroup

public AbstractToggleGroup()
Method Detail

getDir

public abstract java.lang.String getDir()
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).


getLang

public abstract java.lang.String getLang()
HTML: The base language of this document.


getTitle

public abstract java.lang.String getTitle()
HTML: An advisory title for this element. Often used by the user agent as a tooltip.


getOnclick

public abstract java.lang.String getOnclick()
HTML: Script to be invoked when the element is clicked.


getOndblclick

public abstract java.lang.String getOndblclick()
HTML: Script to be invoked when the element is double-clicked.


getOnkeydown

public abstract java.lang.String getOnkeydown()
HTML: Script to be invoked when a key is pressed down over this element.


getOnkeypress

public abstract java.lang.String getOnkeypress()
HTML: Script to be invoked when a key is pressed over this element.


getOnkeyup

public abstract java.lang.String getOnkeyup()
HTML: Script to be invoked when a key is released over this element.


getOnmousedown

public abstract java.lang.String getOnmousedown()
HTML: Script to be invoked when the pointing device is pressed over this element.


getOnmousemove

public abstract java.lang.String getOnmousemove()
HTML: Script to be invoked when the pointing device is moved while it is in this element.


getOnmouseout

public abstract java.lang.String getOnmouseout()
HTML: Script to be invoked when the pointing device is moves out of this element.


getOnmouseover

public abstract java.lang.String getOnmouseover()
HTML: Script to be invoked when the pointing device is moved into this element.


getOnmouseup

public abstract java.lang.String getOnmouseup()
HTML: Script to be invoked when the pointing device is released over this element.


isToggled

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


setToggled

public abstract void setToggled(boolean toggleMode)


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