oakplot.Plot Class Reference

Inheritance diagram for oakplot.Plot:

Inheritance graph
[legend]
Collaboration diagram for oakplot.Plot:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Plot ()
 Plot (int width, int height)
 Plot (int width, int height, String file)
void eventReceived (Event event)

Static Public Member Functions

static void main (String[] args)

Protected Member Functions

void initUser ()
void initComms ()
void eventCreateAction (Event event)

Protected Attributes

PlotWindow pw


Detailed Description

The Plot class defines the main window of the OakPlot program. The default size of the plot drawing area is 640x480 so the window will be slightly larger. This size can be specified by passing arguements to the program. The Plot window is essentially the plot drawing area and a CommandLine.

Author:
David Kao

Constructor & Destructor Documentation

oakplot.Plot.Plot (  ) 

Create a plot window using the default size

Author:
David Kao

oakplot.Plot.Plot ( int  width,
int  height 
)

Create a plot window with the specified width and height for the drawing area.

Parameters:
[in] width Width of drawing area
[in] height Height of drawing area
Author:
David Kao

oakplot.Plot.Plot ( int  width,
int  height,
String  file 
)

Create a plot window with the specified width and height for the drawing area.

Parameters:
[in] width Width of drawing area
[in] height Height of drawing area
[in] file Filename to process
Author:
David Kao


Member Function Documentation

static void oakplot.Plot.main ( String[]  args  )  [static]

Main routine of OakPlot. Parse the input arguements and create a new instance of OakPlot.

Parameters:
[in] args Input arguements
Author:
David Kao


The documentation for this class was generated from the following file:

Generated on Sun Oct 4 22:11:56 2009 for KaoPlot by  doxygen 1.5.8