public class SapTable extends SapComponent
修飾子 | コンストラクタと説明 |
---|---|
protected |
SapTable(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい SapTable を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
configureLayout()
テーブルのレイアウトを変更するために、レイアウトの設定ダイアログを開きます。
|
void |
deselectAllColumns()
この関数は、1 ステップですべての列の選択を解除できるボタンを持つテーブル コントロールに対して使用することができます。
|
void |
deselectColumn(int column)
指定した列の選択を解除します。
|
void |
deselectRow(int row)
指定した行の選択を解除します。
|
SapComponent |
getCell(int row,
int column)
可視なテーブル セルを返します。
|
SapComponent |
getCellAbsolute(int row,
int column)
テーブル セルを返します。
|
List<SapComponent> |
getCellsForRow(int row)
指定した行のセルを返します。
|
int |
getCharHeight()
[読み取り専用] 要素の高さ(文字単位)。
|
int |
getCharLeft()
[読み取り専用] 要素の左からの座標(文字単位)。
|
int |
getCharTop()
[読み取り専用] 要素の上からの座標(文字単位)。
|
int |
getCharWidth()
[読み取り専用] 要素の幅(文字単位)。
|
int |
getColumnCount()
[読み取り専用] テーブルの列の数。
|
TableSelectionType |
getColumnSelectionMode()
[読み取り専用] 列の選択モード。
|
String |
getColumnTitle(int column)
このメソッドは指定した列のタイトルを返します。
|
int |
getCurrentColumn()
[読み取り専用] 現在の列のインデックス。.
|
int |
getCurrentRow()
[読み取り専用] 現在の行のインデックス。.
|
int |
getRowCount()
[読み取り専用] テーブルの行の数(不可視の行を含む)。
|
TableSelectionType |
getRowSelectionMode()
[読み取り専用] 行の選択モード。
|
String |
getTableFieldName()
[読み取り専用] テーブルのフィールド名。
|
List<SapComponent> |
getVisibleCellsForColumn(int column)
指定した列の可視なセルを返します。
|
int |
getVisibleRowCount()
[読み取り専用] テーブルの可視な行の数。
|
boolean |
isColumnSelected(int column)
指定した列が選択されている場合に true を返します。
|
boolean |
isRowSelected(int row)
指定した行が選択されている場合に true を返します。
|
void |
reorderTable(String permutation)
このメソッドは列の順序を並べ替えます。
|
void |
selectAllColumns()
この関数は、1 ステップですべての列を選択できるボタンを持つテーブル コントロールに対して使用することができます。
|
void |
selectColumn(int column)
指定した列を選択します。
|
void |
selectRow(int row)
指定した行を選択します。
|
getAccessibilityText, getAccessibilityTextOnRequest, getAccessibilityTooltip, getDefaultTooltip, getHeight, getIconName, getLeft, getName, getScreenLeft, getScreenTop, getTooltip, getTop, getWidth, isChangeable, isFocused, isModified, isSymbolFont, setFocus, showContextMenu
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected SapTable(JtfObjectHandle handle, Desktop desktop)
handle
- SapTable を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void configureLayout()
public void deselectAllColumns()
public void deselectColumn(int column)
column
- 列のインデックス。. The value is zero-based.public void deselectRow(int row)
row
- 行のインデックス。. The value is zero-based.public SapComponent getCell(int row, int column)
row
- 可視な最初の行から始まる行のインデックス。. The value is zero-based.column
- 列のインデックス。. The value is zero-based.public SapComponent getCellAbsolute(int row, int column)
row
- 行のインデックス。. The value is zero-based.column
- 列のインデックス。. The value is zero-based.public List<SapComponent> getCellsForRow(int row)
row
- 行のインデックス。. The value is zero-based.public String getColumnTitle(int column)
column
- 列のインデックス。. The value is zero-based.public List<SapComponent> getVisibleCellsForColumn(int column)
column
- 列のインデックス。. The value is zero-based.public boolean isColumnSelected(int column)
column
- 列のインデックス。. The value is zero-based.public boolean isRowSelected(int row)
row
- 行のインデックス。. The value is zero-based.public void reorderTable(String permutation)
permutation
- 列の新しい順序を指定します。 たとえば、 "1 3 2" と指定すると、列 3 が 2 番目の位置に移動します。public void selectAllColumns()
public void selectColumn(int column)
column
- 列のインデックス。. The value is zero-based.public void selectRow(int row)
row
- 行のインデックス。. The value is zero-based.public int getCharHeight()
public int getCharLeft()
public int getCharTop()
public int getCharWidth()
public int getColumnCount()
public TableSelectionType getColumnSelectionMode()
public int getCurrentColumn()
public int getCurrentRow()
public int getRowCount()
public TableSelectionType getRowSelectionMode()
public String getTableFieldName()
public int getVisibleRowCount()
Copyright 2009-2012 Micro Focus. All Rights Reserved.