< prev index next >

core/JemmyCore/src/org/jemmy/input/TextImpl.java

Print this page

        

*** 43,83 **** private static final int DEFAULT_SELECT_ALL_CLICK_COUNT = 3; private Wrap<?> target; private int selectAllClickCount = DEFAULT_SELECT_ALL_CLICK_COUNT; boolean keyboardSelection; - /** - * - * @param target - * @param keyboardSelection - */ protected TextImpl(Wrap<?> target, boolean keyboardSelection) { this.target = target; this.keyboardSelection = keyboardSelection; } - /** - * - * @param target - */ protected TextImpl(Wrap<?> target) { this(target, false); } - /** - * - * @return - */ public Wrap<?> getWrap() { return target; } /** * Types text into the control. Wrap may implement Focusable. * * @see Focusable ! * @param newText */ public void type(final String newText) { target.getEnvironment().getExecutor().execute(target.getEnvironment(), false, new Action() { public void run(Object... parameters) { if (target.is(Focusable.class)) { --- 43,70 ---- private static final int DEFAULT_SELECT_ALL_CLICK_COUNT = 3; private Wrap<?> target; private int selectAllClickCount = DEFAULT_SELECT_ALL_CLICK_COUNT; boolean keyboardSelection; protected TextImpl(Wrap<?> target, boolean keyboardSelection) { this.target = target; this.keyboardSelection = keyboardSelection; } protected TextImpl(Wrap<?> target) { this(target, false); } public Wrap<?> getWrap() { return target; } /** * Types text into the control. Wrap may implement Focusable. * * @see Focusable ! * @param newText the new text */ public void type(final String newText) { target.getEnvironment().getExecutor().execute(target.getEnvironment(), false, new Action() { public void run(Object... parameters) { if (target.is(Focusable.class)) {
< prev index next >