|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIPanel javax.faces.component.html.HtmlPanelGroup org.apache.myfaces.custom.toggle.AbstractTogglePanel
public abstract class AbstractTogglePanel
Container class allows user to toggle between view/edit mode. Extends PanelGroup. Allows user to toggle between 'view' mode and 'edit' mode. In the togglePanel, include a toggleLink. When the toggleLink is clicked, the rest of the group is shown, and the link is hidden.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlPanelGroup |
---|
javax.faces.component.html.HtmlPanelGroup.PropertyKeys |
Field Summary | |
---|---|
static String |
COMPONENT_TYPE
|
static boolean |
DEFAULT_DISABLED
|
static String |
DEFAULT_RENDERER_TYPE
|
static boolean |
DEFAULT_TOGGLED
|
Fields inherited from class javax.faces.component.html.HtmlPanelGroup |
---|
COMPONENT_FAMILY |
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 |
Constructor Summary | |
---|---|
AbstractTogglePanel()
|
Method Summary | |
---|---|
abstract boolean |
isDisabled()
|
abstract boolean |
isToggled()
You can set toggled to true to force the toggleGroup to always be in toggle mode. |
void |
processDecodes(javax.faces.context.FacesContext context)
|
void |
processUpdates(javax.faces.context.FacesContext context)
|
abstract void |
setToggled(boolean toggleMode)
|
Methods inherited from class javax.faces.component.html.HtmlPanelGroup |
---|
getFamily, getLayout, getStyle, getStyleClass, setLayout, setStyle, setStyleClass, setValueBinding, setValueExpression |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, 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 |
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 |
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
---|
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
public static final boolean DEFAULT_TOGGLED
public static final boolean DEFAULT_DISABLED
Constructor Detail |
---|
public AbstractTogglePanel()
Method Detail |
---|
public abstract boolean isToggled()
public abstract void setToggled(boolean toggleMode)
public abstract boolean isDisabled()
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class javax.faces.component.UIComponentBase
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class javax.faces.component.UIComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |