public class BehaviorBase extends Object implements Behavior, PartialStateHolder
Constructor and Description |
---|
BehaviorBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addBehaviorListener(BehaviorListener listener) |
void |
broadcast(BehaviorEvent event) |
void |
clearInitialState() |
boolean |
initialStateMarked() |
boolean |
isTransient() |
void |
markInitialState() |
protected void |
removeBehaviorListener(BehaviorListener listener) |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setTransient(boolean newTransientValue) |
public void broadcast(BehaviorEvent event) throws AbortProcessingException
broadcast
in interface Behavior
AbortProcessingException
public void clearInitialState()
clearInitialState
in interface PartialStateHolder
public boolean initialStateMarked()
initialStateMarked
in interface PartialStateHolder
public boolean isTransient()
isTransient
in interface StateHolder
public void markInitialState()
markInitialState
in interface PartialStateHolder
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
public Object saveState(FacesContext context)
saveState
in interface StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface StateHolder
protected void addBehaviorListener(BehaviorListener listener)
protected void removeBehaviorListener(BehaviorListener listener)
Copyright © 2020 The Apache Software Foundation. All rights reserved.