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

Class ImplHorizontalSplitPanel

source code

The standard implementation for horizontal split panels.

Instance Methods [hide private]
 
__init__(self, panel) source code
 
expandToFitParentHorizontally(self, elem) source code
 
onAttach(self) source code
 
onDetach(self) source code
 
onTimer(self, sender) source code
 
execute(self) source code
 
addResizeListener(self, container) source code
 
onResize(self) source code
 
onSplitterResize(self, px) source code
 
setSplitPosition(self, pos) source code
 
setSplitPositionUsingPixels(self, px) source code
 
_setSplitPositionUsingPixels(self, px)
Set the splitter's position in units of pixels.
source code
 
updateRightWidth(self, rightElem, newRightWidth) source code
Method Details [hide private]

_setSplitPositionUsingPixels(self, px)

source code 

Set the splitter's position in units of pixels.

px represents the splitter's position as a distance of px pixels from the left edge of the container. This is true even in a bidi environment. Callers of this method must be aware of this constraint.