| java.lang.Object abbot.tester.Robot abbot.tester.ComponentTester abbot.tester.ContainerTester abbot.tester.JComponentTester abbot.tester.JTableTester
JTableTester | public class JTableTester extends JComponentTester (Code) | | Provide user actions on a JTable.
The JTable substructure is a "Cell", and JTableLocation provides different
identifiers for a cell.
- Select a cell by row, column index
- Select a cell by value (its string representation)
See Also: abbot.tester.JTableLocation |
Method Summary | |
public void | actionSelectCell(Component c, JTableLocation loc) Select the given cell, if not already. | public void | actionSelectCell(Component c, int row, int col) Select the given cell, if not already. | public ComponentLocation | getLocation(Component c, Point p) Return (in order of preference) the location corresponding to value,
cell, or coordinate. | public ComponentLocation | parseLocation(String encoded) Parse the String representation of a JTableLocation into the actual
JTableLocation object. | public 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. |
actionSelectCell | public void actionSelectCell(Component c, int row, int col)(Code) | | Select the given cell, if not already.
Equivalent to actionSelectCell(c, new JTableLocation(row, col)).
|
parseLocation | public ComponentLocation parseLocation(String encoded)(Code) | | Parse the String representation of a JTableLocation into the actual
JTableLocation object.
|
valueToString | public static String valueToString(JTable table, int row, int col)(Code) | | 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 abbot.tester.JComponentTester | public void actionActionMap(Component comp, String name)(Code)(Java Doc) public void actionClick(Component c, ComponentLocation loc, String buttons, int count)(Code)(Java Doc) public void actionClick(Component c, ComponentLocation loc, int buttons, int count)(Code)(Java Doc) public void actionDrag(Component c, ComponentLocation loc, String mods)(Code)(Java Doc) public void actionDrag(Component c, ComponentLocation loc, int modifiers)(Code)(Java Doc) public void actionDrop(Component c, ComponentLocation loc)(Code)(Java Doc) public void actionScrollToVisible(Component comp, ComponentLocation loc)(Code)(Java Doc) public void actionScrollToVisible(Component comp, int x, int y)(Code)(Java Doc) public void actionScrollToVisible(Component comp, int x, int y, int width, int height)(Code)(Java Doc) public static String convertRendererToString(Component cr)(Code)(Java Doc) public String deriveTag(Component comp)(Code)(Java Doc) public static JComponentTester getTester(JComponent c)(Code)(Java Doc) protected boolean isVisible(JComponent c, Rectangle rect)(Code)(Java Doc) protected boolean isVisible(JComponent c, int x, int y)(Code)(Java Doc) public void mousePress(Component comp, int x, int y, int buttons)(Code)(Java Doc) protected void scrollRectToVisible(JComponent jc, Rectangle rect)(Code)(Java Doc) protected void scrollToVisible(Component comp, int x, int y)(Code)(Java Doc) protected void scrollToVisible(Component comp, Rectangle rect)(Code)(Java Doc)
|
Fields inherited from abbot.tester.ComponentTester | protected static Set IGNORED_METHODS(Code)(Java Doc)
|
Methods inherited from abbot.tester.ComponentTester | public void actionClick(Component comp)(Code)(Java Doc) public void actionClick(Component c, ComponentLocation loc)(Code)(Java Doc) public void actionClick(Component c, ComponentLocation loc, int buttons)(Code)(Java Doc) public void actionClick(Component c, ComponentLocation loc, int buttons, int count)(Code)(Java Doc) public void actionClick(Component comp, int x, int y)(Code)(Java Doc) public void actionClick(Component comp, int x, int y, int buttons)(Code)(Java Doc) public void actionClick(Component comp, int x, int y, int buttons, int count)(Code)(Java Doc) public void actionDelay(int ms)(Code)(Java Doc) public void actionDrag(Component dragSource, ComponentLocation loc)(Code)(Java Doc) public void actionDrag(Component dragSource)(Code)(Java Doc) public void actionDrag(Component dragSource, ComponentLocation loc, String buttons)(Code)(Java Doc) public void actionDrag(Component dragSource, ComponentLocation loc, int buttons)(Code)(Java Doc) public void actionDrag(Component dragSource, int sx, int sy)(Code)(Java Doc) public void actionDrag(Component dragSource, int sx, int sy, String buttons)(Code)(Java Doc) public void actionDragOver(Component target)(Code)(Java Doc) public void actionDragOver(Component target, ComponentLocation where)(Code)(Java Doc) public void actionDrop(Component dropTarget)(Code)(Java Doc) public void actionDrop(Component dropTarget, ComponentLocation loc)(Code)(Java Doc) public void actionDrop(Component dropTarget, int x, int y)(Code)(Java Doc) public void actionFocus(Component comp)(Code)(Java Doc) public void actionKeyPress(Component comp, int keyCode)(Code)(Java Doc) public void actionKeyPress(int keyCode)(Code)(Java Doc) public void actionKeyRelease(Component comp, int keyCode)(Code)(Java Doc) public void actionKeyRelease(int keyCode)(Code)(Java Doc) public void actionKeyString(Component c, String string)(Code)(Java Doc) public void actionKeyString(String string)(Code)(Java Doc) public void actionKeyStroke(Component c, int keyCode)(Code)(Java Doc) public void actionKeyStroke(int keyCode)(Code)(Java Doc) public void actionKeyStroke(Component c, int keyCode, int modifiers)(Code)(Java Doc) public void actionKeyStroke(int keyCode, int modifiers)(Code)(Java Doc) public void actionMouseMove(Component comp, ComponentLocation loc)(Code)(Java Doc) public void actionMousePress(Component comp, ComponentLocation loc)(Code)(Java Doc) public void actionMousePress(Component comp, ComponentLocation loc, int mask)(Code)(Java Doc) public void actionMouseRelease()(Code)(Java Doc) public void actionSelectAWTMenuItem(Frame menuFrame, String path)(Code)(Java Doc) public void actionSelectAWTMenuItemByLabel(Frame menuFrame, String path)(Code)(Java Doc) public void actionSelectAWTPopupMenuItem(Component invoker, String path)(Code)(Java Doc) public void actionSelectAWTPopupMenuItemByLabel(Component invoker, String path)(Code)(Java Doc) public void actionSelectMenuItem(Component item)(Code)(Java Doc) public void actionSelectMenuItem(Component sameWindow, String path)(Code)(Java Doc) public void actionSelectPopupMenuItem(Component invoker, String path)(Code)(Java Doc) public void actionSelectPopupMenuItem(Component invoker, ComponentLocation loc, String path)(Code)(Java Doc) public void actionSelectPopupMenuItem(Component invoker, int x, int y, String path)(Code)(Java Doc) public void actionSetModifiers(int mask, boolean pressed)(Code)(Java Doc) public void actionShowPopupMenu(Component invoker)(Code)(Java Doc) public void actionShowPopupMenu(Component invoker, ComponentLocation loc)(Code)(Java Doc) public void actionShowPopupMenu(Component invoker, int x, int y)(Code)(Java Doc) public void actionWaitForIdle()(Code)(Java Doc) public boolean assertComponentShowing(ComponentReference ref)(Code)(Java Doc) public boolean assertFrameShowing(Hierarchy h, String id)(Code)(Java Doc) public boolean assertFrameShowing(String id)(Code)(Java Doc) public boolean assertImage(Component comp, java.io.File fileImage, boolean ignoreBorder)(Code)(Java Doc) protected String deriveAccessibleTag(AccessibleContext context)(Code)(Java Doc) public String deriveTag(Component comp)(Code)(Java Doc) public Method[] getActions()(Code)(Java Doc) public Method[] getAssertMethods()(Code)(Java Doc) public Method[] getComponentActions()(Code)(Java Doc) public Method[] getComponentAssertMethods()(Code)(Java Doc) public ComponentLocation getLocation(Component c, Point where)(Code)(Java Doc) public Method[] getPropertyMethods()(Code)(Java Doc) public static String getTag(Component comp)(Code)(Java Doc) public Class getTestedClass(Class cls)(Code)(Java Doc) public static ComponentTester getTester(Component comp)(Code)(Java Doc) public static ComponentTester getTester(Class componentClass)(Code)(Java Doc) protected boolean isCustom(Class c)(Code)(Java Doc) final public boolean isExtension()(Code)(Java Doc) public ComponentLocation parseLocation(String encoded)(Code)(Java Doc) public static void setTester(Class forClass, ComponentTester tester)(Code)(Java Doc) public static String stripHTML(String str)(Code)(Java Doc) protected void waitAction(String desc, Condition cond) throws ActionFailedException(Code)(Java Doc) public void waitForComponentShowing(ComponentReference ref)(Code)(Java Doc) public void waitForFrameShowing(Hierarchy h, String identifier)(Code)(Java Doc) public void waitForFrameShowing(String identifier)(Code)(Java Doc)
|
Methods inherited from abbot.tester.Robot | public void activate(Window win)(Code)(Java Doc) public static boolean canMoveWindows()(Code)(Java Doc) public static boolean canResizeWindows()(Code)(Java Doc) public BufferedImage capture(Rectangle bounds)(Code)(Java Doc) public BufferedImage capture(Component comp)(Code)(Java Doc) public BufferedImage capture(Component comp, boolean ignoreBorder)(Code)(Java Doc) final public void click(Component comp)(Code)(Java Doc) final public void click(Component comp, int mask)(Code)(Java Doc) final public void click(Component comp, int x, int y)(Code)(Java Doc) final public void click(Component comp, int x, int y, int mask)(Code)(Java Doc) public void click(Component comp, int x, int y, int mask, int count)(Code)(Java Doc) public void close(Window w)(Code)(Java Doc) public void deiconify(Frame frame)(Code)(Java Doc) public void delay(int ms)(Code)(Java Doc) protected static String descriptiveClassName(Class cls)(Code)(Java Doc) public void drag(Component src, int sx, int sy)(Code)(Java Doc) public void drag(Component src, int sx, int sy, int buttons)(Code)(Java Doc) public void dragOver(Component dst, int x, int y)(Code)(Java Doc) public void drop(Component target, int x, int y)(Code)(Java Doc) public Component findFocusOwner()(Code)(Java Doc) protected void fireAccessibleAction(Component context, AccessibleAction action, String name)(Code)(Java Doc) public void focus(Component comp)(Code)(Java Doc) public void focus(Component comp, boolean wait)(Code)(Java Doc) public static int getAutoDelay()(Code)(Java Doc) public static String getBorderTitle(Component c)(Code)(Java Doc) public static Class getCanonicalClass(Class refClass)(Code)(Java Doc) protected Point getCloseLocation(Container c)(Code)(Java Doc) public static String getDescriptiveName(Component c)(Code)(Java Doc) public static String getEventID(AWTEvent event)(Code)(Java Doc) public static int getEventID(Class cls, String id)(Code)(Java Doc) public static int getEventMode()(Code)(Java Doc) public static String getEventModeDescription()(Code)(Java Doc) public static int getEventPostDelay()(Code)(Java Doc) protected EventQueue getEventQueue(Component c)(Code)(Java Doc) public static String getIconName(Component c)(Code)(Java Doc) protected Point getIconifyLocation(Container c)(Code)(Java Doc) public static int getIndex(Container parent, Component comp)(Code)(Java Doc) public static String getLabel(Component c)(Code)(Java Doc) protected Point getMaximizeLocation(Container c)(Code)(Java Doc) protected Point getMoveLocation(Container c)(Code)(Java Doc) public static String getName(Component c)(Code)(Java Doc) public static int getPreferredRobotAutoDelay()(Code)(Java Doc) protected Point getResizeLocation(Container c)(Code)(Java Doc) public static java.awt.Robot getRobot()(Code)(Java Doc) public static InputState getState()(Code)(Java Doc) public static String getText(Component c)(Code)(Java Doc) public static String getTitle(Component c)(Code)(Java Doc) public void iconify(Frame frame)(Code)(Java Doc) public void invokeAction(Runnable action)(Code)(Java Doc) public void invokeAction(Component c, Runnable action)(Code)(Java Doc) public void invokeAndWait(Component c, Runnable action)(Code)(Java Doc) public void invokeAndWait(Runnable action)(Code)(Java Doc) public void invokeLater(Component context, Runnable action)(Code)(Java Doc) public void invokeLater(Runnable action)(Code)(Java Doc) protected boolean isReadyForInput(Component c)(Code)(Java Doc) protected void jitter(Component comp, int x, int y)(Code)(Java Doc) protected void jitter(int x, int y)(Code)(Java Doc) public void key(int keycode)(Code)(Java Doc) public void key(int keycode, int modifiers)(Code)(Java Doc) public void keyPress(int keycode)(Code)(Java Doc) public void keyRelease(int keycode)(Code)(Java Doc) public void keyString(String str)(Code)(Java Doc) public void keyStroke(char ch)(Code)(Java Doc) public void maximize(Frame frame)(Code)(Java Doc) public void mouseMove(Component comp)(Code)(Java Doc) public void mouseMove(Component comp, int x, int y)(Code)(Java Doc) public void mousePress(int buttons)(Code)(Java Doc) public void mousePress(Component comp)(Code)(Java Doc) public void mousePress(Component comp, int mask)(Code)(Java Doc) public void mousePress(Component comp, int x, int y)(Code)(Java Doc) public void mousePress(Component comp, int x, int y, int mask)(Code)(Java Doc) public void mouseRelease()(Code)(Java Doc) public void mouseRelease(int buttons)(Code)(Java Doc) public void move(Container comp, int newx, int newy)(Code)(Java Doc) public void moveBy(Container comp, int dx, int dy)(Code)(Java Doc) public void normalize(Frame frame)(Code)(Java Doc) protected void postEvent(Component comp, AWTEvent ev)(Code)(Java Doc) protected boolean postInvocationEvent(EventQueue eq, Toolkit toolkit, long timeout)(Code)(Java Doc) protected boolean queueBlocked()(Code)(Java Doc) public void reset()(Code)(Java Doc) public void resize(Container comp, int width, int height)(Code)(Java Doc) public void resizeBy(Container comp, int dx, int dy)(Code)(Java Doc) public Color sample(int x, int y)(Code)(Java Doc) public Color sample(Component c, int x, int y)(Code)(Java Doc) public Color sample(Component c, ComponentLocation loc)(Code)(Java Doc) public void selectAWTMenuItem(Frame frame, String path)(Code)(Java Doc) public void selectAWTMenuItem(MenuComponent item)(Code)(Java Doc) public void selectAWTMenuItemByLabel(Frame frame, String path)(Code)(Java Doc) public void selectAWTPopupMenuItem(Component invoker, String path)(Code)(Java Doc) public void selectAWTPopupMenuItem(MenuComponent item)(Code)(Java Doc) public void selectAWTPopupMenuItemByLabel(Component invoker, String path)(Code)(Java Doc) public void selectMenuItem(Component sameWindow, String path)(Code)(Java Doc) public void selectMenuItem(Component item)(Code)(Java Doc) public void selectPopupMenuItem(Component invoker, ComponentLocation loc, String path)(Code)(Java Doc) public void sendEvent(AWTEvent event)(Code)(Java Doc) public static void setAutoDelay(int ms)(Code)(Java Doc) public static void setEventMode(int mode)(Code)(Java Doc) public static void setEventPostDelay(int delay)(Code)(Java Doc) public void setModifiers(int modifiers, boolean press)(Code)(Java Doc) public Component showPopupMenu(Component invoker)(Code)(Java Doc) public Component showPopupMenu(Component invoker, int x, int y)(Code)(Java Doc) public static String simpleClassName(Class cls)(Code)(Java Doc) public void sleep()(Code)(Java Doc) public static String toHierarchyPath(Component c)(Code)(Java Doc) public static String toString(Component comp)(Code)(Java Doc) public static String toString(Object obj)(Code)(Java Doc) public static String toString(AWTEvent event)(Code)(Java Doc) final protected static boolean useScreenMenuBar()(Code)(Java Doc) protected boolean userMovable(Component comp)(Code)(Java Doc) protected boolean userResizable(Component comp)(Code)(Java Doc) public void wait(Condition condition)(Code)(Java Doc) public void wait(Condition condition, long timeout)(Code)(Java Doc) public void wait(Condition condition, long timeout, int interval)(Code)(Java Doc) public void waitForIdle()(Code)(Java Doc)
|
|
|