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.
-
JCAboutBox(Frame, Applet)
-
-
action(Event, Object)
- This method is called when an action occurs inside the about box.
-
getParent()
- Returns the applet parent of the dialog box.
-
handleEvent(Event)
- The event handler.
-
makeKLImage(Component)
- Creates the KL logo.
JCAboutBox
public JCAboutBox(Frame parent,
Applet a)
getParent
public Container getParent()
- Returns the applet parent of the dialog box.
- Overrides:
- getParent in class Component
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
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
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