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

Class TextBox

source code

UIObject --+            
           |            
      Widget --+        
               |        
     FocusWidget --+    
                   |    
         TextBoxBase --+
                       |
                      TextBox

TextBox is a standard single-line text box.

Instance Methods [hide private]
 
__init__(self) source code
 
getMaxLength(self) source code
 
getVisibleLength(self) source code
 
setMaxLength(self, length) source code
 
setVisibleLength(self, length) source code

Inherited from TextBoxBase: addChangeListener, addClickListener, addKeyboardListener, cancelKey, getCursorPos, getName, getSelectedText, getSelectionLength, getText, onBrowserEvent, removeChangeListener, removeClickListener, removeKeyboardListener, selectAll, setCursorPos, setKey, setName, setSelectionRange, setText, setTextAlignment

Inherited from FocusWidget: addFocusListener, getTabIndex, isEnabled, removeFocusListener, 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

Class Variables [hide private]

Inherited from TextBoxBase: ALIGN_CENTER, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_RIGHT

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: Widget.__init__