ewe.ui
Class TextEvent

java.lang.Object
  extended byewe.ui.Event
      extended byewe.ui.TextEvent

public class TextEvent
extends Event

A TextEvent is sent to an EditControl (mInput, mTextPad) usually during or upon completion of a native text input.


Field Summary
 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.
static int TEXT_CHANGED
          The event type for a text changed event.
static int TEXT_ENTERED
          The event type for a text entered event.
 
Fields inherited from class ewe.ui.Event
consumed, events, target, timeStamp, type, window
 
Constructor Summary
TextEvent()
           
 
Methods inherited from class ewe.ui.Event
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode
 

Field Detail

TEXT_ENTERED

public static final int TEXT_ENTERED
The event type for a text entered event.

See Also:
Constant Field Values

TEXT_CHANGED

public static final int TEXT_CHANGED
The event type for a text changed event.

See Also:
Constant Field Values

entered

public String entered
The text that was entered for a TEXT_ENTERED message.


flags

public int flags
Extra flags for the entered data.


FLAG_TEXT_WAS_ENTERED

public static final int FLAG_TEXT_WAS_ENTERED
This is used with the TEXT_ENTERED event and indicates that the input was not cancelled.

See Also:
Constant Field Values

FLAG_CLOSED_BY_UP_KEY

public static final 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.

See Also:
Constant Field Values

FLAG_CLOSED_BY_DOWN_KEY

public static final 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.

See Also:
Constant Field Values

FLAG_CLOSED_BY_ENTER_KEY

public static final int FLAG_CLOSED_BY_ENTER_KEY
This is used with the TEXT_ENTERED event and indicates that the input ended by the ENTER key.

See Also:
Constant Field Values

FLAG_CLOSED_BY_SOFT_KEY

public static final int FLAG_CLOSED_BY_SOFT_KEY
This is used with the TEXT_ENTERED event and indicates that the input ended by the ENTER key.

See Also:
Constant Field Values
Constructor Detail

TextEvent

public TextEvent()