chart
Class Plot

java.lang.Object
  extended by chart.Plot
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ScatterPlot2D

public abstract class Plot
extends java.lang.Object
implements java.io.Serializable

A serializable representation of all relevant settings for a Plot.

See Also:
Serialized Form

Constructor Summary
Plot(DataSheet dataSheet)
          Instantiates a new 2D scatter plot.
 
Method Summary
 java.awt.Color getBackGroundColor()
          Gets the back ground color.
 DataSheet getDataSheet()
          Gets the data sheet.
 int getMargin()
          Gets the margin.
abstract  void resetDisplaySettingsToDefault()
          Reset display settings to default.
 void setBackGroundColor(java.awt.Color backGroundColor)
          Sets the back ground color.
 void setDataSheet(DataSheet dataSheet)
          Sets the data sheet.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plot

public Plot(DataSheet dataSheet)
Instantiates a new 2D scatter plot.

Parameters:
dataSheet - the data sheet
Method Detail

getDataSheet

public DataSheet getDataSheet()
Gets the data sheet.

Returns:
the data sheet

setDataSheet

public void setDataSheet(DataSheet dataSheet)
Sets the data sheet.

Parameters:
dataSheet - the new data sheet

getMargin

public int getMargin()
Gets the margin.

Returns:
the margin

resetDisplaySettingsToDefault

public abstract void resetDisplaySettingsToDefault()
Reset display settings to default.


getBackGroundColor

public java.awt.Color getBackGroundColor()
Gets the back ground color.

Returns:
the back ground color

setBackGroundColor

public void setBackGroundColor(java.awt.Color backGroundColor)
Sets the back ground color.

Parameters:
backGroundColor - the new back ground color