このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XGridColumn
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: awt :: grid ::

interface XGridColumn
Base Interfaces
XGridColumn
┣ ::com::sun::星/主役にする::lang::XComponent
┗ ::com::sun::星/主役にする::util::XCloneable

::com::sun::星/主役にする::lang::XComponent
Description
器具/実施するs life time 支配(する)/統制する for the 構成要素
::com::sun::星/主役にする::util::XCloneable
Description
許すs cloning the 完全にする grid column
Description
The XGridColumn defines the 所有物/資産/財産s and 行為 of a column in a grid 支配(する)/統制する
Since
OOo 3.3

Methods' 要約
addGridColumnListener 追加するs a listener for the GridColumnEvent 地位,任命するd after the grid changes.  
removeGridColumnListener 除去するs a listener 以前 追加するd with addColumnListener().  
せいにするs' 要約
Identifier 明示するs an identifier of the column  
ColumnWidth 明示するs the 現在の width of the column.  
MinWidth 明示するs the 極小の width the column can have.  
MaxWidth 明示するs the maximal width the column can have.  
Resizeable 支配(する)/統制するs whether or not the column's width is 直す/買収する,八百長をするd or not.  
柔軟性 明示するs the 柔軟性 of the column when it is automatically resized 予定 to the grid 支配(する)/統制する as a whole 存在 resized.  
HorizontalAlign 明示するs the 水平の alignment of the content in the 支配(する)/統制する.  
肩書を与える A 肩書を与える is 陳列する,発揮するd in the colum header 列/漕ぐ/騒動 if UnoControlGridModel::ShowRowHeader is 始める,決める to true 
HelpText is the help text associated with the column.  
索引 denotes the 索引 of the column within the grid column model it belongs to  
DataColumnIndex denotes the 索引 of the data column which should be used to fetch this grid column's data  
Methods' 詳細(に述べる)s
addGridColumnListener
無効の
addGridColumnListener( [in] XGridColumnListener  listener );

Description
追加するs a listener for the GridColumnEvent 地位,任命するd after the grid changes.
Parameter Listener
the listener to 追加する.
removeGridColumnListener
無効の
removeGridColumnListener( [in] XGridColumnListener  listener );

Description
除去するs a listener 以前 追加するd with addColumnListener().
Parameter Listener
the listener to 除去する.
せいにするs' 詳細(に述べる)s
Identifier
any Identifier;
Description
明示するs an identifier of the column

This identifier will not be 評価するd by the grid 支配(する)/統制する, or its model. It is 単に for (弁護士の)依頼人s to identify particular columns.

ColumnWidth
long ColumnWidth;
Description
明示するs the 現在の width of the column.
MinWidth
long MinWidth;
Description
明示するs the 極小の width the column can have.
MaxWidth
long MaxWidth;
Description
明示するs the maximal width the column can have.
Resizeable
boolean Resizeable;
Description
支配(する)/統制するs whether or not the column's width is 直す/買収する,八百長をするd or not.

If this is true, the 使用者 can interactively change the column's width. Also, the column is 支配する to 自動車-resizing, if its 柔軟性 せいにする is greater 0.

柔軟性
long 柔軟性
始める,決める raises (::com::sun::星/主役にする::lang::IllegalArgumentException);

Description
明示するs the 柔軟性 of the column when it is automatically resized 予定 to the grid 支配(する)/統制する as a whole 存在 resized.

明示する 0 here if you do not want the column to be resized automatically.

If a column has a 柔軟性 greater than 0, it is 始める,決める in 関係 to the 柔軟性 of all other such columns, and the 各々の widths of the columns are changed in the same 関係.

公式文書,認める that a column's 柔軟性 is ignored if its Resizeable せいにする is 誤った.

A column's 柔軟性 cannot be 消極的な, 試みる/企てるs to 始める,決める a 消極的な value will raise an exception.

HorizontalAlign
::com::sun::星/主役にする::style::HorizontalAlignment HorizontalAlign;
Description
明示するs the 水平の alignment of the content in the 支配(する)/統制する.
肩書を与える
string 肩書を与える;
Description
A 肩書を与える is 陳列する,発揮するd in the colum header 列/漕ぐ/騒動 if UnoControlGridModel::ShowRowHeader is 始める,決める to true
HelpText
string HelpText;
Description
is the help text associated with the column.

A grid 支配(する)/統制する will usually 陳列する,発揮する a column's help text as tooltip.

索引
[ readonly ] long 索引;
Description
denotes the 索引 of the column within the grid column model it belongs to

If the column is not yet part of a column model, 索引 is -1.

DataColumnIndex
long DataColumnIndex;
Description
denotes the 索引 of the data column which should be used to fetch this grid column's data

A grid 支配(する)/統制する has a column model and a data model, both 含む/封じ込めるing a かもしれない different number of columns. The DataColumnIndex せいにする defines the 索引 of the column within the data model, which should be used to retrieve actual data.

Using this, you can do runtime changes to the column model, i.e. insertion and 除去 of columns, without やむを得ず needing to adjust the data model, too.

If DataColumnIndex is 消極的な, the it will be ignored, then the column's 索引 within its column model, as 決定するd by the 索引 せいにする, will be used.

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.