All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tw.edu.ncnu.im.cnclab.Algor.UI.ResultDialog

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.Algor.UI.ResultDialog

public class ResultDialog
extends GenericDialog
The ResultDialog class define the dialog of show result of algorithm

Version:
0.4 Jul 8, 1999
Author:
Ding-Yi Chen
See Also:
Dialog, GenericDialog

Variable Index

 o LINE_CHART
 o SHOW_RAW
 o SHOW_RESULT

Constructor Index

 o ResultDialog(Frame)
Construct a ResultDialog.

Method Index

 o actionPerformed(ActionEvent)
Invoked when an action occurs.
 o setCentralPanel()
Initite the custom panel(central)Panel.
 o setData(long[][], long[][])
Receive the result of performance meter.
 o showDataLine(long[])
Put data at the TextArea.

Variables

 o LINE_CHART
 public static final int LINE_CHART
 o SHOW_RESULT
 public static final int SHOW_RESULT
 o SHOW_RAW
 public static final int SHOW_RAW

Constructors

 o ResultDialog
 public ResultDialog(Frame fr)
Construct a ResultDialog.

Parameters:
fr - the parent window.

Methods

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

Override this method to put custom components.

Overrides:
setCentralPanel in class GenericDialog
See Also:
centralPanel
 o showDataLine
 public void showDataLine(long data[])
Put data at the TextArea.

Parameters:
data - The raw data record.
 o setData
 public void setData(long rawData[][],
                     long result[][])
Receive the result of performance meter.

Parameters:
rawData - The whole raw data.
result - The result data.
 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