Back to index

lightning-sunbird  0.9+nobinonly
Classes | Static Public Member Functions | Static Package Functions | Static Private Member Functions | Static Private Attributes
netscape.oji.MRJConsole Class Reference
Collaboration diagram for netscape.oji.MRJConsole:
Collaboration graph
[legend]

List of all members.

Classes

class  Error
class  Input
class  Output

Static Public Member Functions

static void init ()
static void dispose ()
static void show ()
static void hide ()
static void visible (boolean[] result)
static void print (String text)
static synchronized void finish ()
static void init ()
static void dispose ()
static void show ()
static void hide ()
static void visible (boolean[] result)
static void print (String text)
static synchronized void finish ()

Static Package Functions

static native int readLine (byte[] buffer, int offset, int length)
static native void writeLine (byte[] buffer, int offset, int length)
static native int readLine (byte[] buffer, int offset, int length)
static native void writeLine (byte[] buffer, int offset, int length)

Static Private Member Functions

static synchronized void done ()
static synchronized void done ()

Static Private Attributes

static InputStream in
static PrintStream out
static PrintStream err
static ConsoleWindow window

Detailed Description

Definition at line 99 of file MRJConsole.java.


Member Function Documentation

static void netscape.oji.MRJConsole.dispose ( ) [inline, static]

Definition at line 202 of file MRJConsole.java.

                                    {
              System.setIn(in);
              System.setOut(out);
              System.setErr(err);
              window.dispose();
              window = null;
              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.dispose ( ) [inline, static]

Definition at line 203 of file MRJConsole.java.

                                    {
              System.setIn(in);
              System.setOut(out);
              System.setErr(err);
              window.dispose();
              window = null;
              done();
       }

Here is the call graph for this function:

static synchronized void netscape.oji.MRJConsole.done ( ) [inline, static, private]

Definition at line 238 of file MRJConsole.java.

                                               {
              MRJConsole.class.notify();
       }

Here is the caller graph for this function:

static synchronized void netscape.oji.MRJConsole.done ( ) [inline, static, private]

Definition at line 239 of file MRJConsole.java.

                                               {
              MRJConsole.class.notify();
       }
static synchronized void netscape.oji.MRJConsole.finish ( ) [inline, static]

Definition at line 231 of file MRJConsole.java.

                                                {
              try {
                     MRJConsole.class.wait();
              } catch (InterruptedException ie) {
              }
       }
static synchronized void netscape.oji.MRJConsole.finish ( ) [inline, static]

Definition at line 232 of file MRJConsole.java.

                                                {
              try {
                     MRJConsole.class.wait();
              } catch (InterruptedException ie) {
              }
       }
static void netscape.oji.MRJConsole.hide ( ) [inline, static]

Definition at line 216 of file MRJConsole.java.

                                 {
              window.hide();
              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.hide ( ) [inline, static]

Definition at line 217 of file MRJConsole.java.

                                 {
              window.hide();
              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.init ( ) [inline, static]

Definition at line 188 of file MRJConsole.java.

                                 {
              in = System.in;
              out = System.out;
              err = System.err;

              window = new ConsoleWindow("Java Console");

              System.setIn(new Input());
              System.setOut(new PrintStream(new Output()));
              System.setErr(new PrintStream(new Error()));

              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.init ( ) [inline, static]

Definition at line 189 of file MRJConsole.java.

                                 {
              in = System.in;
              out = System.out;
              err = System.err;

              window = new ConsoleWindow("Java Console");

              System.setIn(new Input());
              System.setOut(new PrintStream(new Output()));
              System.setErr(new PrintStream(new Error()));

              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.print ( String  text) [inline, static]

Definition at line 226 of file MRJConsole.java.

                                             {
              System.out.print(text);
              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.print ( String  text) [inline, static]

Definition at line 227 of file MRJConsole.java.

                                             {
              System.out.print(text);
              done();
       }

Here is the call graph for this function:

static native int netscape.oji.MRJConsole.readLine ( byte[]  buffer,
int  offset,
int  length 
) [static, package]
static native int netscape.oji.MRJConsole.readLine ( byte[]  buffer,
int  offset,
int  length 
) [static, package]
static void netscape.oji.MRJConsole.show ( ) [inline, static]

Definition at line 211 of file MRJConsole.java.

                                 {
              window.show();
              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.show ( ) [inline, static]

Definition at line 212 of file MRJConsole.java.

                                 {
              window.show();
              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.visible ( boolean[]  result) [inline, static]

Definition at line 221 of file MRJConsole.java.

                                                    {
              result[0] = window.isVisible();
              done();
       }

Here is the call graph for this function:

static void netscape.oji.MRJConsole.visible ( boolean[]  result) [inline, static]

Definition at line 222 of file MRJConsole.java.

                                                    {
              result[0] = window.isVisible();
              done();
       }

Here is the call graph for this function:

static native void netscape.oji.MRJConsole.writeLine ( byte[]  buffer,
int  offset,
int  length 
) [static, package]
static native void netscape.oji.MRJConsole.writeLine ( byte[]  buffer,
int  offset,
int  length 
) [static, package]

Member Data Documentation

static PrintStream MRJConsole.err [static, private]

Definition at line 103 of file MRJConsole.java.

static InputStream MRJConsole.in [static, private]

Definition at line 101 of file MRJConsole.java.

static PrintStream MRJConsole.out [static, private]

Definition at line 102 of file MRJConsole.java.

static ConsoleWindow MRJConsole.window [static, private]

Definition at line 104 of file MRJConsole.java.


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