|
|
__init__(self,
richText,
_parent,
**kwargs)
use this to apply properties as a dictionary, e.g.: |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateStatus(self)
* Updates the status of all the stateful buttons. |
source code
|
|
|
|
|
|
|
|
|
|
| onKeyDown(self,
sender,
keyCode,
modifiers) |
source code
|
|
|
|
| onKeyPress(self,
sender,
keyCode,
modifiers) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| selectNodes(self,
startNode,
startOffset,
endNode=None,
endOffset=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_surround(self,
kls,
cls)
this is possibly one of the most truly dreadful bits of code for
manipulating DOM ever written. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
captureSelection(self)
This captures the selection when the mouse leaves the RTE, because in
IE the selection indicating the cursor position is lost once another
widget gains focus. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from Composite.Composite:
initWidget,
isAttached,
onAttach,
onBrowserEvent,
onDetach,
setWidget
Inherited from Widget.Widget:
doAttachChildren,
doDetachChildren,
getID,
getLayoutData,
getParent,
onLoad,
removeFromParent,
setContextMenu,
setID,
setLayoutData,
setParent
Inherited from UIObject.UIObject:
addStyleDependentName,
addStyleName,
getAbsoluteLeft,
getAbsoluteTop,
getElement,
getHeight,
getOffsetHeight,
getOffsetWidth,
getStyleAttribute,
getStyleName,
getStylePrimaryName,
getTitle,
getVisible,
getWidth,
isVisible,
removeStyleDependentName,
removeStyleName,
setElement,
setHeight,
setPixelSize,
setSize,
setStyleAttribute,
setStyleName,
setTitle,
setVisible,
setWidth,
setzIndex,
sinkEvents,
unsinkEvents
Inherited from Applier:
applyValues,
retrieveValues,
setDefaults,
setElementProperties,
updateInstance
Inherited from ClickListener.ClickHandler:
addClickListener,
addDoubleClickListener,
clearClickListener,
clearDoubleClickListener,
onDoubleClick,
removeClickListener,
removeDoubleClickListener
Inherited from ChangeListener.ChangeHandler:
addChangeListener,
removeChangeListener
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|