public static class WindowManager.ModalDialogChoosingJob extends java.lang.Object implements WindowJob
Constructor and Description |
---|
WindowManager.ModalDialogChoosingJob() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkComponent(java.awt.Component comp)
Checks if window is what we want to do something with.
|
java.lang.String |
getDescription()
Job description.
|
java.lang.Object |
launch(java.lang.Object obj)
Perform necessary actions.
|
public WindowManager.ModalDialogChoosingJob()
public boolean checkComponent(java.awt.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 java.lang.Object launch(java.lang.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 java.lang.String getDescription()
WindowJob
getDescription
in interface Action
getDescription
in interface ComponentChooser
getDescription
in interface WindowJob