|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--abbot.tester.Robot | +--abbot.tester.ComponentTester | +--abbot.tester.ContainerTester | +--abbot.tester.JComponentTester | +--abbot.tester.JTableTester
Provide user actions on a JTable.
Fields inherited from class abbot.tester.Robot |
BUTTON_MASK, componentDelay, defaultDelay, dragMask, EM_AWT, EM_PROG, EM_ROBOT, MENU_SHORTCUT_KEYCODE, MENU_SHORTCUT_MASK, MENU_SHORTCUT_MODIFIER, MULTI_CLICK_INTERVAL, POPUP_MASK, POPUP_MODIFIER, POPUP_ON_PRESS, popupDelay, state, TERTIARY_MASK, TERTIARY_MODIFIER |
Constructor Summary | |
JTableTester()
|
Method Summary | |
void |
actionClickCell(Component c,
int row,
int col)
JTable select cell action. |
void |
actionClickCell(Component c,
int row,
int col,
String modifiers)
JTable select cell action. |
void |
actionClickCell(Component c,
int row,
int col,
String modifiers,
int count)
JTable select cell action. |
void |
actionDragCell(Component c,
int row,
int col)
Initiate a drag operation at the given cell using mouse button 1. |
void |
actionDragCell(Component c,
int row,
int col,
String modifiers)
Initiate a drag operation at the given cell, using the given button modifiers. |
void |
actionDropAtCell(Component c,
int row,
int col)
Drop the current drag action on the given cell. |
void |
actionScrollCellToVisible(Component comp,
int row,
int col)
Make sure the entire cell at the given index is visible. |
void |
actionSelectCell(Component c,
int row,
int col)
Select the given cell, if not already. |
void |
actionSelectPopupMenuItemAtCell(Component c,
int row,
int col,
String itemName)
Select a menu item from a popup menu at the given cell. |
void |
actionShowPopupMenuAtCell(Component c,
int row,
int col)
Activate a popup menu at the given cell. |
protected Point |
cellToPoint(Component c,
int row,
int col)
|
Methods inherited from class abbot.tester.JComponentTester |
actionActionMap, 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 |
protected Point cellToPoint(Component c, int row, int col)
public void actionScrollCellToVisible(Component comp, int row, int col)
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 modifiers)
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |