Class WindowManager.ModalDialogChoosingJob

java.lang.Object
org.netbeans.jemmy.util.WindowManager.ModalDialogChoosingJob
All Implemented Interfaces:
Action, ComponentChooser, WindowJob
Enclosing class:
WindowManager

public static class WindowManager.ModalDialogChoosingJob extends Object implements WindowJob
  • Constructor Details

    • ModalDialogChoosingJob

      public ModalDialogChoosingJob()
  • Method Details

    • checkComponent

      public boolean checkComponent(Component comp)
      Description copied from interface: WindowJob
      Checks if window is what we want to do something with.
      Specified by:
      checkComponent in interface ComponentChooser
      Specified by:
      checkComponent in interface WindowJob
      Parameters:
      comp - Component to check.
      Returns:
      true when the component conforms to the search criteria; false otherwise.
    • launch

      public Object launch(Object obj)
      Description copied from interface: WindowJob
      Perform necessary actions.
      Specified by:
      launch in interface Action
      Specified by:
      launch in interface WindowJob
      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.
    • getDescription

      public String getDescription()
      Description copied from interface: WindowJob
      Job description.
      Specified by:
      getDescription in interface Action
      Specified by:
      getDescription in interface ComponentChooser
      Specified by:
      getDescription in interface WindowJob
      Returns:
      a String representing the description value