:: com :: sun :: star :: awt :: tree ::
|
unpublished |
interface XTreeNode |
|
|
|
- Usage Restrictions
- not published
- 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 © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.