public abstract class TextImpl extends Object implements Text
| Modifier | Constructor and Description |
|---|---|
protected |
TextImpl(Wrap<?> target) |
protected |
TextImpl(Wrap<?> target,
boolean keyboardSelection) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears text by pressing End and then Delete and Backspace until the text
is cleared.
|
Wrap<?> |
getWrap() |
protected void |
selectAll()
Selects all text within component by clicking 3 times on it or using
keyboard depending on the second argument passed to constructor.
|
void |
type(String newText)
Types text into the control.
|
protected TextImpl(Wrap<?> target, boolean keyboardSelection)
protected TextImpl(Wrap<?> target)
public Wrap<?> getWrap()
public void type(String newText)
protected void selectAll()
Warning! In Java keyboard selection doesn't work with NumLock turned On due to CR 4966137 'Robot presses Numpad del key instead of normal Del key'.
Copyright © 2019. All rights reserved.