LibreOffice LibreOffice 25.8 SDK API Reference

TreeControlModel.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
26service TreeControlModel
27{
29 service ::com::sun::star::awt::UnoControlModel;
30
34 [property] ::com::sun::star::view::SelectionType SelectionType;
35
41 [property] XTreeDataModel DataModel;
42
49 [property] boolean RootDisplayed;
50
55 [property] boolean ShowsHandles;
56
60 [property] boolean ShowsRootHandles;
61
67 [property] long RowHeight;
68
75 [property] boolean Editable;
76
83 [property] boolean InvokesStopNodeEditing;
84};
85
86
87}; }; }; }; };
88
89/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::tree::XTreeDataModel
An instance of this interface is used by the TreeControl to retrieve the hierarchical outline data th...
Definition: XTreeDataModel.idl:34
com::sun::star::view::SelectionType
SelectionType
Specifies a selection type for a view that supports a selection model.
Definition: SelectionType.idl:27
com
Definition: Ambiguous.idl:20
com::sun::star::awt::tree::TreeControlModel
specifies the standard model of a TreeControl.
Definition: TreeControlModel.idl:27
com::sun::star::awt::tree::TreeControlModel::Editable
boolean Editable
Specifies whether the nodes of the tree are editable.
Definition: TreeControlModel.idl:75
com::sun::star::awt::tree::TreeControlModel::SelectionType
::com::sun::star::view::SelectionType SelectionType
Specifies the selection mode that is enabled for this tree.
Definition: TreeControlModel.idl:29
com::sun::star::awt::tree::TreeControlModel::ShowsHandles
boolean ShowsHandles
Specifies whether the node handles should be displayed.
Definition: TreeControlModel.idl:55
com::sun::star::awt::tree::TreeControlModel::ShowsRootHandles
boolean ShowsRootHandles
Specifies whether the node handles should also be displayed at root level.
Definition: TreeControlModel.idl:60
com::sun::star::awt::tree::TreeControlModel::RowHeight
long RowHeight
Specifies the height of each row, in pixels.
Definition: TreeControlModel.idl:67
com::sun::star::awt::tree::TreeControlModel::DataModel
XTreeDataModel DataModel
Specifies the XTreeDataModel that is providing the hierarchical data.
Definition: TreeControlModel.idl:41
com::sun::star::awt::tree::TreeControlModel::RootDisplayed
boolean RootDisplayed
Specifies if the root node of the tree is displayed.
Definition: TreeControlModel.idl:49
com::sun::star::awt::tree::TreeControlModel::InvokesStopNodeEditing
boolean InvokesStopNodeEditing
Specifies what happens when editing is interrupted by selecting another node in the tree,...
Definition: TreeControlModel.idl:83