All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jaja.Listener

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----Jaja.Listener

public class Listener
extends Applet
implements ActionListener, ListenerAble

Variable Index

 o columns
 o height
 o identification
 o lines
 o logocolor
 o logofont
 o logoname
 o width

Constructor Index

 o Listener()

Method Index

 o actionPerformed(ActionEvent)
 o createOwnFrame()
When called from a shell, there is no surrounding frame.
 o displayAnomaly(EvaluationAble, Exception)
 o displayResult(Value)
 o getAppletInfo()
 o getIntParameter(String, int)
Get a numeric parameter from the html page.
 o getParameterInfo()
 o getProgram()
 o getStringParameter(String, String)
Get a string parameter from the html page.
 o init()
Initialize the applet.
 o initialize(String[], WorldAble)
Initialize the Listener so it may be used from FromOS.
 o initializeGUI()
Initialize the GUI objects.
 o print(Graphics)
 o setWorld(WorldAble)
Set the world bound to this Listener.
 o showStatus(String)
This is the equivalent of the status line provided by html clients (Netscape or Explorer) when Jaja is started as an applet from an OS shell.

Variables

 o identification
 protected static final String identification
 o logofont
 protected Font logofont
 o logocolor
 protected final Color logocolor
 o logoname
 protected final String logoname
 o lines
 public int lines
 o columns
 public int columns
 o width
 public int width
 o height
 public int height

Constructors

 o Listener
 public Listener()

Methods

 o getAppletInfo
 public String getAppletInfo()
Overrides:
getAppletInfo in class Applet
 o getParameterInfo
 public String[][] getParameterInfo()
Overrides:
getParameterInfo in class Applet
 o print
 public void print(Graphics g)
Overrides:
print in class Container
 o getProgram
 public Value getProgram()
 o displayResult
 public void displayResult(Value v)
 o displayAnomaly
 public void displayAnomaly(EvaluationAble ev,
                            Exception exception)
 o actionPerformed
 public void actionPerformed(ActionEvent event)
 o getIntParameter
 public int getIntParameter(String name,
                            int i)
Get a numeric parameter from the html page. If the applet is run from an OS shell then there is no parameter present then return the second argument.

 o getStringParameter
 public String getStringParameter(String name,
                                  String s)
Get a string parameter from the html page. If the applet is run from an OS shell then there is no parameter present then return the second argument.

 o showStatus
 public void showStatus(String msg)
This is the equivalent of the status line provided by html clients (Netscape or Explorer) when Jaja is started as an applet from an OS shell. The next method uses the appropriate status line.

Overrides:
showStatus in class Applet
 o initializeGUI
 public void initializeGUI()
Initialize the GUI objects.

 o setWorld
 public void setWorld(WorldAble world)
Set the world bound to this Listener.

 o init
 public void init()
Initialize the applet.

Overrides:
init in class Applet
 o createOwnFrame
 public void createOwnFrame()
When called from a shell, there is no surrounding frame. This method is used by FromOS to ask the applet to draw its own frame (of the correct size) and to draw itself in it.

 o initialize
 public void initialize(String argv[],
                        WorldAble world)
Initialize the Listener so it may be used from FromOS.


All Packages  Class Hierarchy  This Package  Previous  Next  Index