Class Switch
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- org.primefaces.extensions.component.switchcase.Switch
-
- All Implemented Interfaces:
java.util.EventListener,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder
public class Switch extends javax.faces.component.UIComponentBaseComponent class for theSwitchcomponent.- Since:
- 0.6
- Author:
- Michael Gmeiner / last modified by Melloware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classSwitch.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_FAMILYstatic java.lang.StringCOMPONENT_TYPE
-
Constructor Summary
Constructors Constructor Description Switch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbroadcast(javax.faces.event.FacesEvent event)voidencodeBegin(javax.faces.context.FacesContext context)java.lang.StringgetFamily()java.lang.ObjectgetValue()voidprocessDecodes(javax.faces.context.FacesContext context)voidprocessUpdates(javax.faces.context.FacesContext context)voidprocessValidators(javax.faces.context.FacesContext context)voidsetValue(java.lang.Object value)booleanvisitTree(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public java.lang.String getFamily()
- Specified by:
getFamilyin classjavax.faces.component.UIComponent
-
getValue
public java.lang.Object getValue()
-
setValue
public void setValue(java.lang.Object value)
-
processDecodes
public void processDecodes(javax.faces.context.FacesContext context)
- Overrides:
processDecodesin classjavax.faces.component.UIComponentBase
-
processValidators
public void processValidators(javax.faces.context.FacesContext context)
- Overrides:
processValidatorsin classjavax.faces.component.UIComponentBase
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdatesin classjavax.faces.component.UIComponentBase
-
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
- Overrides:
broadcastin classjavax.faces.component.UIComponentBase
-
visitTree
public boolean visitTree(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)- Overrides:
visitTreein classjavax.faces.component.UIComponent
-
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException- Overrides:
encodeBeginin classjavax.faces.component.UIComponentBase- Throws:
java.io.IOException
-
-