javax.faces.component.behavior
Class AjaxBehavior

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

public class AjaxBehavior
extends ClientBehaviorBase

Since:
2.0
Version:
$Revision: 1296407 $ $Date: 2012-03-02 14:42:58 -0500 (Fri, 02 Mar 2012) $
Author:
Simon Lessard (latest modification by $Author: lu4242 $)

Field Summary
static String BEHAVIOR_ID
          not needed anymore but enforced by the spec theoretically a
 
Constructor Summary
AjaxBehavior()
           
 
Method Summary
 void addAjaxBehaviorListener(AjaxBehaviorListener listener)
           
 Collection<String> getExecute()
           
 Set<ClientBehaviorHint> getHints()
          
 String getOnerror()
           
 String getOnevent()
           
 Collection<String> getRender()
           
 String getRendererType()
          
 javax.el.ValueExpression getValueExpression(String name)
           
 boolean isDisabled()
           
 boolean isImmediate()
           
 boolean isImmediateSet()
           
 void removeAjaxBehaviorListener(AjaxBehaviorListener listener)
           
 void restoreState(FacesContext facesContext, Object o)
           
 Object saveState(FacesContext facesContext)
           
 void setDisabled(boolean disabled)
           
 void setExecute(Collection<String> execute)
           
 void setImmediate(boolean immediate)
           
 void setOnerror(String onError)
           
 void setOnevent(String onEvent)
           
 void setRender(Collection<String> render)
           
 void setValueExpression(String name, javax.el.ValueExpression expression)
           
 
Methods inherited from class javax.faces.component.behavior.ClientBehaviorBase
decode, getRenderer, getScript
 
Methods inherited from class javax.faces.component.behavior.BehaviorBase
addBehaviorListener, broadcast, clearInitialState, initialStateMarked, isTransient, markInitialState, removeBehaviorListener, setTransient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.Behavior
broadcast
 

Field Detail

BEHAVIOR_ID

public static final String BEHAVIOR_ID
not needed anymore but enforced by the spec theoretically a

See Also:
Constant Field Values
Constructor Detail

AjaxBehavior

public AjaxBehavior()
Method Detail

addAjaxBehaviorListener

public void addAjaxBehaviorListener(AjaxBehaviorListener listener)

removeAjaxBehaviorListener

public void removeAjaxBehaviorListener(AjaxBehaviorListener listener)

getExecute

public Collection<String> getExecute()

setExecute

public void setExecute(Collection<String> execute)

getOnerror

public String getOnerror()

setOnerror

public void setOnerror(String onError)

getOnevent

public String getOnevent()

setOnevent

public void setOnevent(String onEvent)

getRender

public Collection<String> getRender()

setRender

public void setRender(Collection<String> render)

getValueExpression

public javax.el.ValueExpression getValueExpression(String name)

setValueExpression

public void setValueExpression(String name,
                               javax.el.ValueExpression expression)

isDisabled

public boolean isDisabled()

setDisabled

public void setDisabled(boolean disabled)

isImmediate

public boolean isImmediate()

setImmediate

public void setImmediate(boolean immediate)

isImmediateSet

public boolean isImmediateSet()

getHints

public Set<ClientBehaviorHint> getHints()
Description copied from class: ClientBehaviorBase

Specified by:
getHints in interface ClientBehavior
Overrides:
getHints in class ClientBehaviorBase

getRendererType

public String getRendererType()
Description copied from class: ClientBehaviorBase

Overrides:
getRendererType in class ClientBehaviorBase

restoreState

public void restoreState(FacesContext facesContext,
                         Object o)
Specified by:
restoreState in interface StateHolder
Overrides:
restoreState in class BehaviorBase

saveState

public Object saveState(FacesContext facesContext)
Specified by:
saveState in interface StateHolder
Overrides:
saveState in class BehaviorBase


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