public interface WindowJob extends ComponentChooser, Action
WindowManager
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.
|
Object launch(Object obj)
launch
in interface Action
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).boolean checkComponent(Component comp)
checkComponent
in interface ComponentChooser
comp
- Component to check.true
when the component conforms to
the search criteria; false
otherwise.String getDescription()
getDescription
in interface Action
getDescription
in interface ComponentChooser