com.vaadin.ui
Class PopupView.PopupVisibilityEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.ui.Component.Event
          extended by com.vaadin.ui.PopupView.PopupVisibilityEvent
All Implemented Interfaces:
Serializable
Enclosing class:
PopupView

public 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 with getPopupView().

See Also:
Serialized Form

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()
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


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.