javax.faces.event
Class BehaviorEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.BehaviorEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AjaxBehaviorEvent
public abstract class BehaviorEvent
- extends FacesEvent
BehaviorEvent is
the event that can be generated from component
Behavior
.
- Since:
- 2.0
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BehaviorEvent
public BehaviorEvent(UIComponent component,
Behavior behavior)
Construct a new event object
from the specified source component and behavior
.
- Parameters:
component
- Source UIComponent
for this eventbehavior
- Behavior
that sent this event
- Throws:
IllegalArgumentException
- if component
or
behavior
is null
- Since:
- 2.0
getBehavior
public Behavior getBehavior()
Return the source Behavior
that sent this event.
- Since:
- 2.0
Submit a bug or feature Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41