public class SurfaceTextEvent extends SurfaceEvent
Modifier and Type | Field and Description |
---|---|
String |
entered
The text that was entered for a TEXT_ENTERED message.
|
static int |
FLAG_CLOSED_BY_DOWN_KEY
This is used with the TEXT_ENTERED event and indicates that the input ended by the DOWN cursor key.
|
static int |
FLAG_CLOSED_BY_ENTER_KEY
This is used with the TEXT_ENTERED event and indicates that the input ended by the ENTER key.
|
static int |
FLAG_CLOSED_BY_SOFT_KEY
This is used with the TEXT_ENTERED event and indicates that the input ended by the ENTER key.
|
static int |
FLAG_CLOSED_BY_UP_KEY
This is used with the TEXT_ENTERED event and indicates that the input ended by the UP cursor key.
|
static int |
FLAG_TEXT_WAS_ENTERED
This is used with the TEXT_ENTERED event and indicates that the input was not cancelled.
|
int |
flags
Extra flags for the entered data.
|
NativeInputParameters |
inputParameters
This is used with the TEXT_ENTERED event and indicates that the input ended by the ENTER key.
|
static int |
TEXT_CHANGED
The event type for a text changed event.
|
static int |
TEXT_ENTERED
The event type for a text entered event.
|
static int |
TEXT_EVENT_FIRST
This is sent to the Window indicating that the input box has closed.
|
static int |
TEXT_EVENT_LAST |
Constructor and Description |
---|
SurfaceTextEvent() |
getSurface
clearPostData, getPostData, isReused, setPostData, setReused
_getFieldType, _getSetField, cache, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNew
public static final int TEXT_ENTERED
public static final int TEXT_CHANGED
public static final int TEXT_EVENT_FIRST
public static final int TEXT_EVENT_LAST
public String entered
public int flags
public static final int FLAG_TEXT_WAS_ENTERED
public static final int FLAG_CLOSED_BY_UP_KEY
public static final int FLAG_CLOSED_BY_DOWN_KEY
public static final int FLAG_CLOSED_BY_ENTER_KEY
public static final int FLAG_CLOSED_BY_SOFT_KEY
public NativeInputParameters inputParameters