org.netbeans.jemmy.util
public static class WindowManager.ModalDialogChoosingJob extends Object implements WindowJob
Constructor and Description |
---|
WindowManager.ModalDialogChoosingJob() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkComponent(Component comp)
Checks if window is what we want to do something with.
|
String |
getDescription()
Job description.
|
Object |
launch(Object obj)
Perform necessary actions.
|
public WindowManager.ModalDialogChoosingJob()
public boolean checkComponent(Component comp)
WindowJob
checkComponent
in interface ComponentChooser
checkComponent
in interface WindowJob
comp
- Component to check.true
when the component conforms to
the search criteria; false
otherwise.public Object launch(Object obj)
WindowJob
launch
in interface Action
launch
in interface WindowJob
obj
- action argument. This argument might be the method
parameter in an invocation of
ActionProducer.produceAction(Object)
. This argument
might be a java.lang.String[]
that lists the
command line arguments used to execute a test (or not).public String getDescription()
WindowJob
getDescription
in interface Action
getDescription
in interface ComponentChooser
getDescription
in interface WindowJob