Method Summary |
|
public Object | actionProduced(Object obj) Action producer--get a window.
Get a window. |
protected String | getActionProducedMessage(long timeSpent, Object result) Overrides Waiter.getActionProducedMessage.
See Also: org.netbeans.jemmy.Waiter.getActionProducedMessage(longObject) Parameters: timeSpent - time from waiting start (milliseconds) Parameters: result - result of Waitable.actionproduced method. |
protected ComponentChooser | getComponentChooser() Method can be used by a subclass to define chooser. |
public String | getDescription() |
protected String | getGoldenActionProducedMessage() |
protected String | getGoldenTimeoutExpiredMessage() |
protected String | getGoldenWaitingStartedMessage() |
protected Window | getOwner() Method can be used by a subclass to define window owner. |
protected String | getTimeoutExpiredMessage(long timeSpent) Overrides Waiter.getTimeoutExpiredMessage. |
public Timeouts | getTimeouts() Return current timeouts. |
protected String | getWaitingStartedMessage() |
public static Window | getWindow(Window owner, ComponentChooser cc, int index) Searches for a window.
The search proceeds among the currently showing windows
for the index+1 'th window that is both owned by the
java.awt.Window owner and that meets the
criteria defined and applied by the ComponentChooser parameter.
Parameters: owner - The owner window of all the windows to be searched. Parameters: cc - A component chooser used to define and apply the search criteria. Parameters: index - The ordinal index of the window in the set of currently displayedwindows with the proper window ownership and a suitable title. |
public static Window | getWindow(Window owner, ComponentChooser cc) Searches for a window.
Search among the currently showing windows for the first that is both
owned by the java.awt.Window owner and that
meets the search criteria applied by the ComponentChooser
parameter.
Parameters: owner - The owner window of the windows to be searched. Parameters: cc - A component chooser used to define and apply the search criteria. |
public static Window | getWindow(ComponentChooser cc, int index) Searches for a window.
The search proceeds among the currently showing windows for the
index+1 'th window that meets the criteria defined and
applied by the ComonentChooser parameter.
Parameters: cc - A component chooser used to define and apply the search criteria. Parameters: index - The ordinal index of the window in the set of currently displayedwindows. |
public static Window | getWindow(ComponentChooser cc) Searches for a window.
Search among the currently showing windows for one that meets the search
criteria applied by the ComponentChooser parameter.
Parameters: cc - A component chooser used to define and apply the search criteria. |
protected void | setComponentChooser(ComponentChooser ch) Method can be used by a subclass to define chooser. |
protected void | setOwner(Window owner) Method can be used by a subclass to define window owner. |
public void | setTimeouts(Timeouts timeouts) Defines current timeouts. |
public Window | waitWindow(ComponentChooser ch, int index) Waits for a window to show.
Wait for the index+1 'th window that meets the criteria
defined and applied by the ComonentChooser parameter to
show up.
Parameters: ch - A component chooser used to define and apply the search criteria. Parameters: index - The ordinal index of the window in the set of currently displayedwindows. |
public Window | waitWindow(ComponentChooser ch) Waits for a window to show.
Wait for a window that meets the search criteria applied by the
ComponentChooser parameter to show up.
Parameters: ch - A component chooser used to define and apply the search criteria. a reference to the first window that shows and thatmeets the search criteria. |
public Window | waitWindow(Window o, ComponentChooser ch, int index) Waits for a window to show.
Wait for the index+1 'th window to show that is both owned by the
java.awt.Window o and that meets the
criteria defined and applied by the ComponentChooser parameter.
Parameters: o - The owner window of all the windows to be searched. Parameters: ch - A component chooser used to define and apply the search criteria. Parameters: index - The ordinal index of the window in the set of currently displayedwindows with the proper window ownership and a suitable title. |
public Window | waitWindow(Window o, ComponentChooser ch) Waits for a window to show. |