Package 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:
Serializable
- Enclosing class:
- PopupView
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 withisPopupVisible()
, or get the PopupView that produced the event withgetPopupView()
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PopupVisibilityEvent(PopupView source)
-
Method Summary
All Methods Instance Methods Concrete 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
-
-