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

Class ScrollPanel

source code

UIObject --+            
           |            
      Widget --+        
               |        
           Panel --+    
                   |    
         SimplePanel --+
                       |
                      ScrollPanel

A simple panel that wraps its contents in a scrollable area.

Instance Methods [hide private]
 
__init__(self, child=None) source code
 
addScrollListener(self, listener) source code
 
ensureVisible(self, item) source code
 
getScrollPosition(self) source code
 
getHorizontalScrollPosition(self) source code
 
onBrowserEvent(self, event) source code
 
removeScrollListener(self, listener) source code
 
setAlwaysShowScrollBars(self, alwaysShow) source code
 
setScrollPosition(self, position) source code
 
setHorizontalScrollPosition(self, position) source code
 
ensureVisibleImpl(self, scroll, e) 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, 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, child=None)
(Constructor)

source code 
Overrides: Widget.__init__

onBrowserEvent(self, event)

source code 
Overrides: Widget.onBrowserEvent