AdvancedTree Component Parameters

 

Property Name Class Description
allowDeselect Boolean Whether a selected node can be deselected when clicked a second time.
animateX Boolean Whether childnodes will animate to position on the x axis as a node is opened.
animateY Boolean Whether childnodes will animate to position on the y axis as a node is opened.
animationTime Number The amount of time in milliseconds for the tree to animate into position when a node is opened or closed.
closeOnClick Boolean Whether a single click, not doubleclick, will close an open node.
connectorOffset Number The pixel offset on the x axis from a node icon's center at which connector lines are drawn.
contentInset Number The pixel inset of the content's position and mask from the outside of the scrollpane inner graphic.
copyOnControl Boolean Whether a node is copied when dragged with the CONTROL or COMMAND key pressed.
displayRoot Boolean Whether the root node in the tree is displayed.
draggable Boolean Whether nodes in the tree are draggable.
editable Boolean Whether nodes use editable text fields.
externalDropEnabled Boolean Whether the tree will accept drops from external sources.
file String The path to the XML file to load upon initialization, if any.
forceSingleOpenBranch Boolean Whether opening a node will force other branches to automatically close.
getLabelFromName Boolean Whether a node's label in the tree is generated from the XMLNode nodename.
highlightSelectedAncestors Boolean Whether a selected node's ancestors should also be shown in a selected state.
horizontalScrollPolicy Boolean Whether the horizontal scrollbar on the tree should always be visible ("always"), hidden, ("never") or only be visible when needed ("automatic").
iconBuffer Number The pixel distance between icon and label of node.
indentation Number The pixel distance on the x axis each level of the tree is displayed in relation to its parent level.
internalDropEnabled Boolean Whether the tree will accept drops from its own dragged nodes.
lockNodeSize Boolean Whether nodes expand to match the length of the node label.
marginBottom Number The number of pixels visible below the last node in the tree.
marginLeft Number The number of pixels visible to the left of the top level nodes in the tree.
marginRight Number The number of pixels visible to the right of the longest node in the tree.
marginTop Number The number of pixels visible above the top node in the tree.
multiline Boolean Whether nodes should render text in multilines.
nodeGraphicBuffer Number The pixel inset on the x and y axis of a node label field in relation to the width and height of its graphic.
nodeHeight Number The pixel height of a node in the tree, determining the selectable area.
nodeLabelOffsetX Number The pixel amount that labels for a node will be offset on the x axis from their default position.
nodeLabelOffsetY Number The pixel amount that labels for a node will be offset on the y axis from their default position.
nodeLeading Number The vertical pixel distance between nodes in the tree.
nodeMinWidth Number When lockNodeSize is set to true, the minimum pixel size allows for a node.
preventClose Boolean Whether nodes in the tree may be opened, but not closed by the user.
scrollbarBuffer Number The pixel buffer between the scrollbars and the scrollpane inner graphic.
scrollbarButtonLayout String The layout for the buttons on a scrollbar (top, bottom, spread).
scrollbarHorizontalSide String The side of the tree where the horizontal scrollbar is displayed (top or bottom).
scrollbarInset Number The number of pixels between the scrollbars and the outside of the tree.
scrollbarSliderInset Number The number of pixels between the scrollbar slider and the edge of the scrollbar or scrollbar buttons.
scrollbarVerticalSide String The side of the tree where the vertictal scrollbar is displayed (right or left).
scrollbarWidth Number The pixel width (for vertical scrollbars) or height (for horizontal scrollbars) of the scrollbar.
selectMultiple Boolean Whether multiple nodes in the tree may be selected at the same time using CONTROL or COMMAND.
skinDefinitions Collection A map of skin names to the class that should be used to draw that skin.
styleProperties Collection A map of style property names and their respective values.
tooltipAttribute String The attribute name whose value will be used as a tooltip for the node.
tooltipMaxWidth Number The maximum pixel width for a node tooltip before it wraps on to multiple lines.
useConnectors Boolean Whether line connectors are drawn between nodes and their children.
useHandCursor Boolean Whether the cursor should switch to the hyperlink hand icon when over a clickable node.
useOpenClose Boolean Whether the open/close button is displayed next to a node's icon when the node has children.
useSelectionHighlight Boolean Whether a selection highlight box is drawn around a selected node.
useToolTips Boolean Whether nodes display tooltips when a mouse hovers over.
verticalScrollPolicy Boolean Whether the vertical scrollbar on the tree should always be visible ("always"), hidden, ("never") or only be visible when needed ("automatic").