All Packages Class Hierarchy This Package Previous Next Index
Class dtai.gui.SimpleDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----dtai.gwt.GadgetShell
|
+----dtai.gwt.GadgetPanel
|
+----dtai.gwt.GadgetDialog
|
+----dtai.gui.StdDialog
|
+----dtai.gui.SimpleDialog
- public class SimpleDialog
- extends StdDialog
- implements ActionListener
SimpleDialog - superclass for error, warning, info, etc. dialogs
-
SimpleDialog(Frame, String)
- SimpleDialog constructor
-
SimpleDialog(Frame, String, boolean)
- SimpleDialog constructor
-
SimpleDialog(Frame, String, String)
- SimpleDialog constructor
-
SimpleDialog(Frame, String, String, boolean)
- SimpleDialog constructor
-
actionPerformed(ActionEvent)
- Checks if the user clicked on "OK"
-
setCenterText()
- justifies the message label center
-
setLeftJustified()
- justifies the message label left
-
setMaxLineLength(int)
- sets the maximum line length of the message label
-
setMessage(String)
- sets the message for the label
-
setRightJustified()
- justifies the message label right
SimpleDialog
protected SimpleDialog(Frame frame,
String dialog_header)
- SimpleDialog constructor
- Parameters:
- frame - the dialog box frame
- dialog_header - the dialog box header
SimpleDialog
protected SimpleDialog(Frame frame,
String dialog_header,
boolean modal)
- SimpleDialog constructor
- Parameters:
- frame - the dialog box frame
- dialog_header - the dialog box header
- modal - is/is not modal
SimpleDialog
protected SimpleDialog(Frame frame,
String dialog_header,
String defaultButton)
- SimpleDialog constructor
- Parameters:
- frame - the dialog box frame
- dialog_header - the dialog box header
- defaultButton - the default button
SimpleDialog
protected SimpleDialog(Frame frame,
String dialog_header,
String defaultButton,
boolean modal)
- SimpleDialog constructor
- Parameters:
- frame - the dialog box frame
- dialog_header - the dialog box header
- defaultButton - the default button
- modal - is/is not modal
setLeftJustified
public void setLeftJustified()
- justifies the message label left
setRightJustified
public void setRightJustified()
- justifies the message label right
setCenterText
public void setCenterText()
- justifies the message label center
setMaxLineLength
public void setMaxLineLength(int len)
- sets the maximum line length of the message label
- Parameters:
- len - the integer maximim line length
setMessage
public void setMessage(String message)
- sets the message for the label
- Parameters:
- message - the String message for the label
actionPerformed
public void actionPerformed(ActionEvent action)
- Checks if the user clicked on "OK"
- Parameters:
- action - the ActionEvent.
All Packages Class Hierarchy This Package Previous Next Index