Tony's Component based Applet.class replacement documentation
 
 
public interface OrangeContext.class

Replacement class for the deprecated AppletContext.class

These are control bits for the main context control flags.

final static int
IN_JAR,

STDIN_ENA
,
STDOUT_ENA,
STDERR_ENA,
IO_MULTIPLEX_ENA     // Enable IO mutiplexing between different processes
                                        // (See Ports interface)
NOTE:
 // definitions for Stream type

final static int
IO_LOCAL,
IO_SERVER_SOCKET,
IO_CLIENT_SOCKET,
IO_STDIN,
IO_STDOUT,
IO_STDERR


int getID();
   Return the Process #. NOT the system process ID but which Orange.class process #.
   1,2,3... etc.
 

 
void start();
   Start the main thread.


 void halt();    // replaces stop()
   Signal the Thread to stop.


 void setFlags(int);
   Set IO control bits.


boolean init();
   Initialize everything. MUST only be called once during context creation


 int getFlags();
   Return the current value of the IO control bits.


 void showFlags();
   Echo the current value of the IO flags to stdout.


 Thread getThread();
   Return reference to the current running Thread.class.


 Runnable getRunnable();
   Return reference to the current Runnable.class context.


 Component getComponent(String tString);
   Return a reference to named Component.class


 HyperLinkedList getComponentList();
   Return a reference to the currently installed Components in this Context.


 Sound getSound(URL url);


 Image getImage(URL tURL);
   Fetch an Image from this URL


 HyperLinkedList getInputStream(String); //  Internal sequential shared memory process ID



getInputStream(String);
  
Return reference to local stdin

 void setInputStream(String key, InputStream) throws IOException;
  Set the local stdin input stream .


 HyperLinkedList getStreamKeys();



 void showDocument(URL tURL,String tBMLFileName,int tFlags); 
//Load and display BML file


void showDocument(URL tURL,String tHTMLFileName);
 //Load and display HTML file (Will load URL into default browser.)



 void showStatus(String tStatus);
// Echo to stdout or CoreFrame.class stdout handler.



 void expunge();     // replaces destroy();
   
Stop all threads & send all instantiated data to the garbage collector.