Back to index

im-sdk  12.3.91
Classes | Public Member Functions | Package Functions | Private Member Functions | Private Attributes
sun.awt.im.iiimp.InputContext Class Reference
Collaboration diagram for sun.awt.im.iiimp.InputContext:
Collaboration graph
[legend]

List of all members.

Classes

class  ComposedChar

Public Member Functions

IMServer getIMServer ()
void activate ()
void dispose ()
void deactivate ()
void dispatchKeyEvent (KeyEvent kev)
void reset (boolean state_is_preserved)
boolean isIn (java.awt.im.InputContext ic)
void removeContentAt (int index)
void insertContentAt (FeedbackChar c, int index)
void done ()
IMServer getIMServer ()
void activate ()
void dispose ()
void deactivate ()
void dispatchKeyEvent (KeyEvent kev)
void reset (boolean state_is_preserved)
boolean isIn (java.awt.im.InputContext ic)
void removeContentAt (int index)
void insertContentAt (FeedbackChar c, int index)
void done ()

Package Functions

 InputContext (java.awt.im.InputContext ic, ProtocolDriver client)
void setPreeditListener (IIIMPreeditListener listener)
void setCommittedListener (IIIMCommittedListener listener)
IIIMPreeditListener getPreeditListener ()
IIIMCommittedListener getCommittedListener ()
void create (IMServer im, Locale lc)
void setForward ()
void deliverStringEvent (String action, String content) throws IOException
void setID (int id)
int getID ()
void setConversionModeOff ()
AttributedString getAttributedString ()
 InputContext (java.awt.im.InputContext ic, ProtocolDriver client)
void setPreeditListener (IIIMPreeditListener listener)
void setCommittedListener (IIIMCommittedListener listener)
IIIMPreeditListener getPreeditListener ()
IIIMCommittedListener getCommittedListener ()
void create (IMServer im, Locale lc)
void setForward ()
void deliverStringEvent (String action, String content) throws IOException
void setID (int id)
int getID ()
void setConversionModeOff ()
AttributedString getAttributedString ()

Private Member Functions

boolean isUninterestingModifiers (KeyEvent kev)
boolean dispatchKeyEventImpl (KeyEvent kev)
boolean deliverKeyEvent (KeyEvent kev)
void setConversionMode (boolean mode)
boolean reconnect ()
void setFocus (boolean mode)
boolean isConversionMode ()
InputMethodHighlight convertVisualFeedbackToHighlight (int feedback)
void debug (String str)
boolean isUninterestingModifiers (KeyEvent kev)
boolean dispatchKeyEventImpl (KeyEvent kev)
boolean deliverKeyEvent (KeyEvent kev)
void setConversionMode (boolean mode)
boolean reconnect ()
void setFocus (boolean mode)
boolean isConversionMode ()
InputMethodHighlight convertVisualFeedbackToHighlight (int feedback)
void debug (String str)

Private Attributes

int id = 0
Locale locale = null
boolean active = false
boolean connected = false
boolean convMode = false
boolean isForwardEvent = false
IMServer im = null
ProtocolDriver client = ProtocolDriver.getInstance()
java.awt.im.InputContext ic
IIIMPreeditListener preeditListener
IIIMCommittedListener committedListener
Vector composedText = new Vector()
boolean beingProcessed = false

Detailed Description

Definition at line 1956 of file ProtocolDriver.java.


Constructor & Destructor Documentation

sun.awt.im.iiimp.InputContext.InputContext ( java.awt.im.InputContext  ic,
ProtocolDriver  client 
) [inline, package]

Definition at line 1989 of file ProtocolDriver.java.

                                                                     {
        this.ic = ic;
        this.client = client;
    }
sun.awt.im.iiimp.InputContext.InputContext ( java.awt.im.InputContext  ic,
ProtocolDriver  client 
) [inline, package]

Definition at line 2011 of file ProtocolDriver.java.

                                                                     {
        this.ic = ic;
        this.client = client;
    }

Member Function Documentation

Definition at line 2026 of file ProtocolDriver.java.

                           {
        if (active == true) {
            return;
        }
        active = true;
        setFocus(true);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2050 of file ProtocolDriver.java.

                           {
        if (active == true) {
            return;
        }
        active = true;
        setFocus(true);
    }

Here is the call graph for this function:

InputMethodHighlight sun.awt.im.iiimp.InputContext.convertVisualFeedbackToHighlight ( int  feedback) [inline, private]

Definition at line 2285 of file ProtocolDriver.java.

                                                                    {
       InputMethodHighlight h;
       switch (feedback) {
       case sun.awt.im.iiimp.FeedbackType.UNDERLINE:
           h = InputMethodHighlight.UNSELECTED_CONVERTED_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.REVERSE:
           h = InputMethodHighlight.SELECTED_CONVERTED_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.HIGHLIGHT:
           h = InputMethodHighlight.SELECTED_RAW_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.PRIMARY:
           h = InputMethodHighlight.UNSELECTED_CONVERTED_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.SECONDARY:
           h = InputMethodHighlight.SELECTED_CONVERTED_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.TERTIARY:
       default:
           h = InputMethodHighlight.SELECTED_RAW_TEXT_HIGHLIGHT;
           break;
       }
       return h;
    }    

Here is the caller graph for this function:

InputMethodHighlight sun.awt.im.iiimp.InputContext.convertVisualFeedbackToHighlight ( int  feedback) [inline, private]

Definition at line 2309 of file ProtocolDriver.java.

                                                                    {
       InputMethodHighlight h;
       switch (feedback) {
       case sun.awt.im.iiimp.FeedbackType.UNDERLINE:
           h = InputMethodHighlight.UNSELECTED_CONVERTED_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.REVERSE:
           h = InputMethodHighlight.SELECTED_CONVERTED_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.HIGHLIGHT:
           h = InputMethodHighlight.SELECTED_RAW_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.PRIMARY:
           h = InputMethodHighlight.UNSELECTED_CONVERTED_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.SECONDARY:
           h = InputMethodHighlight.SELECTED_CONVERTED_TEXT_HIGHLIGHT;
           break;
       case sun.awt.im.iiimp.FeedbackType.TERTIARY:
       default:
           h = InputMethodHighlight.SELECTED_RAW_TEXT_HIGHLIGHT;
           break;
       }
       return h;
    }    
void sun.awt.im.iiimp.InputContext.create ( IMServer  im,
Locale  lc 
) [inline, package]

Definition at line 2014 of file ProtocolDriver.java.

                                        {
        this.im = im;
       locale = lc;
        active = false;

       try {
           client.createIC(im.getID(), locale);
       } catch (Exception e) {
           debug("InputContext createIC: " + e);
       }
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.create ( IMServer  im,
Locale  lc 
) [inline, package]

Definition at line 2036 of file ProtocolDriver.java.

                                        {
        this.im = im;
       locale = lc;
        active = false;

       try {
           client.createIC(im.getID(), locale);
            if (isConversionMode() == true)
              setConversionMode(true); 
       } catch (Exception e) {
           debug("InputContext createIC: " + e);
       }
    }

Here is the call graph for this function:

Definition at line 2045 of file ProtocolDriver.java.

                             {
        if (active == false) {
            return;
        }
        active = false;
        setFocus(false);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2069 of file ProtocolDriver.java.

                             {
        if (active == false) {
            return;
        }
        active = false;
        setFocus(false);
    }

Here is the call graph for this function:

void sun.awt.im.iiimp.InputContext.debug ( String  str) [inline, private]

Definition at line 2319 of file ProtocolDriver.java.

                                   {
       if (Manager.DEBUG) {
           System.err.println(str);
       }
    }

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.debug ( String  str) [inline, private]

Definition at line 2343 of file ProtocolDriver.java.

                                   {
       if (Manager.DEBUG) {
           System.err.println(str);
       }
    }
boolean sun.awt.im.iiimp.InputContext.deliverKeyEvent ( KeyEvent  kev) [inline, private]

Definition at line 2140 of file ProtocolDriver.java.

                                                  {
        try {
            client.processKeyEvent(im.getID(), id, kev);
            if (isForwardEvent == true) {
                return false;
            }
            return true;
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
        }
        return false;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

boolean sun.awt.im.iiimp.InputContext.deliverKeyEvent ( KeyEvent  kev) [inline, private]

Definition at line 2164 of file ProtocolDriver.java.

                                                  {
        try {
            client.processKeyEvent(im.getID(), id, kev);
            if (isForwardEvent == true) {
                return false;
            }
            return true;
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
        }
        return false;
    }

Here is the call graph for this function:

void sun.awt.im.iiimp.InputContext.deliverStringEvent ( String  action,
String  content 
) throws IOException [inline, package]

Definition at line 2155 of file ProtocolDriver.java.

                                                                              {
       client.forwardEventWithOperation(im.getID(), id, action, content);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.deliverStringEvent ( String  action,
String  content 
) throws IOException [inline, package]

Definition at line 2179 of file ProtocolDriver.java.

                                                                              {
       client.forwardEventWithOperation(im.getID(), id, action, content);
    }

Here is the call graph for this function:

void sun.awt.im.iiimp.InputContext.dispatchKeyEvent ( KeyEvent  kev) [inline]

Definition at line 2055 of file ProtocolDriver.java.

                                               {
       if (beingProcessed && (kev.getID() == KeyEvent.KEY_TYPED ||
                       kev.getID() == KeyEvent.KEY_RELEASED)) {
           kev.consume();
           return;
       }
       beingProcessed  = dispatchKeyEventImpl(kev);
       if (beingProcessed == true) {
           kev.consume();
       }
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.dispatchKeyEvent ( KeyEvent  kev) [inline]

Definition at line 2079 of file ProtocolDriver.java.

                                               {
       if (beingProcessed && (kev.getID() == KeyEvent.KEY_TYPED ||
                       kev.getID() == KeyEvent.KEY_RELEASED)) {
           kev.consume();
           return;
       }
       beingProcessed  = dispatchKeyEventImpl(kev);
       if (beingProcessed == true) {
           kev.consume();
       }
    }

Here is the call graph for this function:

boolean sun.awt.im.iiimp.InputContext.dispatchKeyEventImpl ( KeyEvent  kev) [inline, private]

Definition at line 2079 of file ProtocolDriver.java.

                                                       {
        if (isConversionMode() == true) {
            if (isUninterestingModifiers(kev) == true) {
                return true;
            }
            if (kev.getID() == KeyEvent.KEY_TYPED) {
                return (isForwardEvent == true) ? false : true;
            }
            if (kev.getID() == KeyEvent.KEY_RELEASED) {
                return (isForwardEvent == true) ? false : true;
            }
        } else {
            if (isUninterestingModifiers(kev) == true) {
                return false;
            }
        }

        if (connected == false) {
            if (im.isConversionOnKey(kev) == true) {
                if (im.reopen(locale) == true) {
                    if (reconnect() == true) {
                        activate();
                        setConversionMode(true);
                    }
                } 
                return true;
            }
            return false;
        }
        if (isForwardEvent == true) {
            isForwardEvent = false;
        }

        if (im.isDynamicEventFlow() == true) {
            // conversion on
            if (isConversionMode() == true) {
                // turn off the conversion if the conversion mode is on
                if (im.isConversionOffKey(kev) == true) {
                    setConversionMode(false);
                    return true;
                }
                return deliverKeyEvent(kev);
            }
            // conversion off
            else {
                // turn on the conversion if the conversion mode is off
                if (im.isConversionOnKey(kev) == true) {
                    setConversionMode(true);
                    return true;
                }
            }
            return false;
        }

        return deliverKeyEvent(kev);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

boolean sun.awt.im.iiimp.InputContext.dispatchKeyEventImpl ( KeyEvent  kev) [inline, private]

Definition at line 2103 of file ProtocolDriver.java.

                                                       {
        if (isConversionMode() == true) {
            if (isUninterestingModifiers(kev) == true) {
                return true;
            }
            if (kev.getID() == KeyEvent.KEY_TYPED) {
                return (isForwardEvent == true) ? false : true;
            }
            if (kev.getID() == KeyEvent.KEY_RELEASED) {
                return (isForwardEvent == true) ? false : true;
            }
        } else {
            if (isUninterestingModifiers(kev) == true) {
                return false;
            }
        }

        if (connected == false) {
            if (im.isConversionOnKey(kev) == true) {
                if (im.reopen(locale) == true) {
                    if (reconnect() == true) {
                        activate();
                        setConversionMode(true);
                    }
                } 
                return true;
            }
            return false;
        }
        if (isForwardEvent == true) {
            isForwardEvent = false;
        }

        if (im.isDynamicEventFlow() == true) {
            // conversion on
            if (isConversionMode() == true) {
                // turn off the conversion if the conversion mode is on
                if (im.isConversionOffKey(kev) == true) {
                    setConversionMode(false);
                    return true;
                }
                return deliverKeyEvent(kev);
            }
            // conversion off
            else {
                // turn on the conversion if the conversion mode is off
                if (im.isConversionOnKey(kev) == true) {
                    setConversionMode(true);
                    return true;
                }
            }
            return false;
        } 

        return deliverKeyEvent(kev);
    }

Here is the call graph for this function:

Definition at line 2034 of file ProtocolDriver.java.

                          {
        try {
            client.destroyIC(im.getID(), id);
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
       }
        im.removeInputContextHandler(this);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2058 of file ProtocolDriver.java.

                          {
        try {
            client.destroyIC(im.getID(), id);
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
       }
        im.removeInputContextHandler(this);
    }

Here is the call graph for this function:

Definition at line 2312 of file ProtocolDriver.java.

                       {
        active = false;
        convMode = false;
        isForwardEvent = false;    
        composedText = new Vector();
    }

Here is the caller graph for this function:

Definition at line 2336 of file ProtocolDriver.java.

                       {
        active = false;
        convMode = false;
        isForwardEvent = false;    
        composedText = new Vector();
    }
AttributedString sun.awt.im.iiimp.InputContext.getAttributedString ( ) [inline, package]

Definition at line 2247 of file ProtocolDriver.java.

                                           {
       if (composedText.isEmpty() == true) {
           return new AttributedString("");
       }

       ComposedChar[] c = new ComposedChar[composedText.size()];
       composedText.copyInto(c);

       StringBuffer buf = new StringBuffer();
       for (int i = 0; i < c.length; i++) {
           buf.append(c[i].c);
       }
       AttributedString attrstr = new AttributedString(buf.toString());
           
       int start = 0;
       int i = 0;
       InputMethodHighlight cur = c[0].attr;
       for (; i < c.length; i++) {
           InputMethodHighlight next = c[i].attr;
           if (next != cur) {
              if (cur != null) {
                  attrstr.
                  addAttribute(TextAttribute.INPUT_METHOD_HIGHLIGHT,
                             cur, start, i);
              }
              cur = next;
              start = i;
           }
       }
       if (cur != null) {
           attrstr.addAttribute(TextAttribute.INPUT_METHOD_HIGHLIGHT,
                          cur, start, i);
       }

       return attrstr;
    }

Here is the caller graph for this function:

AttributedString sun.awt.im.iiimp.InputContext.getAttributedString ( ) [inline, package]

Definition at line 2271 of file ProtocolDriver.java.

                                           {
       if (composedText.isEmpty() == true) {
           return new AttributedString("");
       }

       ComposedChar[] c = new ComposedChar[composedText.size()];
       composedText.copyInto(c);

       StringBuffer buf = new StringBuffer();
       for (int i = 0; i < c.length; i++) {
           buf.append(c[i].c);
       }
       AttributedString attrstr = new AttributedString(buf.toString());
           
       int start = 0;
       int i = 0;
       InputMethodHighlight cur = c[0].attr;
       for (; i < c.length; i++) {
           InputMethodHighlight next = c[i].attr;
           if (next != cur) {
              if (cur != null) {
                  attrstr.
                  addAttribute(TextAttribute.INPUT_METHOD_HIGHLIGHT,
                             cur, start, i);
              }
              cur = next;
              start = i;
           }
       }
       if (cur != null) {
           attrstr.addAttribute(TextAttribute.INPUT_METHOD_HIGHLIGHT,
                          cur, start, i);
       }

       return attrstr;
    }

Definition at line 2006 of file ProtocolDriver.java.

                                                 {
       return committedListener;
    }

Here is the caller graph for this function:

Definition at line 2028 of file ProtocolDriver.java.

                                                 {
       return committedListener;
    }
int sun.awt.im.iiimp.InputContext.getID ( ) [inline, package]

Definition at line 2177 of file ProtocolDriver.java.

                {
        return id;
    }

Here is the caller graph for this function:

int sun.awt.im.iiimp.InputContext.getID ( ) [inline, package]

Definition at line 2201 of file ProtocolDriver.java.

                {
        return id;
    }

Definition at line 2010 of file ProtocolDriver.java.

                                  {
       return im;
    }

Definition at line 2032 of file ProtocolDriver.java.

                                  {
       return im;
    }
IIIMPreeditListener sun.awt.im.iiimp.InputContext.getPreeditListener ( ) [inline, package]

Definition at line 2002 of file ProtocolDriver.java.

                                             {
       return preeditListener;
    }

Here is the caller graph for this function:

IIIMPreeditListener sun.awt.im.iiimp.InputContext.getPreeditListener ( ) [inline, package]

Definition at line 2024 of file ProtocolDriver.java.

                                             {
       return preeditListener;
    }
void sun.awt.im.iiimp.InputContext.insertContentAt ( FeedbackChar  c,
int  index 
) [inline]

Definition at line 2240 of file ProtocolDriver.java.

                                                           {
        ComposedChar comp = new ComposedChar();
        comp.c = c.c;
        comp.attr = convertVisualFeedbackToHighlight(c.fd[0].value);
        composedText.insertElementAt(comp, index);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.insertContentAt ( FeedbackChar  c,
int  index 
) [inline]

Definition at line 2264 of file ProtocolDriver.java.

                                                           {
        ComposedChar comp = new ComposedChar();
        comp.c = c.c;
        comp.attr = convertVisualFeedbackToHighlight(c.fd[0].value);
        composedText.insertElementAt(comp, index);
    }

Here is the call graph for this function:

boolean sun.awt.im.iiimp.InputContext.isConversionMode ( ) [inline, private]

Definition at line 2223 of file ProtocolDriver.java.

                                       {
        return (connected == false) ? false : convMode;
    
        //return convMode;
    }

Here is the caller graph for this function:

boolean sun.awt.im.iiimp.InputContext.isConversionMode ( ) [inline, private]

Definition at line 2247 of file ProtocolDriver.java.

                                       {
        return (connected == false) ? false : convMode;
    
        //return convMode;
    }
boolean sun.awt.im.iiimp.InputContext.isIn ( java.awt.im.InputContext  ic) [inline]

Definition at line 2229 of file ProtocolDriver.java.

                                                     {
        if(this.ic == ic) return true;
        else return false;
    }
boolean sun.awt.im.iiimp.InputContext.isIn ( java.awt.im.InputContext  ic) [inline]

Definition at line 2253 of file ProtocolDriver.java.

                                                     {
        if(this.ic == ic) return true;
        else return false;
    }
boolean sun.awt.im.iiimp.InputContext.isUninterestingModifiers ( KeyEvent  kev) [inline, private]

Definition at line 2067 of file ProtocolDriver.java.

                                                           {
        switch (kev.getKeyCode()) {
        case KeyEvent.VK_CONTROL:
        case KeyEvent.VK_CAPS_LOCK:
        case KeyEvent.VK_ALT:
        case KeyEvent.VK_META:
        case KeyEvent.VK_SHIFT:
            return true;
        }
        return false;
    }

Here is the caller graph for this function:

boolean sun.awt.im.iiimp.InputContext.isUninterestingModifiers ( KeyEvent  kev) [inline, private]

Definition at line 2091 of file ProtocolDriver.java.

                                                           {
        switch (kev.getKeyCode()) {
        case KeyEvent.VK_CONTROL:
        case KeyEvent.VK_CAPS_LOCK:
        case KeyEvent.VK_ALT:
        case KeyEvent.VK_META:
        case KeyEvent.VK_SHIFT:
            return true;
        }
        return false;
    }
boolean sun.awt.im.iiimp.InputContext.reconnect ( ) [inline, private]

Definition at line 2197 of file ProtocolDriver.java.

                                {
        if (connected == true) {
            return true;
        }
        try {
            client.createIC(im.getID(), locale);
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
            return false;
        }
        connected = true;
        return true;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

boolean sun.awt.im.iiimp.InputContext.reconnect ( ) [inline, private]

Definition at line 2221 of file ProtocolDriver.java.

                                {
        if (connected == true) {
            return true;
        }
        try {
            client.createIC(im.getID(), locale);
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
            return false;
        }
        connected = true;
        return true;
    }

Here is the call graph for this function:

void sun.awt.im.iiimp.InputContext.removeContentAt ( int  index) [inline]

Definition at line 2234 of file ProtocolDriver.java.

                                           {
       if (composedText.size() > index) {
           composedText.removeElementAt(index);
       }
    }

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.removeContentAt ( int  index) [inline]

Definition at line 2258 of file ProtocolDriver.java.

                                           {
       if (composedText.size() > index) {
           composedText.removeElementAt(index);
       }
    }
void sun.awt.im.iiimp.InputContext.reset ( boolean  state_is_preserved) [inline]

Definition at line 2159 of file ProtocolDriver.java.

                                                  {
        try {
            client.resetIC(im.getID(), id);
        } catch (Exception e) {
           if (Manager.DEBUG) { 
              e.printStackTrace();
           }
       }
        if (state_is_preserved == false) {
            setConversionMode(false);
        }
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.reset ( boolean  state_is_preserved) [inline]

Definition at line 2183 of file ProtocolDriver.java.

                                                  {
        try {
            client.resetIC(im.getID(), id);
        } catch (Exception e) {
           if (Manager.DEBUG) { 
              e.printStackTrace();
           }
       }
        if (state_is_preserved == false) {
            setConversionMode(false);
        }
    }

Here is the call graph for this function:

Definition at line 1998 of file ProtocolDriver.java.

                                                              {
       committedListener = listener;
    }

Here is the caller graph for this function:

Definition at line 2020 of file ProtocolDriver.java.

                                                              {
       committedListener = listener;
    }
void sun.awt.im.iiimp.InputContext.setConversionMode ( boolean  mode) [inline, private]

Definition at line 2181 of file ProtocolDriver.java.

                                                 {
        try {
            client.notifyTrigger(im.getID(), id, mode);
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
       }
        convMode = mode;
    }    

Here is the call graph for this function:

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.setConversionMode ( boolean  mode) [inline, private]

Definition at line 2205 of file ProtocolDriver.java.

                                                 {
        try {
            client.notifyTrigger(im.getID(), id, mode);
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
       }
        convMode = mode;
    }    

Here is the call graph for this function:

Definition at line 2193 of file ProtocolDriver.java.

                                {
       convMode = false;
    }

Here is the caller graph for this function:

Definition at line 2217 of file ProtocolDriver.java.

                                {
       convMode = false;
    }
void sun.awt.im.iiimp.InputContext.setFocus ( boolean  mode) [inline, private]

Definition at line 2213 of file ProtocolDriver.java.

                                        {
        try {
            client.setFocus(im.getID(), id, mode);
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
       }
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.setFocus ( boolean  mode) [inline, private]

Definition at line 2237 of file ProtocolDriver.java.

                                        {
        try {
            client.setFocus(im.getID(), id, mode);
        } catch (Exception e) {
           if (Manager.DEBUG) {
              e.printStackTrace();
           }
       }
    }

Here is the call graph for this function:

void sun.awt.im.iiimp.InputContext.setForward ( ) [inline, package]

Definition at line 2136 of file ProtocolDriver.java.

                      {
       isForwardEvent = true;
    }

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.setForward ( ) [inline, package]

Definition at line 2160 of file ProtocolDriver.java.

                      {
       isForwardEvent = true;
    }
void sun.awt.im.iiimp.InputContext.setID ( int  id) [inline, package]

Definition at line 2172 of file ProtocolDriver.java.

                       {
        this.id = id;
        connected = true;
    }

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.setID ( int  id) [inline, package]

Definition at line 2196 of file ProtocolDriver.java.

                       {
        this.id = id;
        connected = true;
    }
void sun.awt.im.iiimp.InputContext.setPreeditListener ( IIIMPreeditListener  listener) [inline, package]

Definition at line 1994 of file ProtocolDriver.java.

                                                          {
       preeditListener = listener;
    }

Here is the caller graph for this function:

void sun.awt.im.iiimp.InputContext.setPreeditListener ( IIIMPreeditListener  listener) [inline, package]

Definition at line 2016 of file ProtocolDriver.java.

                                                          {
       preeditListener = listener;
    }

Member Data Documentation

boolean InputContext.active = false [private]

Definition at line 1962 of file ProtocolDriver.java.

boolean InputContext.beingProcessed = false [private]

Definition at line 2053 of file ProtocolDriver.java.

Definition at line 1972 of file ProtocolDriver.java.

Definition at line 1978 of file ProtocolDriver.java.

Vector InputContext.composedText = new Vector() [private]

Definition at line 1986 of file ProtocolDriver.java.

boolean InputContext.connected = false [private]

Definition at line 1964 of file ProtocolDriver.java.

boolean InputContext.convMode = false [private]

Definition at line 1966 of file ProtocolDriver.java.

java awt im InputContext InputContext.ic [private]

Definition at line 1974 of file ProtocolDriver.java.

int InputContext.id = 0 [private]

Definition at line 1958 of file ProtocolDriver.java.

IMServer InputContext.im = null [private]

Definition at line 1970 of file ProtocolDriver.java.

boolean InputContext.isForwardEvent = false [private]

Definition at line 1968 of file ProtocolDriver.java.

Locale InputContext.locale = null [private]

Definition at line 1960 of file ProtocolDriver.java.

IIIMPreeditListener InputContext.preeditListener [private]

Definition at line 1976 of file ProtocolDriver.java.


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