LibreOffice LibreOffice 25.2 SDK API Reference

XMutableTreeNode.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
26 interface XMutableTreeNode : XTreeNode
27{
33 void appendChild( [in] XMutableTreeNode ChildNode )
34 raises( com::sun::star::lang::IllegalArgumentException );
35
50 void insertChildByIndex( [in] long Index, [in] XMutableTreeNode ChildNode )
51 raises( com::sun::star::lang::IllegalArgumentException,
52 com::sun::star::lang::IndexOutOfBoundsException );
53
62 void removeChildByIndex( [in] long Index )
63 raises( com::sun::star::lang::IndexOutOfBoundsException );
64
69 void setHasChildrenOnDemand( [in] boolean ChildrenOnDemand );
70
72 void setDisplayValue( [in] any Value );
73
79 [attribute] any DataValue;
80
84 void setNodeGraphicURL( [in] string URL );
85
89 void setExpandedGraphicURL( [in] string URL );
90
94 void setCollapsedGraphicURL( [in] string URL );
95};
96
97
98}; }; }; }; };
99
100/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
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::XMutableTreeNode
Represents a mutable tree node as used by the MutableTreeDataModel.
Definition: XMutableTreeNode.idl:27
com::sun::star::awt::tree::XMutableTreeNode::setExpandedGraphicURL
void setExpandedGraphicURL([in] string URL)
The URL for a graphic that is rendered to visualize expanded non leaf nodes.
com::sun::star::awt::tree::XMutableTreeNode::DataValue
any DataValue
Stores an implementation dependent value.
Definition: XMutableTreeNode.idl:79
com::sun::star::awt::tree::XMutableTreeNode::insertChildByIndex
void insertChildByIndex([in] long Index, [in] XMutableTreeNode ChildNode)
inserts ChildNode to this instance at the given index.
com::sun::star::awt::tree::XMutableTreeNode::appendChild
void appendChild([in] XMutableTreeNode ChildNode)
appends ChildNode to this instance.
com::sun::star::awt::tree::XMutableTreeNode::setHasChildrenOnDemand
void setHasChildrenOnDemand([in] boolean ChildrenOnDemand)
Changes if the children of this node are created on demand.
com::sun::star::awt::tree::XMutableTreeNode::setCollapsedGraphicURL
void setCollapsedGraphicURL([in] string URL)
The URL for a graphic that is rendered to visualize collapsed non leaf nodes.
com::sun::star::awt::tree::XMutableTreeNode::removeChildByIndex
void removeChildByIndex([in] long Index)
removes the node from this instance at the specified index.
com::sun::star::awt::tree::XMutableTreeNode::setNodeGraphicURL
void setNodeGraphicURL([in] string URL)
The URL for a graphic that is rendered before the text part of this node.
com::sun::star::awt::tree::XMutableTreeNode::setDisplayValue
void setDisplayValue([in] any Value)
sets the display value of this node
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::form::URL
@ URL
When the button is clicked, a URL set for the button is opened.
Definition: FormButtonType.idl:50
com
Definition: Ambiguous.idl:20