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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the PopupButton instance that is the source of this event.boolean
Returns the current visibility of the popup.Methods inherited from class com.vaadin.ui.Component.Event
getComponent
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PopupVisibilityEvent
-
-
Method Details
-
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
-