Package com.sun.faces.component.behavior
Class AjaxBehaviors
java.lang.Object
com.sun.faces.component.behavior.AjaxBehaviors
- All Implemented Interfaces:
Serializable
public class AjaxBehaviors extends Object implements Serializable
An instance of the class is used to manage AjaxBehavior
instances.
- Since:
- 2.0
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AjaxBehaviors.BehaviorInfo
-
Constructor Summary
Constructors Constructor Description AjaxBehaviors()
-
Method Summary
Modifier and Type Method Description void
addBehaviors(FacesContext context, ClientBehaviorHolder behaviorHolder)
static AjaxBehaviors
getAjaxBehaviors(FacesContext context, boolean createIfNull)
void
popBehavior()
Pop the lastAjaxBehavior
instance from theList
.void
pushBehavior(FacesContext context, AjaxBehavior ajaxBehavior, String eventName)
Push theAjaxBehavior
instance onto theList
.
-
Constructor Details
-
AjaxBehaviors
public AjaxBehaviors()
-
-
Method Details
-
getAjaxBehaviors
-
addBehaviors
-
pushBehavior
Push the
AjaxBehavior
instance onto theList
.- Parameters:
ajaxBehavior
- theAjaxBehavior
instanceeventName
- the name of the event that the behavior is associated with.- Since:
- 2.0
-
popBehavior
public void popBehavior()Pop the last
AjaxBehavior
instance from theList
.- Since:
- 2.0
-