We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Class PopupView.PopupVisibilityEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.PopupView.PopupVisibilityEvent
-
All Implemented Interfaces:
Enclosing class:
public static class PopupView.PopupVisibilityEvent extends 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 PopupView that produced the event withgetPopupView()
.See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PopupVisibilityEvent​(PopupView source)
-
Method Summary
All Methods Modifier and Type Method Description PopupView
getPopupView()
Get the PopupView instance that is the source of this event.
boolean
isPopupVisible()
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 Detail
-
PopupVisibilityEvent
public PopupVisibilityEvent​(PopupView source)
-
-
Method Detail
-
getPopupView
public PopupView getPopupView()
Get the PopupView instance that is the source of this event.
Returns:
the source PopupView
-
isPopupVisible
public boolean isPopupVisible()
Returns the current visibility of the popup.
Returns:
true if the popup is visible
-
-