Back to index

im-sdk  12.3.91
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Private Attributes
com.sun.iiim.IIIMEvent Class Reference
Inheritance diagram for com.sun.iiim.IIIMEvent:
Inheritance graph
[legend]
Collaboration diagram for com.sun.iiim.IIIMEvent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int getID ()
int getType ()
 IIIMEvent (int id)
 IIIMEvent (AWTEvent e)
AWTEvent getAWTEvent ()
void processedBy (IIIMListener listener)
boolean isProcessedBy (IIIMListener listener)
void consume ()
boolean isConsumed ()
int getID ()
int getType ()
 IIIMEvent (int id)
 IIIMEvent (AWTEvent e)
AWTEvent getAWTEvent ()
void processedBy (IIIMListener listener)
boolean isProcessedBy (IIIMListener listener)
void consume ()
boolean isConsumed ()

Static Public Member Functions

static String iteratorToString (CharacterIterator iterator)
 convinience method
static String iteratorToString (CharacterIterator iterator)
 convinience method

Static Public Attributes

static final int AWT = 0
static final int ACTION = 1
static final int PREEDIT = 2
static final int COMMITTED = 3
static final int LOOKUP = 4
static final int STATUS = 5
static final int AUX = 6
static final int KEY = 7

Protected Attributes

boolean consumed = false
int id = AWT
int type

Private Attributes

AWTEvent awtEvent
Vector listeners

Detailed Description

Definition at line 51 of file IIIMEvent.java.


Constructor & Destructor Documentation

com.sun.iiim.IIIMEvent.IIIMEvent ( int  id) [inline]

Definition at line 86 of file IIIMEvent.java.

                             {
       this.id = id;
       listeners = new Vector();
    }
com.sun.iiim.IIIMEvent.IIIMEvent ( AWTEvent  e) [inline]

Definition at line 91 of file IIIMEvent.java.

                                 {
       this(AWT);
       
       awtEvent = e;
    }
com.sun.iiim.IIIMEvent.IIIMEvent ( int  id) [inline]

Definition at line 86 of file IIIMEvent.java.

                             {
       this.id = id;
       listeners = new Vector();
    }
com.sun.iiim.IIIMEvent.IIIMEvent ( AWTEvent  e) [inline]

Definition at line 91 of file IIIMEvent.java.

                                 {
       this(AWT);
       
       awtEvent = e;
    }

Member Function Documentation

void com.sun.iiim.IIIMEvent.consume ( ) [inline]

Definition at line 109 of file IIIMEvent.java.

                          {
       consumed = true;
       if (awtEvent != null && awtEvent instanceof InputEvent) {
           ((InputEvent)awtEvent).consume();
       }
    } 

Here is the caller graph for this function:

void com.sun.iiim.IIIMEvent.consume ( ) [inline]

Definition at line 109 of file IIIMEvent.java.

                          {
       consumed = true;
       if (awtEvent != null && awtEvent instanceof InputEvent) {
           ((InputEvent)awtEvent).consume();
       }
    } 
AWTEvent com.sun.iiim.IIIMEvent.getAWTEvent ( ) [inline]

Definition at line 97 of file IIIMEvent.java.

                                  {
       return awtEvent;
    }
AWTEvent com.sun.iiim.IIIMEvent.getAWTEvent ( ) [inline]

Definition at line 97 of file IIIMEvent.java.

                                  {
       return awtEvent;
    }

Here is the caller graph for this function:

int com.sun.iiim.IIIMEvent.getID ( ) [inline]

Definition at line 57 of file IIIMEvent.java.

                       {
       return id;
    }
int com.sun.iiim.IIIMEvent.getID ( ) [inline]

Definition at line 57 of file IIIMEvent.java.

                       {
       return id;
    }

Definition at line 66 of file IIIMEvent.java.

                         {
       return type;
    }

Definition at line 66 of file IIIMEvent.java.

                         {
       return type;
    }
boolean com.sun.iiim.IIIMEvent.isConsumed ( ) [inline]

Definition at line 116 of file IIIMEvent.java.

                                {
       return consumed;
    }
boolean com.sun.iiim.IIIMEvent.isConsumed ( ) [inline]

Definition at line 116 of file IIIMEvent.java.

                                {
       return consumed;
    }
boolean com.sun.iiim.IIIMEvent.isProcessedBy ( IIIMListener  listener) [inline]

Definition at line 105 of file IIIMEvent.java.

                                                        {
       return listeners.contains(listener);
    }
boolean com.sun.iiim.IIIMEvent.isProcessedBy ( IIIMListener  listener) [inline]

Definition at line 105 of file IIIMEvent.java.

                                                        {
       return listeners.contains(listener);
    }
static String com.sun.iiim.IIIMEvent.iteratorToString ( CharacterIterator  iterator) [inline, static]

convinience method

Definition at line 123 of file IIIMEvent.java.

                                                                      {
       StringBuffer sb = new StringBuffer();
       for (char c = iterator.first(); c != CharacterIterator.DONE;
            c = iterator.next()) {
           sb.append(c);
       }
       return sb.toString();
    }

Here is the caller graph for this function:

static String com.sun.iiim.IIIMEvent.iteratorToString ( CharacterIterator  iterator) [inline, static]

convinience method

Definition at line 123 of file IIIMEvent.java.

                                                                      {
       StringBuffer sb = new StringBuffer();
       for (char c = iterator.first(); c != CharacterIterator.DONE;
            c = iterator.next()) {
           sb.append(c);
       }
       return sb.toString();
    }
void com.sun.iiim.IIIMEvent.processedBy ( IIIMListener  listener) [inline]

Definition at line 101 of file IIIMEvent.java.

                                                   {
       listeners.add(listener);
    }
void com.sun.iiim.IIIMEvent.processedBy ( IIIMListener  listener) [inline]

Definition at line 101 of file IIIMEvent.java.

                                                   {
       listeners.add(listener);
    }

Member Data Documentation

static final int com.sun.iiim.IIIMEvent.ACTION = 1 [static]

Definition at line 75 of file IIIMEvent.java.

static final int com.sun.iiim.IIIMEvent.AUX = 6 [static]

Definition at line 80 of file IIIMEvent.java.

static final int com.sun.iiim.IIIMEvent.AWT = 0 [static]

Definition at line 74 of file IIIMEvent.java.

AWTEvent com.sun.iiim.IIIMEvent.awtEvent [private]

Definition at line 83 of file IIIMEvent.java.

static final int com.sun.iiim.IIIMEvent.COMMITTED = 3 [static]

Definition at line 77 of file IIIMEvent.java.

boolean com.sun.iiim.IIIMEvent.consumed = false [protected]

Definition at line 53 of file IIIMEvent.java.

int com.sun.iiim.IIIMEvent.id = AWT [protected]

Definition at line 55 of file IIIMEvent.java.

static final int com.sun.iiim.IIIMEvent.KEY = 7 [static]

Definition at line 81 of file IIIMEvent.java.

Definition at line 84 of file IIIMEvent.java.

static final int com.sun.iiim.IIIMEvent.LOOKUP = 4 [static]

Definition at line 78 of file IIIMEvent.java.

static final int com.sun.iiim.IIIMEvent.PREEDIT = 2 [static]

Definition at line 76 of file IIIMEvent.java.

static final int com.sun.iiim.IIIMEvent.STATUS = 5 [static]

Definition at line 79 of file IIIMEvent.java.

int com.sun.iiim.IIIMEvent.type [protected]

Definition at line 64 of file IIIMEvent.java.


The documentation for this class was generated from the following files: