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

翻訳前ページへ


Interface XGridControl
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XGridControl
Description
An interface to a 支配(する)/統制する that 陳列する,発揮するs a tabular data.
Since
OOo 3.3
See also
UnoControlGrid

Methods' 要約
getColumnAtPoint retrieves the column which a given point belongs to  
getRowAtPoint retrieves the 列/漕ぐ/騒動 which a given point belongs to  
getCurrentColumn returns the column 索引 of the 現在/一般に active 独房  
getCurrentRow returns the 列/漕ぐ/騒動 索引 of the 現在/一般に active 独房  
goToCell moves the cursor to the given 独房  
Methods' 詳細(に述べる)s
getColumnAtPoint
long
getColumnAtPoint( [in] long  X,
[in] long  Y );

Description
retrieves the column which a given point belongs to
Parameter X
the ordinate of the point, in pixel 調整するs.
Parameter Y
the abscissa of the point, in pixel 調整するs.
Returns
the 索引 of the column which the point lies in, or -1 if no column is under the given point.
getRowAtPoint
long
getRowAtPoint( [in] long  X,
[in] long  Y );

Description
retrieves the 列/漕ぐ/騒動 which a given point belongs to
Parameter X
the ordinate of the point, in pixel 調整するs.
Parameter Y
the abscissa of the point, in pixel 調整するs.
Returns
the 索引 of the 列/漕ぐ/騒動 which the point lies in, or -1 if no 列/漕ぐ/騒動 is under the given point.
getCurrentColumn
long
getCurrentColumn();

Description
returns the column 索引 of the 現在/一般に active 独房

If the grid 支配(する)/統制する's does not 含む/封じ込める any 独房s (which happens if the grid column model does not 含む/封じ込める any columns, or if grid data model does not 含む/封じ込める any 列/漕ぐ/騒動s), then -1 is returned.

getCurrentRow
long
getCurrentRow();

Description
returns the 列/漕ぐ/騒動 索引 of the 現在/一般に active 独房

If the grid 支配(する)/統制する's does not 含む/封じ込める any 独房s (which happens if the grid column model does not 含む/封じ込める any columns, or if grid data model does not 含む/封じ込める any 列/漕ぐ/騒動s), then -1 is returned.

goToCell
無効の
goToCell( [in] long  ColumnIndex,
[in] long  RowIndex )
raises( ::com::sun::星/主役にする::lang::IndexOutOfBoundsException,
::com::sun::星/主役にする::util::VetoException );

Description
moves the cursor to the given 独房
Parameter ColumnIndex
the column 索引 of the 独房 to 活動させる/戦時編成する.
Parameter RowIndex
the 列/漕ぐ/騒動 索引 of the 独房 to 活動させる/戦時編成する.
Throws
::com::sun::星/主役にする::lang::IndexOutOfBoundsException if either ColumnIndex or RowIndex are out of 範囲.
Throws
::com::sun::星/主役にする::util::VetoException if moving the cursor to another 独房 is 拒否権d.
最高の,を越す 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.