Package org.primefaces.behavior.base
Class AbstractBehavior
java.lang.Object
javax.faces.component.behavior.BehaviorBase
javax.faces.component.behavior.ClientBehaviorBase
org.primefaces.behavior.base.AbstractBehavior
- All Implemented Interfaces:
javax.faces.component.behavior.Behavior,javax.faces.component.behavior.ClientBehavior,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder
- Direct Known Subclasses:
AjaxBehavior,ClientValidator,ConfirmBehavior,PrinterBehavior
public abstract class AbstractBehavior
extends javax.faces.component.behavior.ClientBehaviorBase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> T<T> Tprotected abstract BehaviorAttribute[]protected booleanisAttributeSet(Enum<?> property) protected booleanisAttributeSet(String attr) voidvoidprotected MaprestorePropertyMap(javax.faces.context.FacesContext context, Object[] values, boolean restoreValuesFromAttachedState) voidrestoreState(javax.faces.context.FacesContext context, Object state) protected Object[]savePropertyMap(javax.faces.context.FacesContext context, Map<String, ?> map, boolean saveValuesAsAttachedState) saveState(javax.faces.context.FacesContext context) voidsetLiteral(Enum<?> property, Object val) voidsetLiteral(String attr, Object val) voidsetValueExpression(Enum<?> property, javax.el.ValueExpression ve) voidsetValueExpression(String attr, javax.el.ValueExpression ve) Methods inherited from class javax.faces.component.behavior.ClientBehaviorBase
decode, getHints, getRenderer, getRendererType, getScriptMethods inherited from class javax.faces.component.behavior.BehaviorBase
addBehaviorListener, broadcast, clearInitialState, initialStateMarked, isTransient, markInitialState, removeBehaviorListener, setTransientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.faces.component.behavior.Behavior
broadcast
-
Field Details
-
literals
-
bindings
-
-
Constructor Details
-
AbstractBehavior
public AbstractBehavior()
-
-
Method Details
-
setLiteral
-
setLiteral
-
setValueExpression
-
setValueExpression
-
eval
-
eval
-
put
-
put
-
isAttributeSet
-
isAttributeSet
-
saveState
- Specified by:
saveStatein interfacejavax.faces.component.StateHolder- Overrides:
saveStatein classjavax.faces.component.behavior.BehaviorBase
-
restoreState
- Specified by:
restoreStatein interfacejavax.faces.component.StateHolder- Overrides:
restoreStatein classjavax.faces.component.behavior.BehaviorBase
-
savePropertyMap
-
restorePropertyMap
-
getAllAttributes
-