Java Doc for WindowTester.java in  » Testing » abbot-1.0.1 » abbot » tester » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » abbot 1.0.1 » abbot.tester 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   abbot.tester.Robot
      abbot.tester.ComponentTester
         abbot.tester.ContainerTester
            abbot.tester.WindowTester

All known Subclasses:   abbot.tester.DialogTester,  abbot.tester.FrameTester,
WindowTester
public class WindowTester extends ContainerTester (Code)
Provides user actions on a Window.




Method Summary
public  voidactionActivate(Window w)
     Activate the given Window.
public  voidactionClose(Component c)
     Send a WINDOW_CLOSING event to the window, equivalent to the user closing the window through the window manager.
public  voidactionMove(Component w, int screenx, int screeny)
     Move the window to the given location.
public  voidactionMoveBy(Component w, int dx, int dy)
     Move the window to the given location.
public  voidactionResize(Component w, int width, int height)
     Resize the given window.
public  voidactionResizeBy(Component w, int dx, int dy)
     Resize the given window.
public  StringderiveTag(Component comp)
     The window's size seems as good an ID as any.



Method Detail
actionActivate
public void actionActivate(Window w)(Code)
Activate the given Window.



actionClose
public void actionClose(Component c)(Code)
Send a WINDOW_CLOSING event to the window, equivalent to the user closing the window through the window manager. Note that this will not necessarily close the window.



actionMove
public void actionMove(Component w, int screenx, int screeny)(Code)
Move the window to the given location.



actionMoveBy
public void actionMoveBy(Component w, int dx, int dy)(Code)
Move the window to the given location.



actionResize
public void actionResize(Component w, int width, int height)(Code)
Resize the given window. Note that this will fail on frames or dialogs which are not resizable.



actionResizeBy
public void actionResizeBy(Component w, int dx, int dy)(Code)
Resize the given window. Note that this will fail on frames or dialogs which are not resizable.



deriveTag
public String deriveTag(Component comp)(Code)
The window's size seems as good an ID as any. If someone has a bunch of frameless windows floating about, they can come up with a better ID.




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)

Fields inherited from abbot.tester.Robot
public static int EM_AWT(Code)(Java Doc)
public static int EM_ROBOT(Code)(Java Doc)
protected static long IDLE_TIMEOUT(Code)(Java Doc)
final public static String MOUSELESS_MODIFIER(Code)(Java Doc)
final public static int MOUSELESS_MODIFIER_MASK(Code)(Java Doc)
public static int componentDelay(Code)(Java Doc)
public static int defaultDelay(Code)(Java Doc)
protected static int popupDelay(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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.