public interface EditableField
| Modifier and Type | Method and Description |
|---|---|
int |
adjustCursor(int key,
int pos,
int max)
Allow the widget to adjust the cursor position, after a key was pressed.
|
int |
getInitialCursorPos()
Compute the initial cursor position, depending on the widget's implementation.
|
int adjustCursor(int key,
int pos,
int max)
key - The pressed key.pos - The cursor position computed by the display format.max - The maximum cursor position.int getInitialCursorPos()