Content for OpenOffice.org version 3.3.
:: com :: sun :: star :: awt :: grid ::
|
| unpublished |
interface XGridColumnModel |
|
|
|
- Usage Restrictions
- not published
- Description
- An instance of this interface is used by the UnoControlGrid to
retrieve the column structure that is displayed in the actual control.
If you do not need your own model implementation, you can also use the DefaultGridColumnModel.
- Since
- OOo 3.3.0
|
| Methods' Summary |
| getColumnCount |
Returns the number of columns.
|
| addColumn |
Adds a column to the model.
|
| getColumns |
Returns all columns of the model.
|
| getColumn |
Returns a specific column.
|
| setDefaultColumns |
Sets default columns to the column model.
|
| copyColumn |
Creates new XGridColumn with the settings of other column. To be used if the columns which are added to
the column model have the same settings.
|
| Methods' Details |
getColumnCount
- Description
- Returns the number of columns.
- Returns
- the number of columns.
|
|
addColumn
- Description
- Adds a column to the model.
- Parameter column
- the column to add to the model.
- Returns
- the index of new created column.
|
|
getColumns
- Description
- Returns all columns of the model.
- Returns
- all columns associated with the model in a sequence of XGridColumn.
|
|
getColumn
- Description
- Returns a specific column.
- Parameter index
- the position of the requested column.
- Returns
- the requested column.
|
|
setDefaultColumns
| void |
| setDefaultColumns( |
[in] long |
elements ); |
- Description
- Sets default columns to the column model.
- Parameter elements
- the number of default columns that should be set.
|
|
copyColumn
- Description
- Creates new XGridColumn with the settings of other column. To be used if the columns which are added to
the column model have the same settings.
- Parameter column
- the column, which is already created
|
|
| Attributes' Details |
ColumnHeaderHeight
long ColumnHeaderHeight;
- Description
- Specifies the height of column header.
|
|
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.