Class OpenEvent<T>

  • Type Parameters:
    T - the type being opened

    public class OpenEvent<T>
    extends GwtEvent<OpenHandler<T>>
    Represents a open event.
    • Constructor Detail

      • OpenEvent

        protected OpenEvent​(T target)
        Creates a new open event.
        Parameters:
        target - the ui object being opened
    • Method Detail

      • fire

        public static <T> void fire​(HasOpenHandlers<T> source,
                                    T target)
        Fires a open event on all registered handlers in the handler manager.If no such handlers exist, this method will do nothing.
        Type Parameters:
        T - the target type
        Parameters:
        source - the source of the handlers
        target - the target
      • getType

        public static GwtEvent.Type<OpenHandler<?>> getType()
        Gets the type associated with this event.
        Returns:
        returns the handler type
      • getTarget

        public T getTarget()
        Gets the target.
        Returns:
        the target