public abstract class AbstractBehavior
extends javax.faces.component.behavior.ClientBehaviorBase
Modifier and Type | Field and Description |
---|---|
protected Map<String,javax.el.ValueExpression> |
bindings |
protected Map<String,Object> |
literals |
Constructor and Description |
---|
AbstractBehavior() |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
eval(Enum<?> property,
T unspecifiedValue) |
<T> T |
eval(String attr,
T unspecifiedValue) |
protected abstract Enum<?>[] |
getAllProperties() |
protected boolean |
isAttributeSet(Enum<?> property) |
protected boolean |
isAttributeSet(String attr) |
protected Map |
restorePropertyMap(javax.faces.context.FacesContext context,
Object[] values,
boolean restoreValuesFromAttachedState) |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
protected Object[] |
savePropertyMap(javax.faces.context.FacesContext context,
Map map,
boolean saveValuesAsAttachedState) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setLiteral(Enum<?> property,
Object val) |
void |
setLiteral(String attr,
Object val) |
void |
setValueExpression(Enum<?> property,
javax.el.ValueExpression ve) |
void |
setValueExpression(String attr,
javax.el.ValueExpression ve) |
decode, getHints, getRenderer, getRendererType, getScript
addBehaviorListener, broadcast, clearInitialState, initialStateMarked, isTransient, markInitialState, removeBehaviorListener, setTransient
public void setValueExpression(String attr, javax.el.ValueExpression ve)
public void setValueExpression(Enum<?> property, javax.el.ValueExpression ve)
public <T> T eval(String attr, T unspecifiedValue)
protected <T> T eval(Enum<?> property, T unspecifiedValue)
protected boolean isAttributeSet(String attr)
protected boolean isAttributeSet(Enum<?> property)
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.behavior.BehaviorBase
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.behavior.BehaviorBase
protected Object[] savePropertyMap(javax.faces.context.FacesContext context, Map map, boolean saveValuesAsAttachedState)
protected Map restorePropertyMap(javax.faces.context.FacesContext context, Object[] values, boolean restoreValuesFromAttachedState)
protected abstract Enum<?>[] getAllProperties()
Copyright © 2016. All rights reserved.