javax.faces.component.behavior
Class BehaviorBase

java.lang.Object
  extended by javax.faces.component.behavior.BehaviorBase
All Implemented Interfaces:
Behavior, PartialStateHolder, StateHolder
Direct Known Subclasses:
ClientBehaviorBase

public class BehaviorBase
extends Object
implements Behavior, PartialStateHolder

Since:
2.0
Version:
$Revision: 1297575 $ $Date: 2012-03-06 11:59:07 -0500 (Tue, 06 Mar 2012) $
Author:
Simon Lessard (latest modification by $Author: lu4242 $)

Constructor Summary
BehaviorBase()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BehaviorBase

public BehaviorBase()
Method Detail

broadcast

public void broadcast(BehaviorEvent event)

Specified by:
broadcast in interface Behavior

clearInitialState

public void clearInitialState()
Specified by:
clearInitialState in interface PartialStateHolder

initialStateMarked

public boolean initialStateMarked()
Specified by:
initialStateMarked in interface PartialStateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface StateHolder

markInitialState

public void markInitialState()
Specified by:
markInitialState in interface PartialStateHolder

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface StateHolder

addBehaviorListener

protected void addBehaviorListener(BehaviorListener listener)

removeBehaviorListener

protected void removeBehaviorListener(BehaviorListener listener)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.