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

Variable Index

 o REDRAW

Constructor Index

 o LineChartDialog(Frame, String, String, boolean, long[][])
Construct a LineChartDialog.

Method Index

 o actionPerformed(ActionEvent)
Invoked when an action occurs.
 o checkFormat()
Check if the input format valid.
 o setCentralPanel()
Initite the custom panel(central)Panel.
 o setTextPanel()
Initite the textPanel.

Variables

 o REDRAW
 public static final int REDRAW

Constructors

 o 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.

Methods

 o setCentralPanel
 protected void setCentralPanel()
Initite the custom panel(central)Panel.

Overrides:
setCentralPanel in class GenericDialog
See Also:
centralPanel
 o setTextPanel
 protected void setTextPanel()
Initite the textPanel.

 o checkFormat
 protected boolean checkFormat()
Check if the input format valid.

Returns:
true if inputs is valid; false if otherwise.
Overrides:
checkFormat in class GenericDialog
 o 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