User Guide
1280 Tree component (Flash Professional only)
Methods inherited from the UIComponent class
The following table lists the methods the Tree class inherits from the UIComponent class.
When calling these methods from the Tree object, use the form
TreeInstance.methodName.
Methods inherited from the List class
The following table lists the methods the Tree class inherits from the List class. When calling
these methods from the Tree object, use the form
TreeInstance.methodName.
UIObject.invalidate() Marks the object so it is redrawn on the next frame interval.
UIObject.move() Moves the object to the requested position.
UIObject.redraw() Forces validation of the object so it is drawn in the current
frame.
UIObject.setSize() Resizes the object to the requested size.
UIObject.setSkin() Sets a skin in the object.
UIObject.setStyle() Sets the style property on the style declaration or object.
Method Description
UIComponent.getFocus() Returns a reference to the object that has focus.
UIComponent.setFocus() Sets focus to the component instance.
Method Description
List.addItem() Adds an item to the end of the list.
List.addItemAt() Adds an item to the list at the specified index. With the Tree
component, it is better to use
Tree.addTreeNodeAt().
List.getItemAt() Returns the item at the specified index.
List.removeAll() Removes all items from the list.
List.removeItemAt() Removes the item at the specified index.
List.replaceItemAt() Replaces the item at the specified index with another item.
List.setPropertiesAt() Applies the specified properties to the specified item.
List.sortItems() Sorts the items in the list according to the specified compare
function.
List.sortItemsBy() Sorts the items in the list according to a specified property.
Method Description