All Packages Class Hierarchy This Package Previous Next Index
Class tw.edu.ncnu.im.cnclab.JGAP.UI.GetHistoryGraphDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----tw.edu.ncnu.im.cnclab.UI.GenericDialog
|
+----tw.edu.ncnu.im.cnclab.JGAP.UI.GetHistoryGraphDialog
- public class GetHistoryGraphDialog
- extends GenericDialog
- implements ActionListener, ItemListener
The GetHistoryGraphDialog class define the dialog to get the graph
from history list.
- Version:
- 0.4 Jul 8, 1999
- Author:
- Ding-Yi Chen
- See Also:
- Graph
-
GetHistoryGraphDialog(JGAPFrame, String, String, boolean, int)
- Construct a GetHistoryGraphDialog.
-
GetHistoryGraphDialog(JGAPFrame, String, String, boolean, String[], int)
- Construct a GetHistoryGraphDialog.
-
getArg(Object[])
- Return the parameters of the dialog get.
-
getGraph()
- Get result of the dialog.
-
itemStateChanged(ItemEvent)
- Invoked when an item action occurs.
GetHistoryGraphDialog
protected GetHistoryGraphDialog(JGAPFrame jf,
String title,
String promptText,
boolean isModal,
int msgLength)
- Construct a GetHistoryGraphDialog.
- Parameters:
- fr - the parent window.
- title - the window title.
- promptText - the prompt text. '\n' can be used as separator.
- isModal - whether the dialog modal.
- msgLength - specify the length of the message textField.
GetHistoryGraphDialog
protected GetHistoryGraphDialog(JGAPFrame jf,
String title,
String promptText,
boolean isModal,
String buttonPrompt[],
int msgLength)
- Construct a GetHistoryGraphDialog.
- Parameters:
- fr - the parent window.
- title - the window title.
- promptText - the prompt text. '\n' can be used as separator.
- isModal - whether the dialog modal.
- buttonPrompt - the prompt of buttons.
- msgLength - specify the length of the message textField.
itemStateChanged
public void itemStateChanged(ItemEvent event)
- Invoked when an item action occurs.
getGraph
public Graph getGraph()
- Get result of the dialog.
- Returns:
- The graph to be selected.
getArg
public Object[] getArg(Object additionalArg[])
- Return the parameters of the dialog get.
- Parameters:
- additionalArg - Additional arguments for
Alogorithm.setArg(Object[])
- Returns:
- The parameters of the dialog get.
- Overrides:
- getArg in class GenericDialog
All Packages Class Hierarchy This Package Previous Next Index