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

Class ListBox

source code

UIObject --+        
           |        
      Widget --+    
               |    
     FocusWidget --+
                   |
                  ListBox

A widget that presents a list of choices to the user, either as a list box or as a drop-down list.

Instance Methods [hide private]
 
__init__(self) source code
 
addChangeListener(self, listener) source code
 
addItem(self, item, value=None) source code
 
clear(self) source code
 
getItemCount(self) source code
 
getItemText(self, index) source code
 
getName(self) source code
 
getSelectedIndex(self) source code
 
getValue(self, index) source code
 
getVisibleItemCount(self) source code
 
insertItem(self, item, value, index=None) source code
 
isItemSelected(self, index) source code
 
isMultipleSelect(self) source code
 
onBrowserEvent(self, event) source code
 
removeChangeListener(self, listener) source code
 
removeItem(self, idx) source code
 
setItemSelected(self, index, selected) source code
 
setMultipleSelect(self, multiple) source code
 
setName(self, name) source code
 
setSelectedIndex(self, index) source code
 
selectValue(self, value) source code
 
setItemText(self, index, text) source code
 
setValue(self, index, value) source code
 
setVisibleItemCount(self, visibleItems) source code
 
checkIndex(self, index) source code

Inherited from FocusWidget: addClickListener, addFocusListener, addKeyboardListener, getTabIndex, isEnabled, removeClickListener, removeFocusListener, removeKeyboardListener, setAccessKey, setEnabled, setFocus, setTabIndex

Inherited from Widget: getID, getLayoutData, getParent, isAttached, onAttach, onDetach, 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)
(Constructor)

source code 
Overrides: Widget.__init__

onBrowserEvent(self, event)

source code 
Overrides: Widget.onBrowserEvent