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.ui.Component.Event
com.vaadin.ui.PopupView.PopupVisibilityEvent
All Implemented Interfaces:
Enclosing class:
- extends Component.Event
public class PopupView.PopupVisibilityEvent
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 with getPopupView()
.
See Also:
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
PopupView.PopupVisibilityEvent(PopupView source)
|
Method Summary | |
---|---|
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 java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
PopupView.PopupVisibilityEvent
public PopupView.PopupVisibilityEvent(PopupView source)
Method Detail |
---|
getPopupView
public PopupView getPopupView()
- Returns:
- the source PopupView
Get the PopupView instance that is the source of this event.
isPopupVisible
public boolean isPopupVisible()
- Returns:
- true if the popup is visible
Returns the current visibility of the popup.