Package pyjamas :: Module ui :: Class PopupPanel
[hide private]
[frames] | no frames]

Class PopupPanel

source code

UIObject --+            
           |            
      Widget --+        
               |        
           Panel --+    
                   |    
         SimplePanel --+
                       |
                      PopupPanel

A panel that can "pop up" over other widgets.

The width and height of the PopupPanel cannot be explicitly set; they are determined by the PopupPanel's widget. Calls to setWidth(String) and setHeight(String) will call these methods on the PopupPanel's child widget.

Instance Methods [hide private]
 
__init__(self, autoHide=False) source code
 
addPopupListener(self, listener) source code
 
getPopupLeft(self) source code
 
getPopupTop(self) source code
 
createElement(self) source code
 
hide(self, autoClosed=False) source code
 
onEventPreview(self, event) source code
 
onKeyDownPreview(self, key, modifiers) source code
 
onKeyPressPreview(self, key, modifiers) source code
 
onKeyUpPreview(self, key, modifiers) source code
 
onHideImpl(self, popup) source code
 
onShowImpl(self, popup) source code
 
removePopupListener(self, listener) source code
 
setPopupPosition(self, left, top) source code
 
show(self) source code

Inherited from SimplePanel: add, getContainerElement, getWidget, remove, setWidget

Inherited from Panel: __iter__, adopt, clear, disown, onAttach, onDetach

Inherited from Widget: getID, getLayoutData, getParent, isAttached, onBrowserEvent, onLoad, removeFromParent, setID, setLayoutData, setParent

Inherited from UIObject: addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setTitle, setVisible, setWidth, setzIndex, sinkEvents, unsinkEvents

Method Details [hide private]

__init__(self, autoHide=False)
(Constructor)

source code 
Overrides: Widget.__init__