Package org.netbeans.jemmy.util
Class WindowManager
java.lang.Object
org.netbeans.jemmy.util.WindowManager
- All Implemented Interfaces:
Outputable
,Timeoutable
Class allows to make periodical window jobs like error window closing.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds job to list.static void
Adds job to list.Returns print output streams or writers.Return current timeouts.static void
performJob
(WindowJob job) void
Removes job from list.static void
Removes job from list.void
Defines print output streams or writers.void
setTimeouts
(Timeouts timeouts) Defines current timeouts.
-
Method Details
-
addJob
Adds job to list.- Parameters:
job
- a job to perform.
-
removeJob
Removes job from list.- Parameters:
job
- a job to remove.
-
performJob
-
setTimeouts
Description copied from interface:Timeoutable
Defines current timeouts.- Specified by:
setTimeouts
in interfaceTimeoutable
- Parameters:
timeouts
- A collection of timeout assignments.- See Also:
-
getTimeouts
Description copied from interface:Timeoutable
Return current timeouts.- Specified by:
getTimeouts
in interfaceTimeoutable
- Returns:
- the collection of current timeout assignments.
- See Also:
-
setOutput
Description copied from interface:Outputable
Defines print output streams or writers.- Specified by:
setOutput
in interfaceOutputable
- Parameters:
output
- Identify the streams or writers used for print output.- See Also:
-
getOutput
Description copied from interface:Outputable
Returns print output streams or writers.- Specified by:
getOutput
in interfaceOutputable
- Returns:
- an object that contains references to objects for printing to output and err streams.
- See Also:
-
add
Adds job to list.- Parameters:
job
- a job to perform.
-
remove
Removes job from list.- Parameters:
job
- a job to remove.
-