AjaxBehavior
, ConfirmBehavior
public abstract class AbstractBehavior
extends javax.faces.component.behavior.ClientBehaviorBase
Modifier and Type | Field | Description |
---|---|---|
protected Map<String,javax.el.ValueExpression> |
bindings |
|
protected Map<String,Object> |
literals |
Constructor | Description |
---|---|
AbstractBehavior() |
Modifier and Type | Method | 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) |
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 class javax.faces.component.behavior.BehaviorBase
public void restoreState(javax.faces.context.FacesContext context, Object state)
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 © 2018. All rights reserved.