javax.faces.event
Class BehaviorEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.BehaviorEvent
- All Implemented Interfaces:
- 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
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
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.