Language
The Free and Open Productivity Suite
:: com :: sun :: star :: awt :: tree ::
|
interface XTreeNode |
|
- Description
- An instance implementing this interface represents the model data for an entry in a
XTreeDataModel.
The TreeControl uses this interface to retrieve the model
information needed to display a hierarchical outline
Each XTreeNode in a XTreeDataModel must be unique.
|
Methods' Summary |
getChildAt |
Returns the child tree node at Index.
|
getChildCount |
Returns the number of child nodes. |
getParent |
Returns the parent node of this node. |
getIndex |
Returns the index of Node in this instances children.
|
hasChildrenOnDemand |
Returns true if the children of this node are created on demand.
|
getDisplayValue |
If not empty, the textual representation of this any is used as the text part of this node.
|
getNodeGraphicURL |
The URL for a graphic that is rendered before the text part of this node.
|
getExpandedGraphicURL |
The URL for a graphic that is rendered to visualize expanded non leaf nodes.
|
getCollapsedGraphicURL |
The URL for a graphic that is rendered to visualize collapsed non leaf nodes.
|
Methods' Details |
getChildAt
- Description
- Returns the child tree node at Index.
- Throws
- ::com::sun::star::lang::IndexOutOfBoundsException
if Index is less than 0 or equal or greater then getChildCount.
|
|
getChildCount
- Description
- Returns the number of child nodes.
|
|
getParent
- Description
- Returns the parent node of this node.
|
|
getIndex
- Description
- Returns the index of Node in this instances children.
- Returns
- The child index of Node , or -1 if Node is no child of this instance.
|
|
hasChildrenOnDemand
boolean |
hasChildrenOnDemand(); |
- Description
- Returns true if the children of this node are created on demand.
A TreeControl will handle a node that returns true always
like a node that has child nodes, even if getChildCount
returns 0.
- See also
- TreeExpansionListener;
|
|
getDisplayValue
- Description
- If not empty, the textual representation of this any is used as the text part of this node.
|
|
getNodeGraphicURL
string |
getNodeGraphicURL(); |
- Description
- The URL for a graphic that is rendered before the text part of this node.
If this URL is empty, no graphic is rendered.
|
|
getExpandedGraphicURL
string |
getExpandedGraphicURL(); |
- Description
- The URL for a graphic that is rendered to visualize expanded non leaf nodes.
If URL is empty, XTreeControl::DefaultExpandedGraphicURL is used.
|
|
getCollapsedGraphicURL
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.