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
-
columns
-
-
height
-
-
identification
-
-
lines
-
-
logocolor
-
-
logofont
-
-
logoname
-
-
width
-
-
Listener()
-
-
actionPerformed(ActionEvent)
-
-
createOwnFrame()
- When called from a shell, there is no surrounding frame.
-
displayAnomaly(EvaluationAble, Exception)
-
-
displayResult(Value)
-
-
getAppletInfo()
-
-
getIntParameter(String, int)
- Get a numeric parameter from the html page.
-
getParameterInfo()
-
-
getProgram()
-
-
getStringParameter(String, String)
- Get a string parameter from the html page.
-
init()
- Initialize the applet.
-
initialize(String[], WorldAble)
- Initialize the Listener so it may be used from FromOS.
-
initializeGUI()
- Initialize the GUI objects.
-
print(Graphics)
-
-
setWorld(WorldAble)
- Set the world bound to this Listener.
-
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.
identification
protected static final String identification
logofont
protected Font logofont
logocolor
protected final Color logocolor
logoname
protected final String logoname
lines
public int lines
columns
public int columns
width
public int width
height
public int height
Listener
public Listener()
getAppletInfo
public String getAppletInfo()
- Overrides:
- getAppletInfo in class Applet
getParameterInfo
public String[][] getParameterInfo()
- Overrides:
- getParameterInfo in class Applet
print
public void print(Graphics g)
- Overrides:
- print in class Container
getProgram
public Value getProgram()
displayResult
public void displayResult(Value v)
displayAnomaly
public void displayAnomaly(EvaluationAble ev,
Exception exception)
actionPerformed
public void actionPerformed(ActionEvent event)
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.
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.
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
initializeGUI
public void initializeGUI()
- Initialize the GUI objects.
setWorld
public void setWorld(WorldAble world)
- Set the world bound to this Listener.
init
public void init()
- Initialize the applet.
- Overrides:
- init in class Applet
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.
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