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 TypeMethodDescriptionbooleancheckComponent(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:WindowJobChecks if window is what we want to do something with.- Specified by:
checkComponentin interfaceComponentChooser- Specified by:
checkComponentin interfaceWindowJob- Parameters:
comp- Component to check.- Returns:
truewhen the component conforms to the search criteria;falseotherwise.
-
launch
Description copied from interface:WindowJobPerform necessary actions.- Specified by:
launchin interfaceAction- Specified by:
launchin 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:WindowJobJob description.- Specified by:
getDescriptionin interfaceAction- Specified by:
getDescriptionin interfaceComponentChooser- Specified by:
getDescriptionin interfaceWindowJob- Returns:
- a String representing the description value
-