Package muntjac :: Package ui :: Module popup_view :: Class PopupVisibilityEvent
[hide private]
[frames] | no frames]

Class PopupVisibilityEvent

source code

      object --+        
               |        
util.EventObject --+    
                   |    
     component.Event --+
                       |
                      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.

Instance Methods [hide private]
 
__init__(self, source)
Constructs a new event with the specified source component.
source code
 
getPopupView(self)
Get the PopupView instance that is the source of this event.
source code
 
isPopupVisible(self)
Returns the current visibility of the popup.
source code

Inherited from component.Event: getComponent

Inherited from util.EventObject: getSource

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, source)
(Constructor)

source code 

Constructs a new event with the specified source component.

Parameters:
  • source - the source component of the event
Overrides: object.__init__
(inherited documentation)

getPopupView(self)

source code 

Get the PopupView instance that is the source of this event.

Returns:
the source PopupView

isPopupVisible(self)

source code 

Returns the current visibility of the popup.

Returns:
true if the popup is visible