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

Class TextBoxBase

source code

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

Instance Methods [hide private]
 
__init__(self, element) source code
 
addChangeListener(self, listener) source code
 
addClickListener(self, listener) source code
 
addKeyboardListener(self, listener) source code
 
cancelKey(self) source code
 
getCursorPos(self) source code
 
getName(self) source code
 
getSelectedText(self) source code
 
getSelectionLength(self) source code
 
getText(self) source code
 
onBrowserEvent(self, event) source code
 
removeChangeListener(self, listener) source code
 
removeClickListener(self, listener) source code
 
removeKeyboardListener(self, listener) source code
 
selectAll(self) source code
 
setCursorPos(self, pos) source code
 
setKey(self, key) source code
 
setName(self, name) source code
 
setSelectionRange(self, pos, length) source code
 
setText(self, text) source code
 
setTextAlignment(self, align) source code

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]
  ALIGN_CENTER = "center"
  ALIGN_JUSTIFY = "justify"
  ALIGN_LEFT = "left"
  ALIGN_RIGHT = "right"
Method Details [hide private]

__init__(self, element)
(Constructor)

source code 
Overrides: Widget.__init__

addClickListener(self, listener)

source code 
Overrides: FocusWidget.addClickListener

addKeyboardListener(self, listener)

source code 
Overrides: FocusWidget.addKeyboardListener

onBrowserEvent(self, event)

source code 
Overrides: Widget.onBrowserEvent

removeClickListener(self, listener)

source code 
Overrides: FocusWidget.removeClickListener

removeKeyboardListener(self, listener)

source code 
Overrides: FocusWidget.removeKeyboardListener