jsxid
jsxselected
jsxstyle
jsxclass
jsxopen
jsximg
jsxtip
jsxtext
jsxunselectable
EXECUTE –SELECT (deprecated) –MENU –TOGGLE –CHANGE –SPYGLASS –ADOPT –DROP/CTRL_DROP/BEFORE_DROP/CANCEL_DROP –| Field Summary | |
|---|---|
| static String | jsx:///images/matrix/append.gif
|
| static String | #8CAEDF (default)
|
| static String | #ffffff (default)
|
| static String | (default)
|
| static String | Deprecated. |
| static String | |
| static String | JSX/images/tree/file.gif (default)
|
| static String | JSX/images/tree/minus.gif (default)
|
| static String | JSX/images/tree/plus.gif (default)
|
| static String | jsx:///images/matrix/insert_before.gif
|
| static int | Enum value for the multiSelect property indicating a multi-select tree. |
| static String | Deprecated. |
| static String | JSX/images/tree/select.gif (default)
|
| static int | Enum value for the multiSelect property indicating a single-select tree. |
| Constructor Summary | |
|---|---|
| void | instance initializer |
| Method Summary | |
|---|---|
| int | validates the Tree; if the Tree is set to 'required', a selection must be made to pass validation. |
| void | executeRecord(strRecordId : String) Executes any bound code for the record with id strRecordId. |
| String | getIcon() Returns the Icon to use for items in the tree. |
| String | Returns the Icon to use when a node is in an open state. |
| String | Returns the Icon to use when the given tree node is in an closed state. |
| int | Deprecated. Key navigation now works with sorted trees.
|
| int | Returns whether this tree is multi- (Tree.MULTI) or single-select (Tree.SINGLE). |
| String | Returns the text/HTML to display on-screen when the xml/xsl transformation for this object results in a null or empty result set |
| int | getRoot() Returns whether or not the tree should paint its root node or paint the direct child nodes to the VIEW without rendering their containing root. |
| String | getText() Deprecated. |
| String | Array<String> | getValue() Returns the jsxid attribute for the selected CDF record/records. |
| static String | Deprecated. |
| jsx3.xml.Document | getXSL() Returns XSLT for the Tree, prioritizing the acquisition in the following order: 1) check cache; 2) check jsxxsl; 3) check jsxxslurl; 4) use default |
| String | paint() Returns the DHTML, used for this object's on-screen VIEW |
| jsx3.gui.Tree | if @strRecordId equals the id of the selected option (this.getValue()), only the text property will update;
returns a ref to self to facilitate method chaining |
| void | Reveals a record by toggling parent nodes as necessary and scrolling any containing blocks within the tree. |
| jsx3.gui.Tree | Sets the Icon to use for items in the tree; returns a ref to self |
| jsx3.gui.Tree | setIconMinus(strURL : String) Sets the Icon to use when a node is in an open state. |
| jsx3.gui.Tree | setIconPlus(strURL : String) Sets the Icon to use when the given tree node is in an closed state |
| jsx3.gui.Tree | setKeyListener(bBoolean : int) Deprecated. Key navigation now works with sorted trees.
|
| jsx3.gui.Tree | setMultiSelect(intMulti : int) Sets whether this tree is multi- (Tree.MULTI) or single-select (Tree.SINGLE). |
| jsx3.gui.Tree | Sets whether or not the tree should paint its root node or paint the direct child nodes to the VIEW without rendering their containing root; |
| jsx3.gui.Tree | Selects a record in the tree. |
| jsx3.gui.Tree | toggles the open/closed state for a node on the tree; updates both MODEL and VIEW; if the tree is not yet
painted and the open state for a node needs to be set, call: [tree instance].insertRecordProperty(@strId,@strPropName,@strPropValue,false);
if there is a VIEW for the item, the 'ontoggle' event will be fired; if the developer has bound an ontoggle script
(e.g. |
| Methods Inherited From jsx3.gui.Form |
|---|
| doKeyBinding, doReset, getDisabledBackgroundColor, getDisabledColor, getEnabled, getKeyBinding, getRequired, getValidationState, setDisabledBackgroundColor, setDisabledColor, setEnabled, setKeyBinding, setRequired, setValidationState |
| Methods Inherited From jsx3.xml.Cacheable |
|---|
| clearXmlData, getNodeSet, getShareResources, getXML, getXMLId, getXMLString, getXMLTransformers, getXMLURL, getXSLId, getXSLParams, getXSLString, getXSLURL, getXmlAsync, getXmlBind, onXmlBinding, removeXSLParam, removeXSLParams, resetCacheData, resetData, resetXmlCacheData, resetXslCacheData, setNodeSet, setShareResources, setSourceXML, setXMLId, setXMLString, setXMLTransformers, setXMLURL, setXSLId, setXSLParam, setXSLString, setXSLURL, setXmlAsync, setXmlBind |
| Methods Inherited From jsx3.xml.CDF |
|---|
| adoptRecord, adoptRecordBefore, convertProperties, deleteRecord, deleteRecordProperty, getRecord, getRecordNode, insertRecord, insertRecordBefore, insertRecordNode, insertRecordProperty, reloadFromSource |
| Methods Inherited From jsx3.gui.Block |
|---|
| getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, 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, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty |
| 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 |
|---|
multiSelect property indicating a multi-select tree.multiSelect property indicating a single-select tree.| Constructor Detail |
|---|
| Method Detail |
|---|
strRecordId. This method only invokes the
EXECUTE model event for this tree under the deprecated 3.0 model event protocol.jsxid value for the record node (according to the CDF) to execute
Tree.MULTI) or single-select (Tree.SINGLE).null if none
selected; if multi-select an array of the selected record ids.
overflow:expand and the containing block is set to overflow:scroll.
null if none
selected; if multi-select an array of the selected record ids.
overflow:expand and the containing block is set to overflow:scroll.
Tree.MULTI) or single-select (Tree.SINGLE).Tree.MULTI or Tree.SINGLE