Class 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
    • 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.
    • 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.