Class BehaviorEvent

    • Constructor Detail

      • 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 event
        behavior - Behavior that sent this event
        Throws:
        IllegalArgumentException - if component or behavior is null
        Since:
        2.0
      • BehaviorEvent

        public BehaviorEvent​(FacesContext facesContext,
                             UIComponent component,
                             Behavior behavior)

        Construct a new event object from the Faces context, specified source component and behavior.

        Parameters:
        facesContext - the Faces context.
        component - Source UIComponent for this event
        behavior - Behavior that sent this event
        Throws:
        IllegalArgumentException - if component or behavior is null
        Since:
        2.3
    • Method Detail

      • getBehavior

        public Behavior getBehavior()

        Return the source Behavior that sent this event.

        Returns:
        the Behavior
        Since:
        2.0