public interface SpenTextChangeListener
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTROL_STATE_NOT_CHANGED
Text setting is not changed.
|
static int |
CONTROL_STATE_SELECTED
Text setting is selected.
|
static int |
CONTROL_STATE_UNSELECTED
Text setting is unselected.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onChanged(SpenSettingTextInfo info,
int state)
Called when a text setting is changed.
|
void |
onFocusChanged(boolean gainFocus)
Called when a focus is changed.
|
void |
onMoreButtonDown(SpenObjectTextBox object)
Called when a more button is downed.
|
boolean |
onSelectionChanged(int selStart,
int selEnd)
Called when a selection is changed.
|
static final int CONTROL_STATE_SELECTED
static final int CONTROL_STATE_UNSELECTED
static final int CONTROL_STATE_NOT_CHANGED
void onChanged(SpenSettingTextInfo info, int state)
info - The text setting information.state - The control state.
The valid values are: CONTROL_STATE_NOT_CHANGED, CONTROL_STATE_SELECTED,
CONTROL_STATE_UNSELECTED,
For more information, see Field Detail in this interface reference.boolean onSelectionChanged(int selStart,
int selEnd)
selStart - The selection starting index.selEnd - The selection ending index.void onMoreButtonDown(SpenObjectTextBox object)
object - The text box object.void onFocusChanged(boolean gainFocus)
gainFocus - Set to true to gain the focus, set to false to not gain the focus.