Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

abbot.tester
Class FrameTester  view FrameTester download FrameTester.java

java.lang.Object
  extended byabbot.tester.Robot
      extended byabbot.tester.ComponentTester
          extended byabbot.tester.ContainerTester
              extended byabbot.tester.WindowTester
                  extended byabbot.tester.FrameTester
All Implemented Interfaces:
abbot.editor.i18n.Resources, abbot.i18n.Resources

public class FrameTester
extends WindowTester


Nested Class Summary
 
Nested classes inherited from class abbot.editor.i18n.Resources
abbot.editor.i18n.Resources.ResourceLoader
 
Field Summary
 
Fields inherited from class abbot.tester.ComponentTester
 
Fields inherited from class abbot.tester.Robot
BUTTON_MASK, EM_AWT, EM_PROG, EM_ROBOT, eventMode, eventWaitDelay, MENU_SHORTCUT_KEYCODE, MENU_SHORTCUT_MASK, MENU_SHORTCUT_MODIFIER, mouseReleaseDelay, needJitter, POPUP_MASK, POPUP_MODIFIER, POPUP_ON_PRESS, TERTIARY_MASK, TERTIARY_MODIFIER
 
Fields inherited from interface abbot.editor.i18n.Resources
bundle, STRINGS_BUNDLE
 
Constructor Summary
FrameTester()
           
 
Method Summary
 void actionClose(java.awt.Component comp)
          Close the Frame.
 void actionDeiconify(java.awt.Component comp)
          Deiconify the given Frame.
 void actionIconify(java.awt.Component comp)
          Iconify the given Frame.
 void actionMove(java.awt.Component comp, int x, int y)
          Move the Frame to the given location.
 void actionMoveBy(java.awt.Component comp, int dx, int dy)
          Move the Frame by the given amount.
 void actionResize(java.awt.Component comp, int width, int height)
          Resize the Frame.
 void actionResizeBy(java.awt.Component comp, int dx, int dy)
          Resize the Frame by the given amount.
 java.lang.String deriveTag(java.awt.Component comp)
          Return a unique tag to help identify the given component.
 
Methods inherited from class abbot.tester.WindowTester
actionActivate
 
Methods inherited from class abbot.tester.ComponentTester
actionClick, actionClick, actionClick, actionClick, actionDelay, actionDrag, actionDrop, actionFocus, actionKeyPress, actionKeyRelease, actionKeyString, actionKeyStroke, actionKeyStroke, actionSelectAWTMenuItemByLabel, actionSelectMenuItem, actionSelectPopupMenuItem, actionSelectPopupMenuItem, actionShowPopupMenu, actionShowPopupMenu, actionWaitForIdle, assertComponentShowing, assertFrameShowing, assertImage, deriveAccessibleTag, getActions, getAssertions, getComponentActions, getComponentAssertions, getFinder, getPropertyChecks, getTag, getTestedClass, getTester, getTester, isExtension, setTester, stripHTML, waitAction, waitForComponentShowing, waitForFrameShowing
 
Methods inherited from class abbot.tester.Robot
activate, bugCheck, capture, capture, capture, click, click, click, click, click, close, deiconify, delay, findFocusOwner, focus, getAutoDelay, getCanonicalClass, getEventID, getEventID, getKeyCode, getKeyCode, getKeyModifiers, getModifiers, getModifiers, getMouseModifiers, iconify, invokeAction, invokeAndWait, isModifier, isTertiaryButton, jitter, jitter, key, key, keyPress, keyRelease, keyString, keyStroke, maskToKeyCode, mouseMove, mouseMove, mouseMove, mousePress, mousePress, mousePress, mousePress, mousePress, mouseRelease, mouseRelease, move, moveBy, needMenuFix, onPopup, postEvent, resize, resizeBy, sample, selectAWTMenuItem, selectAWTMenuItemByLabel, selectMenuItem, sendEvent, setAutoDelay, showPopupMenu, simpleClassName, sleep, toString, toString, toString, wait, wait, wait, waitForIdle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameTester

public FrameTester()
Method Detail

deriveTag

public java.lang.String deriveTag(java.awt.Component comp)
Return a unique tag to help identify the given component.

Overrides:
deriveTag in class WindowTester

actionIconify

public void actionIconify(java.awt.Component comp)
Iconify the given Frame.


actionDeiconify

public void actionDeiconify(java.awt.Component comp)
Deiconify the given Frame.


actionMove

public void actionMove(java.awt.Component comp,
                       int x,
                       int y)
Move the Frame to the given location.

Overrides:
actionMove in class WindowTester

actionMoveBy

public void actionMoveBy(java.awt.Component comp,
                         int dx,
                         int dy)
Move the Frame by the given amount.


actionResizeBy

public void actionResizeBy(java.awt.Component comp,
                           int dx,
                           int dy)
Resize the Frame by the given amount.


actionResize

public void actionResize(java.awt.Component comp,
                         int width,
                         int height)
Resize the Frame.

Overrides:
actionResize in class WindowTester

actionClose

public void actionClose(java.awt.Component comp)
Close the Frame.