Interface WindowJob

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • launch

        java.lang.Object launch​(java.lang.Object obj)
        Perform necessary actions.
        Specified by:
        launch in interface Action
        Parameters:
        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).
        Returns:
        action result.
      • checkComponent

        boolean checkComponent​(java.awt.Component comp)
        Checks if window is what we want to do something with.
        Specified by:
        checkComponent in interface ComponentChooser
        Parameters:
        comp - Component to check.
        Returns:
        true when the component conforms to the search criteria; false otherwise.