All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.JCAboutBox

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----jclass.chart.JCAboutBox

public class JCAboutBox
extends Dialog
JCAboutBox is derived from Dialog and creates a standard KL Group About dialog.


Constructor Index

 o JCAboutBox(Frame, Applet)

Method Index

 o action(Event, Object)
This method is called when an action occurs inside the about box.
 o getParent()
Returns the applet parent of the dialog box.
 o handleEvent(Event)
The event handler.
 o makeKLImage(Component)
Creates the KL logo.

Constructors

 o JCAboutBox
 public JCAboutBox(Frame parent,
                   Applet a)

Methods

 o getParent
 public Container getParent()
Returns the applet parent of the dialog box.

Overrides:
getParent in class Component
 o handleEvent
 public boolean handleEvent(Event e)
The event handler. Passees the events to be handled by the parent class. In the case of WINDOW_DESTROY event, first it hides and disposes the dialog box and then passes up the event.

Overrides:
handleEvent in class Component
 o action
 public boolean action(Event e,
                       Object o)
This method is called when an action occurs inside the about box. It returns true for all the actions. When the OK button is pressed the dialog will be hidden and disposed.

Overrides:
action in class Component
 o makeKLImage
 public static Image makeKLImage(Component comp)
Creates the KL logo. Should be moved into jclass.util.


All Packages  Class Hierarchy  This Package  Previous  Next  Index