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.

Variable Index

 o back_b
 o begin_b
 o buttons
 o end_b
 o font
 o forw_b
 o ok_b
 o options
 o panel
 o play_buttons
 o realName
 o size

Constructor Index

 o TraklaEditor()

Method Index

 o action(Event, Object)
This method is called when an action occurs inside this component.
 o getAppletInfo()
Returns the version and author of this applet.
 o getCourseID()
Returns the current course id.
 o getExerciseId()
Returns the current exercise number.
 o getPostURL()
Returns the URL to cgi-script which is used to deliver export.
 o getRoundID()
Returns the current round of exercises.
 o getUserID()
Returns the current user id.
 o init()
Parses the parameters and initializes the GraphPanel and all buttons needed for editing.

Variables

 o panel
  public GraphPanel panel
 o buttons
  public Panel buttons
 o play_buttons
  public Panel play_buttons
 o ok_b
  public Button ok_b
 o begin_b
  public Button begin_b
 o end_b
  public Button end_b
 o back_b
  public Button back_b
 o forw_b
  public Button forw_b
 o size
  public Choice size
 o font
  public Choice font
 o realName
  public String realName
 o options
  public Dialog options

Constructors

 o TraklaEditor
  public TraklaEditor()

Methods

 o getPostURL
  public String getPostURL()
Returns the URL to cgi-script which is used to deliver export.
 o getCourseID
  public String getCourseID()
Returns the current course id.
 o getUserID
  public String getUserID()
Returns the current user id.
 o getRoundID
  public String getRoundID()
Returns the current round of exercises.
 o getExerciseId
  public String getExerciseId()
Returns the current exercise number.
 o init
  public void init()
Parses the parameters and initializes the GraphPanel and all buttons needed for editing.
Overrides:
init in class Applet
 o 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
 o 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