LibreOffice
LibreOffice 24.2 SDK API Reference
XGridColumn.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 
21 module com { module sun { module star { module awt { module grid {
22 
23 
28 published interface XGridColumn
29 {
32  interface ::com::sun::star::lang::XComponent;
33 
36  interface ::com::sun::star::util::XCloneable;
37 
43  [attribute] any Identifier;
44 
47  [attribute] long ColumnWidth;
48 
51  [attribute] long MinWidth;
52 
55  [attribute] long MaxWidth;
56 
62  [attribute] boolean Resizeable;
63 
77  [attribute] long Flexibility
78  {
80  };
81 
85 
87  [attribute] string Title;
88 
93  [attribute] string HelpText;
94 
99  [attribute, readonly] long Index;
100 
113  [attribute] long DataColumnIndex;
114 
119  void addGridColumnListener( [in] XGridColumnListener Listener);
120 
121 
126  void removeGridColumnListener( [in] XGridColumnListener Listener);
127 };
128 
129 
130 }; }; }; }; };
131 
132 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
long DataColumnIndex
denotes the index of the data column which should be used to fetch this grid column's data ...
Definition: XGridColumn.idl:113
any Identifier
specifies an identifier of the column
Definition: XGridColumn.idl:36
Definition: Ambiguous.idl:20
The XGridColumn defines the properties and behavior of a column in a grid control.
Definition: XGridColumn.idl:28
string Title
A title is displayed in the column header row if UnoControlGridModel::ShowColumnHeader() is set to TR...
Definition: XGridColumn.idl:87
::com::sun::star::style::HorizontalAlignment HorizontalAlign
Specifies the horizontal alignment of the content in the control.
Definition: XGridColumn.idl:84
string HelpText
is the help text associated with the column.
Definition: XGridColumn.idl:93
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:25
long ColumnWidth
specifies the current width of the column.
Definition: XGridColumn.idl:47
HorizontalAlignment
values specify the horizontal alignment of an object within a container object.
Definition: HorizontalAlignment.idl:27
boolean Resizeable
controls whether or not the column's width is fixed or not.
Definition: XGridColumn.idl:62
long MaxWidth
specifies the maximal width the column can have.
Definition: XGridColumn.idl:55
An instance of this interface is used by the XGridColumnModel to get notifications about column model...
Definition: XGridColumnListener.idl:29
long Index
denotes the index of the column within the grid column model it belongs to
Definition: XGridColumn.idl:99
long MinWidth
specifies the minimal width the column can have.
Definition: XGridColumn.idl:51