swingwt.awt.event
Class InputMethodEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byswingwt.awt.AWTEvent
          extended byswingwt.awt.event.InputMethodEvent
All Implemented Interfaces:
java.io.Serializable

public class InputMethodEvent
extends AWTEvent

See Also:
Serialized Form

Field Summary
static int CARET_POSITION_CHANGED
           
static int INPUT_METHOD_FIRST
           
static int INPUT_METHOD_LAST
           
static int INPUT_METHOD_TEXT_CHANGED
           
 
Fields inherited from class swingwt.awt.AWTEvent
consumed, eventID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InputMethodEvent(Component source, int id, java.text.AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
           
InputMethodEvent(Component source, int id, long when, java.text.AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
           
InputMethodEvent(Component source, int id, TextHitInfo caret, TextHitInfo visiblePosition)
           
 
Method Summary
 void consume()
           
 TextHitInfo getCaret()
           
 int getCommittedCharacterCount()
           
 java.text.AttributedCharacterIterator getText()
           
 TextHitInfo getVisiblePosition()
           
 long getWhen()
           
 boolean isConsumed()
           
 java.lang.String paramString()
           
 
Methods inherited from class swingwt.awt.AWTEvent
getID, setSource
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INPUT_METHOD_FIRST

public static final int INPUT_METHOD_FIRST
See Also:
Constant Field Values

INPUT_METHOD_TEXT_CHANGED

public static final int INPUT_METHOD_TEXT_CHANGED
See Also:
Constant Field Values

CARET_POSITION_CHANGED

public static final int CARET_POSITION_CHANGED
See Also:
Constant Field Values

INPUT_METHOD_LAST

public static final int INPUT_METHOD_LAST
See Also:
Constant Field Values
Constructor Detail

InputMethodEvent

public InputMethodEvent(Component source,
                        int id,
                        java.text.AttributedCharacterIterator text,
                        int committedCharacterCount,
                        TextHitInfo caret,
                        TextHitInfo visiblePosition)

InputMethodEvent

public InputMethodEvent(Component source,
                        int id,
                        long when,
                        java.text.AttributedCharacterIterator text,
                        int committedCharacterCount,
                        TextHitInfo caret,
                        TextHitInfo visiblePosition)

InputMethodEvent

public InputMethodEvent(Component source,
                        int id,
                        TextHitInfo caret,
                        TextHitInfo visiblePosition)
Method Detail

getText

public java.text.AttributedCharacterIterator getText()

getCommittedCharacterCount

public int getCommittedCharacterCount()

getCaret

public TextHitInfo getCaret()

getVisiblePosition

public TextHitInfo getVisiblePosition()

consume

public void consume()
Overrides:
consume in class AWTEvent

isConsumed

public boolean isConsumed()
Overrides:
isConsumed in class AWTEvent

getWhen

public long getWhen()

paramString

public java.lang.String paramString()