All Packages Class Hierarchy This Package Previous Next Index
Class tw.edu.ncnu.im.cnclab.UI.LineChartDialog
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.UI.LineChartDialog
- public class LineChartDialog
- extends GenericDialog
The LineChartDialog class define the dialog which show the LineChartDialog
- Version:
- 0.4 Jul 8, 1999
- Author:
- Ding-Yi Chen
- See Also:
- Dialog, GenericDialog
-
REDRAW
-
-
LineChartDialog(Frame, String, String, boolean, long[][])
- Construct a LineChartDialog.
-
actionPerformed(ActionEvent)
- Invoked when an action occurs.
-
checkFormat()
- Check if the input format valid.
-
setCentralPanel()
- Initite the custom panel(central)Panel.
-
setTextPanel()
- Initite the textPanel.
REDRAW
public static final int REDRAW
LineChartDialog
public LineChartDialog(Frame fr,
String title,
String promptText,
boolean isModal,
long data[][])
- Construct a LineChartDialog.
- Parameters:
- fr - The parent window.
- title - The title of the dialog.
- promptText - The prompt text of the dialog.
- isModal - Whether te dialog modal.
- data - The data to show.
setCentralPanel
protected void setCentralPanel()
- Initite the custom panel(central)Panel.
- Overrides:
- setCentralPanel in class GenericDialog
- See Also:
- centralPanel
setTextPanel
protected void setTextPanel()
- Initite the textPanel.
checkFormat
protected boolean checkFormat()
- Check if the input format valid.
- Returns:
-
true if inputs is valid; false if otherwise.
- Overrides:
- checkFormat in class GenericDialog
actionPerformed
public void actionPerformed(ActionEvent event)
- Invoked when an action occurs.
- Overrides:
- actionPerformed in class GenericDialog
All Packages Class Hierarchy This Package Previous Next Index