Content for OpenOffice.org version 3.3.
:: com :: sun :: star :: awt :: grid ::
|
| unpublished |
interface XGridColumn |
|
|
|
- Usage Restrictions
- not published
- Description
- The XGridColumn defines the properties and behavior of a column in a grid control
- Since
- OOo 3.3.0
|
| Attributes' Summary |
| Identifier |
Specifies the an idendifier of the colomn. |
| ColumnWidth |
Specifies the default column witdth. |
| PreferredWidth |
Specifies the preferred column witdth. |
| MinWidth |
Specifies the min column witdth. |
| MaxWidth |
Specifies the max column witdth. |
| Resizeable |
Specifies whether column has fixed size or not. |
| HorizontalAlign |
Specifies the horizontal alignment of the content in the control.
|
| Title |
A title is displayed in the colum header row if UnoControlGridModel::ShowRowHeader is set to true |
| Methods' Details |
addColumnListener
- Description
- Adds a listener for the GridColumnEvent posted after the grid changes.
- Parameter Listener
- the listener to add.
|
|
removeColumnListener
- Description
- Removes a listener previously added with addColumnListener().
- Parameter Listener
- the listener to remove.
|
|
updateColumn
| void |
| updateColumn( |
[in] string |
name, |
| [in] long |
width ); |
- Description
- Updates changed column widths, when column widths are being resized.
- Parameter name
- can be PrefWidth or ColWidth, depending on which was changed
- Parameter width
- the new column width
|
|
setIndex
| void |
| setIndex( |
[in] long |
index ); |
- Description
- Sets column index
- Parameter index
- index, which is the index of the column in the column array of the column model
|
|
| Attributes' Details |
Identifier
any Identifier;
- Description
- Specifies the an idendifier of the colomn.
|
|
ColumnWidth
long ColumnWidth;
- Description
- Specifies the default column witdth.
|
|
PreferredWidth
long PreferredWidth;
- Description
- Specifies the preferred column witdth.
|
|
MinWidth
long MinWidth;
- Description
- Specifies the min column witdth.
|
|
MaxWidth
long MaxWidth;
- Description
- Specifies the max column witdth.
|
|
Resizeable
boolean Resizeable;
- Description
- Specifies whether column has fixed size or not.
|
|
HorizontalAlign
::com::sun::star::style::HorizontalAlignment HorizontalAlign;
- Description
- Specifies the horizontal alignment of the content in the control.
LEFT
CENTER
RIGHT
|
|
Title
string Title;
- Description
- A title is displayed in the colum header row if UnoControlGridModel::ShowRowHeader is set to true
|
|
Top of Page
Copyright © 1995, 2010, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.