OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.gui

class DojoWidget

Object
->jsx3.lang.Object
  ->jsx3.app.Model
    ->jsx3.gui.Painted
      ->jsx3.gui.Block
        ->jsx3.gui.DojoWidget

All Implemented Interfaces:

jsx3.gui.Interactive, jsx3.util.EventDispatcher

class DojoWidget
extends jsx3.gui.Block
An adapter for Dojo widgets. Allows Dojo widgets (Dijits) to be used as GI DOM nodes from within a General Interface application.

Field Summary
dijit._Widget
dijit
The native Dojo widget object.
Constructor Summary
void
init(strName : ?, vntLeft : ?, vntTop : ?, vntWidth : ?, vntHeight : ?, dijitClassName : String, dijitProps : Object, dijitStyleSheets : Array<String>)
The instance initializer.
Method Summary
void
attr(name : String, value : Object)
Gets or sets a property of the native Dojo object.
Methods Inherited From jsx3.gui.Block
getBackground, getBackgroundColor, getBorder, getCDFAttribute, getCDFId, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, paint, setBackground, setBackgroundColor, setBorder, setCDFAttribute, setCDFId, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask
Methods Inherited From jsx3.gui.Interactive
doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy
Methods Inherited From jsx3.gui.Painted
focus, getAbsolutePosition, getAttribute, getAttributes, getRendered, insertHTML, onAfterPaint, onAfterRestoreView, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute
Methods Inherited From jsx3.app.Model
adoptChild, assembleFromXML, doClone, findAncestor, findDescendants, getAncestorOfName, getAncestorOfType, getChild, getChildIndex, getChildren, getDescendantOfName, getDescendantsOfType, getDynamicProperty, getFirstChild, getFirstChildOfType, getHelpId, getId, getLastChild, getLoadType, getMetaValue, getNS, getName, getNextSibling, getParent, getPersistence, getPreviousSibling, getServer, getUriResolver, insertBefore, load, loadAndCache, loadXML, onAfterAssemble, onAfterAttach, onBeforeAssemble, onChangeServer, onChildAdded, onDestroy, onRemoveChild, onSetChild, onSetParent, removeChild, removeChildren, selectDescendants, setChild, setDynamicProperty, setHelpId, setLoadType, setMetaValue, setName, setPersistence, toString, toXML, toXMLDoc, toXMLElm
Methods Inherited From jsx3.util.EventDispatcher
publish, subscribe, unsubscribe, unsubscribeAll
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Field Detail

dijit

dijit._Widget dijit
The native Dojo widget object.
Constructor Detail

init

void init(strName : ?, vntLeft : ?, vntTop : ?, vntWidth : ?, vntHeight : ?, dijitClassName : String, dijitProps : Object, dijitStyleSheets : Array<String>)
The instance initializer.

Parameters:

strName
vntLeft
vntTop
vntWidth
vntHeight
dijitClassNamethe class name of the Dojo widget you are instantiating.
dijitPropsthe properties to send to the Dojo class constructor.
dijitStyleSheetspaths of extra stylesheets to load relative to the Dojo root.
Method Detail

attr

void attr(name : String, value : Object)
Gets or sets a property of the native Dojo object. Calling this method with two parameters sets the property.

Parameters:

namethe name of the property to get or set.
valuethe new value of the property.