LibreOffice: com/sun/star/awt/grid/XGridColumn.idl Source File

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
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
21module com { module sun { module star { module awt { module grid {
22
23
28published 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 {
79 set raises ( ::com::sun::star::lang::IllegalArgumentException );
80 };
81
84 [attribute] ::com::sun::star::style::HorizontalAlignment HorizontalAlign;
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: */
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::awt::grid::XGridColumnListener
An instance of this interface is used by the XGridColumnModel to get notifications about column model...
Definition XGridColumnListener.idl:30
com::sun::star::awt::grid::XGridColumn
The XGridColumn defines the properties and behavior of a column in a grid control.
Definition XGridColumn.idl:29
com::sun::star::awt::grid::XGridColumn::MaxWidth
long MaxWidth
specifies the maximal width the column can have.
Definition XGridColumn.idl:55
com::sun::star::awt::grid::XGridColumn::removeGridColumnListener
void removeGridColumnListener([in] XGridColumnListener Listener)
Removes a listener previously added with addColumnListener().
com::sun::star::awt::grid::XGridColumn::Identifier
any Identifier
specifies an identifier of the column
Definition XGridColumn.idl:43
com::sun::star::awt::grid::XGridColumn::Resizeable
boolean Resizeable
controls whether or not the column's width is fixed or not.
Definition XGridColumn.idl:62
com::sun::star::awt::grid::XGridColumn::ColumnWidth
long ColumnWidth
specifies the current width of the column.
Definition XGridColumn.idl:47
com::sun::star::awt::grid::XGridColumn::HelpText
string HelpText
is the help text associated with the column.
Definition XGridColumn.idl:93
com::sun::star::awt::grid::XGridColumn::Flexibility
long Flexibility
specifies the flexibility of the column when it is automatically resized due to the grid control as a...
Definition XGridColumn.idl:80
com::sun::star::awt::grid::XGridColumn::HorizontalAlign
::com::sun::star::style::HorizontalAlignment HorizontalAlign
Specifies the horizontal alignment of the content in the control.
Definition XGridColumn.idl:84
com::sun::star::awt::grid::XGridColumn::MinWidth
long MinWidth
specifies the minimal width the column can have.
Definition XGridColumn.idl:51
com::sun::star::awt::grid::XGridColumn::Title
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::awt::grid::XGridColumn::addGridColumnListener
void addGridColumnListener([in] XGridColumnListener Listener)
Adds a listener for the GridColumnEvent posted after the grid changes.
com::sun::star::awt::grid::XGridColumn::Index
long Index
denotes the index of the column within the grid column model it belongs to
Definition XGridColumn.idl:99
com::sun::star::awt::grid::XGridColumn::DataColumnIndex
long DataColumnIndex
denotes the index of the data column which should be used to fetch this grid column's data
Definition XGridColumn.idl:113
com::sun::star::style::HorizontalAlignment
HorizontalAlignment
values specify the horizontal alignment of an object within a container object.
Definition HorizontalAlignment.idl:28
com
Definition Ambiguous.idl:20