|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectabbot.tester.Robot
abbot.tester.ComponentTester
abbot.tester.ContainerTester
abbot.tester.JComponentTester
abbot.tester.JTableTester
Provide user actions on a JTable.
Field Summary |
Fields inherited from class abbot.tester.Robot |
BUTTON_MASK, componentDelay, defaultDelay, DRAG_THRESHOLD, EM_AWT, EM_ROBOT, MENU_SHORTCUT_KEYCODE, MENU_SHORTCUT_MASK, MENU_SHORTCUT_MODIFIER, MENU_SHORTCUT_STRING, MULTI_CLICK_INTERVAL, POPUP_MASK, POPUP_MODIFIER, POPUP_ON_PRESS, popupDelay, TERTIARY_MASK, TERTIARY_MODIFIER |
Constructor Summary | |
JTableTester()
|
Method Summary | |
void |
actionClickCell(Component c,
int row,
int col)
Deprecated. Use the ComponentLocation version. |
void |
actionClickCell(Component c,
int row,
int col,
String mods)
Deprecated. Use the ComponentLocation version. |
void |
actionClickCell(Component c,
int row,
int col,
String modifiers,
int count)
Deprecated. Use the ComponentLocation version. |
void |
actionDragCell(Component c,
int row,
int col)
Deprecated. Use the ComponentLocation version. |
void |
actionDragCell(Component c,
int row,
int col,
String modifiers)
Deprecated. Use the ComponentLocation version. |
void |
actionDropAtCell(Component c,
int row,
int col)
Deprecated. Use the ComponentLocation version. |
void |
actionScrollCellToVisible(Component comp,
int row,
int col)
Deprecated. Use
actionScrollToVisible(comp, new JTableLocation(row, col))
instead. |
void |
actionSelectCell(Component c,
int row,
int col)
Select the given cell, if not already. |
void |
actionSelectCell(Component c,
JTableLocation loc)
Select the given cell, if not already. |
void |
actionSelectPopupMenuItemAtCell(Component c,
int row,
int col,
String itemName)
Deprecated. Use the ComponentLocation version. |
void |
actionShowPopupMenuAtCell(Component c,
int row,
int col)
Deprecated. Use the ComponentLocation version. |
ComponentLocation |
getLocation(Component c,
Point p)
Return (in order of preference) the location corresponding to value, cell, or coordinate. |
ComponentLocation |
parseLocation(String encoded)
Parse the String representation of a JTableLocation into the actual JTableLocation object. |
static String |
valueToString(JTable table,
int row,
int col)
Convert the value in the list at the given index into a reasonable string representation, or null if one can not be obtained. |
Methods inherited from class abbot.tester.JComponentTester |
actionActionMap, actionClick, actionClick, actionDrag, actionDrop, actionScrollToVisible, actionScrollToVisible, actionScrollToVisible, deriveTag, mousePress, scrollToVisible, scrollToVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JTableTester()
Method Detail |
public static String valueToString(JTable table, int row, int col)
public void actionScrollCellToVisible(Component comp, int row, int col)
actionScrollToVisible(comp, new JTableLocation(row, col))
instead.
public void actionSelectCell(Component c, JTableLocation loc)
public void actionSelectCell(Component c, int row, int col)
public void actionClickCell(Component c, int row, int col)
public void actionClickCell(Component c, int row, int col, String mods)
public void actionClickCell(Component c, int row, int col, String modifiers, int count)
public void actionDragCell(Component c, int row, int col)
public void actionDragCell(Component c, int row, int col, String modifiers)
public void actionDropAtCell(Component c, int row, int col)
public void actionSelectPopupMenuItemAtCell(Component c, int row, int col, String itemName)
public void actionShowPopupMenuAtCell(Component c, int row, int col)
public ComponentLocation parseLocation(String encoded)
parseLocation
in class ComponentTester
public ComponentLocation getLocation(Component c, Point p)
getLocation
in class ComponentTester
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |