com.vaadin.client.ui.popupview.

Class VisibilityChangeEvent

  • public class VisibilityChangeEvent
    extends com.google.gwt.event.shared.GwtEvent<VisibilityChangeHandler>

    Event for popup visibility changes.

    Author:

    Vaadin Ltd

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent

        com.google.gwt.event.shared.GwtEvent.Type<H extends Object>
    • Constructor Summary

      Constructors
      Constructor Description
      VisibilityChangeEvent​(boolean visible)

      Constructs a visibility change event.

    • Constructor Detail

      • VisibilityChangeEvent

        public VisibilityChangeEvent​(boolean visible)

        Constructs a visibility change event.

        Parameters:

        visible - true if the popup was made visible

    • Method Detail

      • isVisible

        public boolean isVisible()

        Returns whether the popup is now visible or not.

        Returns:

        true if the popup is visible, false otherwise

      • getType

        public static com.google.gwt.event.shared.GwtEvent.Type<VisibilityChangeHandler> getType()

        Returns the GwtEvent.Type used to register this event.

        Returns:

        the type