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

Class TextArea

source code

UIObject --+            
           |            
      Widget --+        
               |        
     FocusWidget --+    
                   |    
         TextBoxBase --+
                       |
                      TextArea

HTML textarea widget, allowing multi-line text entry. Use setText/getText to get and access the current text.

Instance Methods [hide private]
 
__init__(self) source code
 
getCharacterWidth(self) source code
 
getCursorPos(self) source code
 
getVisibleLines(self) source code
 
setCharacterWidth(self, width) source code
 
setVisibleLines(self, lines) source code

Inherited from TextBoxBase: addChangeListener, addClickListener, addKeyboardListener, cancelKey, 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__

getCursorPos(self)

source code 
Overrides: TextBoxBase.getCursorPos