DroidDiagram Programmer's Guide
TreeViewItem Members
Constructors Methods
 


Represents a constituent item of the hierarchy displayed inside a TreeViewNode.

The following tables list the members exposed by the TreeViewItem type.

 Public Constructors

  Name Description

TreeViewItem

Overloaded.  

 Public Methods

  Name Description

clone

Creates a copy of this item.

getChildren

Gets a list of this item's children in the hierarchy.

getEditRect

Implements InplaceEditable.getEditRect. Returns the rectangle where the in-place edit text box should appear (in document coordinates).

getExpanded

Gets whether this item is expanded to show its children.

getHeight

Gets the height of this item.

getIncomingLinks

Gets a collection of all links that point to this item.

getLabel

Gets the label of this item.

getLabelBrush

Gets the brush used to draw this item's label text.

getLabelFont

Gets the label font of this item.

getOutgoingLinks

Gets a collection of all links that go out of this item.

getParent

Gets the parent item of this item.

getTag

Gets custom data associated with this item.

getTextToEdit

Implements InplaceEditable.getTextToEdit. Returns the text that should be displayed initially when this item is edited in-place.

loadFromXml

Loads the item content from an XML element.

readExternal

Implements Externalizable.

renderText

 

setEditedText

Implements InplaceEditable.setEditedText. Assigns the edited text to the item after in-place edit operation completes successfully

setExpanded

Sets whether this item is expanded to show its children.

setHeight

Sets the height of this item.

setImage

Sets the image that is displayed in this treeview item.

setLabel

Sets the label of this item.

setLabelBrush

Sets the brush used to draw this item's label text.

setLabelFont

Sets the label font of this item.

setTag

Sets custom data associated with this item.

writeExternal

Implements Externalizable.

 Protected Methods

  Name Description

saveToXml

Saves the item content into an XML element.

 See Also

TreeViewItem Class
com.mindfusion.diagramming Namespace