chart
Class ScatterChart2D

java.lang.Object
  extended by chart.Chart
      extended by chart.ScatterChart2D
All Implemented Interfaces:
java.io.Serializable

public class ScatterChart2D
extends Chart

A serializable representation of all relevant settings for a two-dimensional scatter chart which is displayed on a ChartFrame.

See Also:
ChartFrame, Serialized Form

Constructor Summary
ScatterChart2D(DataSheet dataSheet, boolean showDecorations, java.awt.Dimension frameSize, int id)
          Instantiates a new 2D scatter chart.
 
Method Summary
 java.awt.Color getBackGroundColor()
          Gets the back ground color.
 int getHeight()
          Determines the height of this Chart.
 ScatterPlot2D getScatterPlot2D()
          Gets the back ground color.
 java.lang.String getTitle()
          Gets the title.
 int getWidth()
          Determines the width of this Chart.
 void resetDisplaySettingsToDefault()
          Reset display settings to default.
 void setBackGroundColor(java.awt.Color backGroundColor)
          Sets the back ground color.
 void setCurrentSettingsAsDefault()
          Set current settings as default
 
Methods inherited from class chart.Chart
getDataSheet, getFrameSize, getID, getLocation, setDataSheet, setFrameSize, setLocation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScatterChart2D

public ScatterChart2D(DataSheet dataSheet,
                      boolean showDecorations,
                      java.awt.Dimension frameSize,
                      int id)
Instantiates a new 2D scatter chart.

Parameters:
dataSheet - the data sheet
showDecorations - show decorations yes / no
frameSize - size of the plot excluding margins
Method Detail

setCurrentSettingsAsDefault

public void setCurrentSettingsAsDefault()
Set current settings as default


getWidth

public int getWidth()
Determines the width of this Chart.

Specified by:
getWidth in class Chart
Returns:
the width of this chart

getHeight

public int getHeight()
Determines the height of this Chart.

Specified by:
getHeight in class Chart
Returns:
the height of this chart

getTitle

public java.lang.String getTitle()
Gets the title.

Specified by:
getTitle in class Chart
Returns:
the title

getScatterPlot2D

public ScatterPlot2D getScatterPlot2D()
Gets the back ground color.

Returns:
the back ground color

getBackGroundColor

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

Specified by:
getBackGroundColor in class Chart
Returns:
the back ground color

setBackGroundColor

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

Specified by:
setBackGroundColor in class Chart
Parameters:
backGroundColor - the new back ground color

resetDisplaySettingsToDefault

public void resetDisplaySettingsToDefault()
Reset display settings to default.

Specified by:
resetDisplaySettingsToDefault in class Chart