LibreOffice: com/sun/star/awt/tree/XTreeNode.idl Source File

LibreOffice LibreOffice 25.2 SDK API Reference

Loading...
Searching...
No Matches
XTreeNode.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21module com { module sun { module star { module awt { module tree {
22
23
30 interface XTreeNode
31{
37 XTreeNode getChildAt( [in] long Index )
38 raises( com::sun::star::lang::IndexOutOfBoundsException );
39
41 long getChildCount();
42
44 XTreeNode getParent();
45
51 long getIndex( [in] XTreeNode Node);
52
60 boolean hasChildrenOnDemand();
61
64 any getDisplayValue();
65
69 string getNodeGraphicURL();
70
74 string getExpandedGraphicURL();
75
79 string getCollapsedGraphicURL();
80};
81
82
83}; }; }; }; };
84
85/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IndexOutOfBoundsException
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition IndexOutOfBoundsException.idl:31
com::sun::star::awt::tree::XTreeNode
An instance implementing this interface represents the model data for an entry in a XTreeDataModel.
Definition XTreeNode.idl:31
com::sun::star::awt::tree::XTreeNode::getNodeGraphicURL
string getNodeGraphicURL()
The URL for a graphic that is rendered before the text part of this node.
com::sun::star::awt::tree::XTreeNode::getIndex
long getIndex([in] XTreeNode Node)
Returns the index of Node in this instances children.
com::sun::star::awt::tree::XTreeNode::hasChildrenOnDemand
boolean hasChildrenOnDemand()
Returns TRUE if the children of this node are created on demand.
com::sun::star::awt::tree::XTreeNode::getCollapsedGraphicURL
string getCollapsedGraphicURL()
The URL for a graphic that is rendered to visualize collapsed non leaf nodes.
com::sun::star::awt::tree::XTreeNode::getParent
XTreeNode getParent()
Returns the parent node of this node.
com::sun::star::awt::tree::XTreeNode::getExpandedGraphicURL
string getExpandedGraphicURL()
The URL for a graphic that is rendered to visualize expanded non leaf nodes.
com::sun::star::awt::tree::XTreeNode::getChildCount
long getChildCount()
Returns the number of child nodes.
com::sun::star::awt::tree::XTreeNode::getChildAt
XTreeNode getChildAt([in] long Index)
Returns the child tree node at Index.
com::sun::star::awt::tree::XTreeNode::getDisplayValue
any getDisplayValue()
If not empty, the textual representation of this any is used as the text part of this node.
com
Definition Ambiguous.idl:20