|
|||||||||
| 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
public class JTableTester
Provide user actions on a JTable. The JTable substructure is a "Cell", and JTableLocation provides different identifiers for a cell.
JTableLocation| Field Summary |
|---|
| Fields inherited from class abbot.tester.ComponentTester |
|---|
IGNORED_METHODS |
| Fields inherited from class abbot.tester.Robot |
|---|
componentDelay, defaultDelay, EM_AWT, EM_ROBOT, IDLE_TIMEOUT, MOUSELESS_MODIFIER, MOUSELESS_MODIFIER_MASK, popupDelay |
| Fields inherited from interface abbot.tester.AWTConstants |
|---|
BUTTON_MASK, COPY_MASK, DRAG_THRESHOLD, LINK_MASK, MENU_SHORTCUT_KEYCODE, MENU_SHORTCUT_MASK, MENU_SHORTCUT_MODIFIER, MENU_SHORTCUT_STRING, MOVE_MASK, MULTI_CLICK_INTERVAL, POPUP_MASK, POPUP_MODIFIER, POPUP_ON_PRESS, TERTIARY_MASK, TERTIARY_MODIFIER |
| Constructor Summary | |
|---|---|
JTableTester()
|
|
| Method Summary | |
|---|---|
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 |
actionSelectCell(Component c,
JTableLocation loc,
int timeout)
Select the given cell, if not already. |
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, actionDrag, actionDrop, actionScrollToVisible, actionScrollToVisible, actionScrollToVisible, convertRendererToString, deriveTag, getTester, isVisible, isVisible, mousePress, scrollRectToVisible, 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 actionSelectCell(Component c,
JTableLocation loc)
public void actionSelectCell(Component c,
JTableLocation loc,
int timeout)
public void actionSelectCell(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 | ||||||||