/** * @see Component */ @Override public String toString() { return super.toString() + ", selectedFilePath:" + selectedFilePath(); } }
/** * To get the string describing the "link" element. * * @return string describing the "link" element */ public String toString() { return super.toString(); } }
/** * Class constructor specifying the evaluator to use and the id of the panel we want to test. * The constructor checks if the given id does correspond to a panel. * * @param evaluator a technology specific evaluator * @param id the id (unique) of the panel */ public Panel(Evaluator evaluator, String id) { super(evaluator, id); checkIsExpectedComponent(Panel); }
/** * Class constructor specifying the evaluator to use and the id of the prompt we want to test. * The constructor checks if the given id does correspond to a prompt. * * @param evaluator a technology specific evaluator * @param id the id (unique) of the prompt */ public Prompt(Evaluator evaluator, String id) { super(evaluator, id); checkIsExpectedComponent(Prompt); }
/** * To simulate the closing of a window * * @param window the window to close */ public static void close(Window window) { window.close(); }
/** * Class constructor specifying the evaluator to use and the id of the textField we want to test. * The constructor checks if the given id does correspond to a textField. * * @param evaluator a technology specific evaluator * @param id the id (unique) of the textField */ public TextField(Evaluator evaluator, String id) { super(evaluator, id); checkIsExpectedComponent(TextField); } }