Class tred.TraklaEditor
All Packages Class Hierarchy This Package Previous Next Index
Class tred.TraklaEditor
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----tred.TraklaEditor
- public final class TraklaEditor
- extends Applet
This class provides the initialization of the TraklaEditor.
It parses the parameters provided by the HTML-document and creates
the GraphPanel. It also sets up buttons needed for editor.
-
back_b
-
-
begin_b
-
-
buttons
-
-
end_b
-
-
font
-
-
forw_b
-
-
ok_b
-
-
options
-
-
panel
-
-
play_buttons
-
-
realName
-
-
size
-
-
TraklaEditor()
-
-
action(Event, Object)
-
This method is called when an action occurs inside this component.
-
getAppletInfo()
- Returns the version and author of this applet.
-
getCourseID()
- Returns the current course id.
-
getExerciseId()
- Returns the current exercise number.
-
getPostURL()
- Returns the URL to cgi-script which is used to deliver export.
-
getRoundID()
- Returns the current round of exercises.
-
getUserID()
- Returns the current user id.
-
init()
-
Parses the parameters and initializes the GraphPanel and all buttons
needed for editing.
panel
public GraphPanel panel
buttons
public Panel buttons
play_buttons
public Panel play_buttons
ok_b
public Button ok_b
begin_b
public Button begin_b
end_b
public Button end_b
back_b
public Button back_b
forw_b
public Button forw_b
size
public Choice size
font
public Choice font
realName
public String realName
options
public Dialog options
TraklaEditor
public TraklaEditor()
getPostURL
public String getPostURL()
- Returns the URL to cgi-script which is used to deliver export.
getCourseID
public String getCourseID()
- Returns the current course id.
getUserID
public String getUserID()
- Returns the current user id.
getRoundID
public String getRoundID()
- Returns the current round of exercises.
getExerciseId
public String getExerciseId()
- Returns the current exercise number.
init
public void init()
- Parses the parameters and initializes the GraphPanel and all buttons
needed for editing.
- Overrides:
- init in class Applet
action
public synchronized boolean action(Event e,
Object arg)
- This method is called when an action occurs inside this component.
- Parameters:
- arg - contains the arg field of the event e argument.
- e - event e
- Returns:
- true to indicate that it has successfully handled
the action or false if the event that triggered the action should be
passed up to the component's parent.
- Overrides:
- action in class Component
getAppletInfo
public String getAppletInfo()
- Returns the version and author of this applet.
- Overrides:
- getAppletInfo in class Applet
All Packages Class Hierarchy This Package Previous Next Index