Package org.netbeans.jemmy.util
Class WindowManager.ModalDialogChoosingJob
java.lang.Object
org.netbeans.jemmy.util.WindowManager.ModalDialogChoosingJob
- All Implemented Interfaces:
Action
,ComponentChooser
,WindowJob
- Enclosing class:
WindowManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkComponent
(Component comp) Checks if window is what we want to do something with.Job description.Perform necessary actions.
-
Constructor Details
-
ModalDialogChoosingJob
public ModalDialogChoosingJob()
-
-
Method Details
-
checkComponent
Description copied from interface:WindowJob
Checks if window is what we want to do something with.- Specified by:
checkComponent
in interfaceComponentChooser
- Specified by:
checkComponent
in interfaceWindowJob
- Parameters:
comp
- Component to check.- Returns:
true
when the component conforms to the search criteria;false
otherwise.
-
launch
Description copied from interface:WindowJob
Perform necessary actions.- Specified by:
launch
in interfaceAction
- Specified by:
launch
in interfaceWindowJob
- Parameters:
obj
- action argument. This argument might be the method parameter in an invocation ofActionProducer.produceAction(Object)
. This argument might be ajava.lang.String[]
that lists the command line arguments used to execute a test (or not).- Returns:
- action result.
-
getDescription
Description copied from interface:WindowJob
Job description.- Specified by:
getDescription
in interfaceAction
- Specified by:
getDescription
in interfaceComponentChooser
- Specified by:
getDescription
in interfaceWindowJob
- Returns:
- a String representing the description value
-