Back to index

im-sdk  12.3.91
Package Functions | Package Attributes
sun.awt.im.iiimp.FeedbackChar Class Reference
Collaboration diagram for sun.awt.im.iiimp.FeedbackChar:
Collaboration graph
[legend]

List of all members.

Package Functions

 FeedbackChar ()
void addFeedbackType (int i, int j)
 FeedbackChar ()
void addFeedbackType (int i, int j)

Package Attributes

char c
FeedbackType fd []

Detailed Description

Definition at line 2327 of file ProtocolDriver.java.


Constructor & Destructor Documentation

Definition at line 2333 of file ProtocolDriver.java.

                   {
        c = 0;
        fd = null;
    }

Definition at line 2357 of file ProtocolDriver.java.

                   {
        c = 0;
        fd = null;
    }

Member Function Documentation

void sun.awt.im.iiimp.FeedbackChar.addFeedbackType ( int  i,
int  j 
) [inline, package]

Definition at line 2338 of file ProtocolDriver.java.

                                       {
        if(fd == null) {
            fd = new FeedbackType[1];
            fd[0] = new FeedbackType(i, j);
            return;
        }

        FeedbackType inputmethodfeedback = null;
        for(int l = 0; l < fd.length; l++) {
            if(fd[l].id != i)
                continue;
            inputmethodfeedback = fd[l];
            break;
        }

        if(inputmethodfeedback != null) {
            inputmethodfeedback.value &= j;
            return;
        } else {
            int k = fd.length;
            FeedbackType ainputmethodfeedback[] =
              new FeedbackType[k + 1];
            System.arraycopy(fd, 0, ainputmethodfeedback, 0, k);
            fd = ainputmethodfeedback;
            fd[k] = new FeedbackType(i, j);
            return;
        }
    }

Here is the caller graph for this function:

void sun.awt.im.iiimp.FeedbackChar.addFeedbackType ( int  i,
int  j 
) [inline, package]

Definition at line 2362 of file ProtocolDriver.java.

                                       {
        if(fd == null) {
            fd = new FeedbackType[1];
            fd[0] = new FeedbackType(i, j);
            return;
        }

        FeedbackType inputmethodfeedback = null;
        for(int l = 0; l < fd.length; l++) {
            if(fd[l].id != i)
                continue;
            inputmethodfeedback = fd[l];
            break;
        }

        if(inputmethodfeedback != null) {
            inputmethodfeedback.value &= j;
            return;
        } else {
            int k = fd.length;
            FeedbackType ainputmethodfeedback[] =
              new FeedbackType[k + 1];
            System.arraycopy(fd, 0, ainputmethodfeedback, 0, k);
            fd = ainputmethodfeedback;
            fd[k] = new FeedbackType(i, j);
            return;
        }
    }

Member Data Documentation

Definition at line 2329 of file ProtocolDriver.java.

Definition at line 2331 of file ProtocolDriver.java.


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