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

Quick Search    Search Deep

abbot.tester.extensions
Class ArrowButtonTester  view ArrowButtonTester download ArrowButtonTester.java

java.lang.Object
  extended byabbot.tester.Robot
      extended byabbot.tester.ComponentTester
          extended byabbot.tester.extensions.ArrowButtonTester
All Implemented Interfaces:
abbot.i18n.Resources, abbot.editor.i18n.Resources

public class ArrowButtonTester
extends abbot.tester.ComponentTester

Provide user actions and identifiers for the ArrowButton component.


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
ArrowButtonTester()
           
 
Method Summary
 void actionRoll(java.awt.Component comp, int ms)
          Press and hold the button for the given length of time (in ms).
 java.lang.String deriveTag(java.awt.Component comp)
          Provide a String that is fairly distinct for the given component.
 
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

ArrowButtonTester

public ArrowButtonTester()
Method Detail

deriveTag

public java.lang.String deriveTag(java.awt.Component comp)
Description copied from class: abbot.tester.ComponentTester
Provide a String that is fairly distinct for the given component. For a generic component, attempt to look up some common patterns such as a title or label. Derived classes should absolutely override this method if such a String exists.

Don't use component names as tags.


actionRoll

public void actionRoll(java.awt.Component comp,
                       int ms)
Press and hold the button for the given length of time (in ms).