Class cynosurex.awt.AboutDialog
All Packages Class Hierarchy This Package Previous Next Index
Class cynosurex.awt.AboutDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----cynosurex.awt.AboutDialog
- public class AboutDialog
- extends Dialog
Displays a modal-less About dialog, with or without an icon, on the screen.
-
button
-
-
icon
-
-
label
-
-
AboutDialog(Frame, String, String)
- Constructor to create the About dialog without an icon.
-
AboutDialog(Frame, String, String, String)
- Constructor to create the About dialog with an icon.
-
action(Event, Object)
-
-
gotFocus(Event, Object)
-
-
handleEvent(Event)
-
button
protected Button button
label
protected MultiLineLabel label
icon
protected DisplayImage icon
AboutDialog
public AboutDialog(Frame parent,
String title,
String message,
String iconfilename)
- Constructor to create the About dialog with an icon.
- Parameters:
- parent - - the parent frame.
- title - - a String to be displayed on the title bar.
- message - - a multi-line message to be dispayed in the dialog box. It is tokenized by the line-feed character, '\n'.
- iconfilename - - the file name of the icon in either GIF or JPG format.
AboutDialog
public AboutDialog(Frame parent,
String title,
String message)
- Constructor to create the About dialog without an icon.
- Parameters:
- parent - - the parent frame.
- title - - a String to be displayed on the title bar.
- message - - a multi-line message to be dispayed in the dialog box. It is tokenized by the line-feed character, '\n'.
action
public boolean action(Event e,
Object arg)
- Overrides:
- action in class Component
handleEvent
public boolean handleEvent(Event evt)
- Overrides:
- handleEvent in class Component
gotFocus
public boolean gotFocus(Event e,
Object arg)
- Overrides:
- gotFocus in class Component
All Packages Class Hierarchy This Package Previous Next Index