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

Class ButtonBase

source code

UIObject --+        
           |        
      Widget --+    
               |    
     FocusWidget --+
                   |
                  ButtonBase

ButtonBase is the base object for button-style objects, such as RadioButton, CheckBox and Button. It is only necessary to instantiate from ButtonBase if you intend to create your own clickeable Widget

Instance Methods [hide private]
 
__init__(self, element) source code
 
getHTML(self) source code
 
getText(self) source code
 
setHTML(self, html) source code
 
setText(self, text) source code

Inherited from FocusWidget: addClickListener, addFocusListener, addKeyboardListener, getTabIndex, isEnabled, onBrowserEvent, 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, element)
(Constructor)

source code 
Overrides: Widget.__init__