public class Table extends Control
| Modifier | Constructor and Description |
|---|---|
protected |
Table(JtfObjectHandle handle,
Desktop desktop)
Creates a new Table with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
check(int itemIndex)
Checks the check box in the defined row of a table.
|
void |
check(ItemIdentifier item)
Checks the check box in the defined row of a table.
|
void |
check(String itemText)
Checks the check box in the defined row of a table.
|
void |
doubleSelect(int rowIndex)
Double-clicks an item.
|
void |
doubleSelect(int rowIndex,
int columnIndex)
Double-clicks an item.
|
void |
doubleSelect(int rowIndex,
int columnIndex,
ModifierKey modifiers)
Double-clicks an item.
|
void |
doubleSelect(int rowIndex,
ItemIdentifier column)
Double-clicks an item.
|
void |
doubleSelect(int rowIndex,
ItemIdentifier column,
ModifierKey modifiers)
Double-clicks an item.
|
void |
doubleSelect(int rowIndex,
String columnText)
Double-clicks an item.
|
void |
doubleSelect(int rowIndex,
String columnText,
ModifierKey modifiers)
Double-clicks an item.
|
void |
doubleSelect(ItemIdentifier row)
Double-clicks an item.
|
void |
doubleSelect(ItemIdentifier row,
int columnIndex)
Double-clicks an item.
|
void |
doubleSelect(ItemIdentifier row,
int columnIndex,
ModifierKey modifiers)
Double-clicks an item.
|
void |
doubleSelect(ItemIdentifier row,
ItemIdentifier column)
Double-clicks an item.
|
void |
doubleSelect(ItemIdentifier row,
ItemIdentifier column,
ModifierKey modifiers)
Double-clicks an item.
|
void |
doubleSelect(ItemIdentifier row,
String columnText)
Double-clicks an item.
|
void |
doubleSelect(ItemIdentifier row,
String columnText,
ModifierKey modifiers)
Double-clicks an item.
|
void |
doubleSelect(String rowText)
Double-clicks an item.
|
void |
doubleSelect(String rowText,
int columnIndex)
Double-clicks an item.
|
void |
doubleSelect(String rowText,
int columnIndex,
ModifierKey modifiers)
Double-clicks an item.
|
void |
doubleSelect(String rowText,
ItemIdentifier column)
Double-clicks an item.
|
void |
doubleSelect(String rowText,
ItemIdentifier column,
ModifierKey modifiers)
Double-clicks an item.
|
void |
doubleSelect(String rowText,
String columnText)
Double-clicks an item.
|
void |
doubleSelect(String rowText,
String columnText,
ModifierKey modifiers)
Double-clicks an item.
|
void |
extendSelectRow(int rowIndex)
Selects a range of rows.
|
void |
extendSelectRow(int rowIndex,
int columnIndex)
Selects a range of rows.
|
void |
extendSelectRow(int rowIndex,
ItemIdentifier column)
Selects a range of rows.
|
void |
extendSelectRow(int rowIndex,
String columnText)
Selects a range of rows.
|
void |
extendSelectRow(ItemIdentifier row)
Selects a range of rows.
|
void |
extendSelectRow(ItemIdentifier row,
int columnIndex)
Selects a range of rows.
|
void |
extendSelectRow(ItemIdentifier row,
ItemIdentifier column)
Selects a range of rows.
|
void |
extendSelectRow(ItemIdentifier row,
String columnText)
Selects a range of rows.
|
void |
extendSelectRow(String rowText)
Selects a range of rows.
|
void |
extendSelectRow(String rowText,
int columnIndex)
Selects a range of rows.
|
void |
extendSelectRow(String rowText,
ItemIdentifier column)
Selects a range of rows.
|
void |
extendSelectRow(String rowText,
String columnText)
Selects a range of rows.
|
void |
focusRow(int rowIndex)
Focuses on a row in the table.
|
void |
focusRow(ItemIdentifier row)
Focuses on a row in the table.
|
void |
focusRow(String rowText)
Focuses on a row in the table.
|
int |
getColumnCount()
Gets the number of columns in the table.
|
List<TableColumn> |
getColumnItems()
Gets a list of all items in the column.
|
int |
getRowCount()
Gets the number of rows in the table.
|
List<TableRow> |
getRowItems()
Gets a list of all table rows in the table.
|
List<Integer> |
getSelectedIndices()
Gets the indices of the selected item(s).
|
List<TableRow> |
getSelectedItems()
Gets the selected item(s).
|
boolean |
isAllowsCheck()
Gets whether the control can display a checkmark.
|
boolean |
isAllowsMultiSelect()
Gets whether the table supports selecting multiple items.
|
void |
multiSelectRow(int rowIndex)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(int rowIndex,
int columnIndex)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(int rowIndex,
ItemIdentifier column)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(int rowIndex,
String columnText)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(ItemIdentifier row)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(ItemIdentifier row,
int columnIndex)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(ItemIdentifier row,
ItemIdentifier column)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(ItemIdentifier row,
String columnText)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(String rowText)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(String rowText,
int columnIndex)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(String rowText,
ItemIdentifier column)
Adds a row from the table to the set of selected rows.
|
void |
multiSelectRow(String rowText,
String columnText)
Adds a row from the table to the set of selected rows.
|
void |
multiUnselectRow(int rowIndex)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(int rowIndex,
int columnIndex)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(int rowIndex,
ItemIdentifier column)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(int rowIndex,
String columnText)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(ItemIdentifier row)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(ItemIdentifier row,
int columnIndex)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(ItemIdentifier row,
ItemIdentifier column)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(ItemIdentifier row,
String columnText)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(String rowText)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(String rowText,
int columnIndex)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(String rowText,
ItemIdentifier column)
Removes a row from the set of selected rows.
|
void |
multiUnselectRow(String rowText,
String columnText)
Removes a row from the set of selected rows.
|
void |
selectRow(int rowIndex)
Selects an row in the table.
|
void |
selectRow(int rowIndex,
int columnIndex)
Selects an row in the table.
|
void |
selectRow(int rowIndex,
ItemIdentifier column)
Selects an row in the table.
|
void |
selectRow(int rowIndex,
String columnText)
Selects an row in the table.
|
void |
selectRow(ItemIdentifier row)
Selects an row in the table.
|
void |
selectRow(ItemIdentifier row,
int columnIndex)
Selects an row in the table.
|
void |
selectRow(ItemIdentifier row,
ItemIdentifier column)
Selects an row in the table.
|
void |
selectRow(ItemIdentifier row,
String columnText)
Selects an row in the table.
|
void |
selectRow(String rowText)
Selects an row in the table.
|
void |
selectRow(String rowText,
int columnIndex)
Selects an row in the table.
|
void |
selectRow(String rowText,
ItemIdentifier column)
Selects an row in the table.
|
void |
selectRow(String rowText,
String columnText)
Selects an row in the table.
|
void |
setSelectedIndices(List<Integer> selectedIndices)
Sets the indices of the selected item(s).
|
void |
setSelectedItems(List<TableRow> selectedItems)
Sets the selected item(s).
|
void |
uncheck(int itemIndex)
Unchecks the check box in the defined row of a table.
|
void |
uncheck(ItemIdentifier item)
Unchecks the check box in the defined row of a table.
|
void |
uncheck(String itemText)
Unchecks the check box in the defined row of a table.
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenuclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, 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, waitForPropertyequals, 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, toStringprotected Table(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the Tabledesktop - the desktop on which this object livespublic void check(ItemIdentifier item)
item - the row in which to check the check boxpublic void check(String itemText)
itemText - the row in which to check the check boxpublic void check(int itemIndex)
itemIndex - the row in which to check the check boxpublic void doubleSelect(ItemIdentifier row)
row - the row to double-clickpublic void doubleSelect(ItemIdentifier row, ItemIdentifier column)
row - the row to double-clickcolumn - the column to double-clickpublic void doubleSelect(ItemIdentifier row, ItemIdentifier column, ModifierKey modifiers)
row - the row to double-clickcolumn - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void doubleSelect(ItemIdentifier row, String columnText)
row - the row to double-clickcolumnText - the column to double-clickpublic void doubleSelect(ItemIdentifier row, String columnText, ModifierKey modifiers)
row - the row to double-clickcolumnText - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void doubleSelect(ItemIdentifier row, int columnIndex)
row - the row to double-clickcolumnIndex - the column to double-clickpublic void doubleSelect(ItemIdentifier row, int columnIndex, ModifierKey modifiers)
row - the row to double-clickcolumnIndex - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void doubleSelect(String rowText)
rowText - the row to double-clickpublic void doubleSelect(String rowText, ItemIdentifier column)
rowText - the row to double-clickcolumn - the column to double-clickpublic void doubleSelect(String rowText, ItemIdentifier column, ModifierKey modifiers)
rowText - the row to double-clickcolumn - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void doubleSelect(String rowText, String columnText)
rowText - the row to double-clickcolumnText - the column to double-clickpublic void doubleSelect(String rowText, String columnText, ModifierKey modifiers)
rowText - the row to double-clickcolumnText - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void doubleSelect(String rowText, int columnIndex)
rowText - the row to double-clickcolumnIndex - the column to double-clickpublic void doubleSelect(String rowText, int columnIndex, ModifierKey modifiers)
rowText - the row to double-clickcolumnIndex - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void doubleSelect(int rowIndex)
rowIndex - the row to double-clickpublic void doubleSelect(int rowIndex,
ItemIdentifier column)
rowIndex - the row to double-clickcolumn - the column to double-clickpublic void doubleSelect(int rowIndex,
ItemIdentifier column,
ModifierKey modifiers)
rowIndex - the row to double-clickcolumn - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void doubleSelect(int rowIndex,
String columnText)
rowIndex - the row to double-clickcolumnText - the column to double-clickpublic void doubleSelect(int rowIndex,
String columnText,
ModifierKey modifiers)
rowIndex - the row to double-clickcolumnText - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void doubleSelect(int rowIndex,
int columnIndex)
rowIndex - the row to double-clickcolumnIndex - the column to double-clickpublic void doubleSelect(int rowIndex,
int columnIndex,
ModifierKey modifiers)
rowIndex - the row to double-clickcolumnIndex - the column to double-clickmodifiers - the modifier that is used when double-clickingpublic void extendSelectRow(ItemIdentifier row)
row - the row to selectpublic void extendSelectRow(ItemIdentifier row, ItemIdentifier column)
row - the row to selectcolumn - the column to selectpublic void extendSelectRow(ItemIdentifier row, String columnText)
row - the row to selectcolumnText - the column to selectpublic void extendSelectRow(ItemIdentifier row, int columnIndex)
row - the row to selectcolumnIndex - the column to selectpublic void extendSelectRow(String rowText)
rowText - the row to selectpublic void extendSelectRow(String rowText, ItemIdentifier column)
rowText - the row to selectcolumn - the column to selectpublic void extendSelectRow(String rowText, String columnText)
rowText - the row to selectcolumnText - the column to selectpublic void extendSelectRow(String rowText, int columnIndex)
rowText - the row to selectcolumnIndex - the column to selectpublic void extendSelectRow(int rowIndex)
rowIndex - the row to selectpublic void extendSelectRow(int rowIndex,
ItemIdentifier column)
rowIndex - the row to selectcolumn - the column to selectpublic void extendSelectRow(int rowIndex,
String columnText)
rowIndex - the row to selectcolumnText - the column to selectpublic void extendSelectRow(int rowIndex,
int columnIndex)
rowIndex - the row to selectcolumnIndex - the column to selectpublic void focusRow(ItemIdentifier row)
row - the row to selectpublic void focusRow(String rowText)
rowText - the row to selectpublic void focusRow(int rowIndex)
rowIndex - the row to selectpublic void multiSelectRow(ItemIdentifier row)
row - the row to selectpublic void multiSelectRow(ItemIdentifier row, ItemIdentifier column)
row - the row to selectcolumn - the column to selectpublic void multiSelectRow(ItemIdentifier row, String columnText)
row - the row to selectcolumnText - the column to selectpublic void multiSelectRow(ItemIdentifier row, int columnIndex)
row - the row to selectcolumnIndex - the column to selectpublic void multiSelectRow(String rowText)
rowText - the row to selectpublic void multiSelectRow(String rowText, ItemIdentifier column)
rowText - the row to selectcolumn - the column to selectpublic void multiSelectRow(String rowText, String columnText)
rowText - the row to selectcolumnText - the column to selectpublic void multiSelectRow(String rowText, int columnIndex)
rowText - the row to selectcolumnIndex - the column to selectpublic void multiSelectRow(int rowIndex)
rowIndex - the row to selectpublic void multiSelectRow(int rowIndex,
ItemIdentifier column)
rowIndex - the row to selectcolumn - the column to selectpublic void multiSelectRow(int rowIndex,
String columnText)
rowIndex - the row to selectcolumnText - the column to selectpublic void multiSelectRow(int rowIndex,
int columnIndex)
rowIndex - the row to selectcolumnIndex - the column to selectpublic void multiUnselectRow(ItemIdentifier row)
row - the row to selectpublic void multiUnselectRow(ItemIdentifier row, ItemIdentifier column)
row - the row to selectcolumn - the column to selectpublic void multiUnselectRow(ItemIdentifier row, String columnText)
row - the row to selectcolumnText - the column to selectpublic void multiUnselectRow(ItemIdentifier row, int columnIndex)
row - the row to selectcolumnIndex - the column to selectpublic void multiUnselectRow(String rowText)
rowText - the row to selectpublic void multiUnselectRow(String rowText, ItemIdentifier column)
rowText - the row to selectcolumn - the column to selectpublic void multiUnselectRow(String rowText, String columnText)
rowText - the row to selectcolumnText - the column to selectpublic void multiUnselectRow(String rowText, int columnIndex)
rowText - the row to selectcolumnIndex - the column to selectpublic void multiUnselectRow(int rowIndex)
rowIndex - the row to selectpublic void multiUnselectRow(int rowIndex,
ItemIdentifier column)
rowIndex - the row to selectcolumn - the column to selectpublic void multiUnselectRow(int rowIndex,
String columnText)
rowIndex - the row to selectcolumnText - the column to selectpublic void multiUnselectRow(int rowIndex,
int columnIndex)
rowIndex - the row to selectcolumnIndex - the column to selectpublic void selectRow(ItemIdentifier row)
row - the row to selectpublic void selectRow(ItemIdentifier row, ItemIdentifier column)
row - the row to selectcolumn - the column to selectpublic void selectRow(ItemIdentifier row, String columnText)
row - the row to selectcolumnText - the column to selectpublic void selectRow(ItemIdentifier row, int columnIndex)
row - the row to selectcolumnIndex - the column to selectpublic void selectRow(String rowText)
rowText - the row to selectpublic void selectRow(String rowText, ItemIdentifier column)
rowText - the row to selectcolumn - the column to selectpublic void selectRow(String rowText, String columnText)
rowText - the row to selectcolumnText - the column to selectpublic void selectRow(String rowText, int columnIndex)
rowText - the row to selectcolumnIndex - the column to selectpublic void selectRow(int rowIndex)
rowIndex - the row to selectpublic void selectRow(int rowIndex,
ItemIdentifier column)
rowIndex - the row to selectcolumn - the column to selectpublic void selectRow(int rowIndex,
String columnText)
rowIndex - the row to selectcolumnText - the column to selectpublic void selectRow(int rowIndex,
int columnIndex)
rowIndex - the row to selectcolumnIndex - the column to selectpublic void uncheck(ItemIdentifier item)
item - the row in which to uncheck the check boxpublic void uncheck(String itemText)
itemText - the row in which to uncheck the check boxpublic void uncheck(int itemIndex)
itemIndex - the row in which to uncheck the check boxpublic boolean isAllowsCheck()
public boolean isAllowsMultiSelect()
public int getColumnCount()
public List<TableColumn> getColumnItems()
public int getRowCount()
public List<Integer> getSelectedIndices()
public void setSelectedIndices(List<Integer> selectedIndices)
selectedIndices - the indices of the selected item(s)Copyright 2009-2012 Micro Focus. All Rights Reserved.