LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
XGridColumnModel.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 grid {
22
23
31published interface XGridColumnModel
32{
35 interface ::com::sun::star::lang::XComponent;
36
39 interface ::com::sun::star::container::XContainer;
40
43 interface ::com::sun::star::util::XCloneable;
44
51
59
77 long addColumn( [in] XGridColumn column )
79
89 void removeColumn( [in] long ColumnIndex )
91
96 sequence<XGridColumn> getColumns();
97
104 XGridColumn getColumn( [in] long index)
106
117 void setDefaultColumns([in] long elements);
118};
119
120
121}; }; }; }; };
122
123/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition IndexOutOfBoundsException.idl:31
An instance of this interface is used by the UnoControlGrid to retrieve the column structure that is ...
Definition XGridColumnModel.idl:32
void removeColumn([in] long ColumnIndex)
removes a column from the model
XGridColumn getColumn([in] long index)
Returns a specific column.
sequence< XGridColumn > getColumns()
Returns all columns of the model.
void setDefaultColumns([in] long elements)
Fills the model with the given number of default columns.
long getColumnCount()
Returns the number of columns.
long addColumn([in] XGridColumn column)
Adds a column to the model.
XGridColumn createColumn()
creates a new column for use with the column model.
The XGridColumn defines the properties and behavior of a column in a grid control.
Definition XGridColumn.idl:29
Definition Ambiguous.idl:20