Package de.xima.fc.gui.event
Class CreateEvent<T>
- java.lang.Object
-
- java.util.EventObject
-
- javax.faces.event.FacesEvent
-
- javax.faces.event.BehaviorEvent
-
- javax.faces.event.AjaxBehaviorEvent
-
- org.primefaces.event.AbstractAjaxBehaviorEvent
-
- de.xima.fc.gui.event.CreateEvent<T>
-
- Type Parameters:
T
- Type of the inserted item.
- All Implemented Interfaces:
Serializable
public class CreateEvent<T> extends org.primefaces.event.AbstractAjaxBehaviorEvent
A generic AJAX behavior event that is triggered when an item was inserted somewhere.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description CreateEvent(javax.faces.component.UIComponent component, javax.faces.component.behavior.Behavior behavior, T inserted)
Creates a new insert event for the given inserted item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getInserted()
-
Methods inherited from class org.primefaces.event.AbstractAjaxBehaviorEvent
isAppropriateListener, processListener
-
Methods inherited from class javax.faces.event.FacesEvent
getComponent, getFacesContext, getPhaseId, queue, setPhaseId
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
CreateEvent
public CreateEvent(javax.faces.component.UIComponent component, javax.faces.component.behavior.Behavior behavior, T inserted)
Creates a new insert event for the given inserted item.- Parameters:
component
- Component where the event occurred.behavior
- Behavior that was triggered.inserted
- Item that was inserted.
-
-
Method Detail
-
getInserted
public T getInserted()
- Returns:
- The item that was inserted.
-
-