|
|
|
_applyAttributes(
) :
void
|
|
|
|
_attrToDom(
attr
: String
value
: String
) :
void
|
|
|
|
_checkIfSingleChild(
) :
void
|
|
|
|
_getAttrNames(
name
) :
void
|
|
|
|
_getContentAttr(
) :
void
Hook to make attr("content") work
|
|
|
|
_isShown(
) :
void
|
|
|
|
_layoutChildren(
) :
void
|
|
|
|
_load(
) :
void
|
|
|
|
_onBlur(
) :
void
|
|
|
|
_onConnect(
event
: String
) :
void
|
|
|
|
_onError(
type
err
consoleText
) :
void
|
|
|
|
_onFocus(
e
) :
void
|
|
|
|
_onKey(
evt
: Event
) :
void
|
|
|
|
_onLoadHandler(
data
) :
void
|
|
|
|
_onShow(
) :
void
|
|
|
|
_onUnloadHandler(
) :
void
|
|
|
|
_scheduleLayout(
) :
void
|
|
|
|
_setClassAttr(
value
: String
) :
void
|
|
|
|
_setContent(
cont
isFakeContent
) :
void
Insert the content into the container node
Parameter |
Type |
Usage |
Description |
cont |
|
required |
|
isFakeContent |
|
required |
|
|
|
|
|
_setContentAttr(
data
: String|DomNode|Nodelist
) :
void
Hook to make attr("content", ...) work.
Replaces old content with data content, include style classes from old content
Parameter |
Type |
Usage |
Description |
data |
String|DomNode|Nodelist |
required |
the new Content may be String, DomNode or NodeList
if data is a NodeList (or an array of nodes) nodes are copied
so you can import nodes from another document implicitly |
|
|
|
|
_setHrefAttr(
href
: String|Uri
) :
void
|
|
|
|
_setStyleAttr(
value
: String||Object
) :
void
|
|
|
|
attr(
name
: String|Object
value
: Object
) :
void
|
|
|
|
buildRendering(
) :
void
|
|
|
|
cancel(
) :
void
|
|
|
|
connect(
obj
: Object|null
event
: String|Function
method
: String|Function
) :
void
|
|
|
|
create(
params
: Object
srcNodeRef
: DomNode|String
) :
void
|
|
|
|
destroy(
preserveDom
: Boolean
) :
void
|
|
|
|
destroyDescendants(
) :
void
|
|
|
|
destroyRecursive(
preserveDom
: Boolean
) :
void
|
|
|
|
destroyRendering(
preserveDom
: Boolean
) :
void
|
|
|
|
disconnect(
handles
: _Widget.Handle
) :
void
|
|
|
|
getChildren(
) :
void
|
|
|
|
getDescendants(
) :
void
|
|
|
|
isFocusable(
) :
void
|
|
|
|
isLeftToRight(
) :
void
|
|
|
|
onBlur(
) :
void
|
|
|
|
onClick(
event
: mouse
) :
void
|
|
|
|
onClose(
) :
void
|
|
|
|
onContentError(
error
: Error
) :
void
Called on DOM faults, require faults etc. in content.
In order to display an error message in the pane, return
the error message from this method, as an HTML string.
By default (if this method is not overriden), it returns
nothing, so the error message is just printed to the console.
Parameter |
Type |
Usage |
Description |
error |
Error |
required |
|
|
|
|
|
onDblClick(
event
: mouse
) :
void
|
|
|
|
onDownloadEnd(
) :
void
|
|
|
|
onDownloadError(
error
: Error
) :
void
|
|
|
|
onDownloadStart(
) :
void
|
|
|
|
onFocus(
) :
void
|
|
|
|
onHide(
) :
void
|
|
|
|
onKeyDown(
event
: key
) :
void
|
|
|
|
onKeyPress(
event
: key
) :
void
|
|
|
|
onKeyUp(
event
: key
) :
void
|
|
|
|
onLoad(
data
) :
void
|
|
|
|
onMouseDown(
event
: mouse
) :
void
|
|
|
|
onMouseEnter(
event
: mouse
) :
void
|
|
|
|
onMouseLeave(
event
: mouse
) :
void
|
|
|
|
onMouseMove(
event
: mouse
) :
void
|
|
|
|
onMouseOut(
event
: mouse
) :
void
|
|
|
|
onMouseOver(
event
: mouse
) :
void
|
|
|
|
onMouseUp(
event
: mouse
) :
void
|
|
|
|
onOpen(
pos
: Object
) :
void
|
|
|
|
onShow(
) :
void
|
|
|
|
onUnload(
) :
void
|
|
|
|
orient(
node
: DomNode
aroundCorner
: String
corner
: String
) :
void
|
|
|
|
placeAt(
reference
: String|DomNode|_Widget
position
: String|Int
) :
void
|
|
|
|
postCreate(
) :
void
Processing after the DOM fragment is created
Called after the DOM fragment has been created, but not necessarily
added to the document. Do not include any operations which rely on
node dimensions or placement.
|
|
|
|
postMixInProperties(
) :
void
Called after the parameters to the widget have been read-in,
but before the widget template is instantiated. Especially
useful to set properties that are referenced in the widget
template.
|
|
|
|
postscript(
params
: Object
srcNodeRef
: DomNode|String
) :
void
Kicks off widget instantiation. See create() for details.
Parameter |
Type |
Usage |
Description |
params |
Object |
optional |
|
srcNodeRef |
DomNode|String |
required |
|
|
|
|
|
refresh(
) :
void
|
|
|
|
resize(
changeSize
resultSize
) :
void
|
|
|
|
setAttribute(
attr
: String
value
: anything
) :
void
|
|
|
|
setContent(
data
: String|DomNode|Nodelist
) :
void
Deprecated. Use attr('content', ...) instead.
Parameter |
Type |
Usage |
Description |
data |
String|DomNode|Nodelist |
required |
|
|
|
|
|
setHref(
href
: String|Uri
) :
void
|
|
|
|
startup(
) :
void
|
|
|
|
subscribe(
topic
: String
method
: String|Function
) :
void
|
|
|
|
toString(
) :
void
|
|
|
|
uninitialize(
) :
void
|
|
|
|
unsubscribe(
handle
: Object
) :
void
|