Class ResultsDialog

Class ResultsDialog

Warning, links to the API class, i.e., java.awt.*, java.lang.*, etc., do not exist. Only links to Poggendoff class exists: the "see also" links.
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----ResultsDialog

public class ResultsDialog
extends Dialog
This class creates the "results" dialog whenever the results button on the results window is pressed

Constructor Index

 o ResultsDialog(Frame)

Method Index

 o action(Event, Object)
This method will hide() the applet if the "ok" button is press.
 o handleEvent(Event)
 o setMessage(double)
This method sets the mesage string, and 50% offset value, in the results dialog box.
 o show(String)
This method controls the size of the dialog box--this is set whenever the command to show() the box is given.
 o wakeUp()
This method is called at some point after the results button is pressed.

Constructors

 o ResultsDialog
  public ResultsDialog(Frame parent)

Methods

 o setMessage
  public void setMessage(double offset)
This method sets the mesage string, and 50% offset value, in the results dialog box.
Parameters:
offset - is the 50% offset value
 o show
  public synchronized void show(String t)
This method controls the size of the dialog box--this is set whenever the command to show() the box is given.
Parameters:
t - possible message
Returns:
void
 o wakeUp
  public synchronized void wakeUp()
This method is called at some point after the results button is pressed.
Parameters:
NULL - no parameters
Returns:
void
 o handleEvent
  public boolean handleEvent(Event event)
Overrides:
handleEvent in class Component
 o action
  public boolean action(Event evt,
                        Object arg)
This method will hide() the applet if the "ok" button is press.
Parameters:
event - is an Event object
Returns:
boolean
Overrides:
action in class Component

Back to Results class documentation