org.uispec4j.interception
Class WindowHandler
java.lang.Object
org.uispec4j.interception.WindowHandler
- public abstract class WindowHandler
- extends Object
Interface used for defining modal dialog handlers.
- See Also:
WindowInterceptor,
Intercepting windows
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowHandler
protected WindowHandler()
WindowHandler
protected WindowHandler(String stepName)
- Gives a name to the handler, for description purposes only.
The name is used to clarify the test code, and it will be used by UISpec4J
when displaying error messages.
process
public abstract Trigger process(Window window)
throws Exception
- Handles the shown window and returns a trigger that will close it.
- Throws:
Exception
getName
public String getName()
setName
public void setName(String name)
Copyright © 2004-2007 Design-up. All Rights Reserved.