Class PopupButton.PopupVisibilityEvent

java.lang.Object
java.util.EventObject
com.vaadin.event.ConnectorEvent
com.vaadin.ui.Component.Event
io.jmix.ui.widget.addon.popupbutton.PopupButton.PopupVisibilityEvent
All Implemented Interfaces:
Serializable
Enclosing class:
PopupButton

public class PopupButton.PopupVisibilityEvent extends com.vaadin.ui.Component.Event
This event is received by the PopupVisibilityListeners when the visibility of the popup changes. You can get the new visibility directly with isPopupVisible(), or get the PopupButton that produced the event with getPopupButton().
See Also:
  • Constructor Details

    • PopupVisibilityEvent

      public PopupVisibilityEvent(PopupButton source)
  • Method Details

    • getPopupButton

      public PopupButton getPopupButton()
      Get the PopupButton instance that is the source of this event.
      Returns:
      the source PopupButton
    • isPopupVisible

      public boolean isPopupVisible()
      Returns the current visibility of the popup.
      Returns:
      true if the popup is visible