|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchart.Chart
public abstract class Chart
A serializable representation of all relevant settings for a chart which is displayed on a ChartFrame.
This class should be extended to model actual charts.
ParallelCoordinatesChart
,
Serialized FormConstructor Summary | |
---|---|
Chart(DataSheet dataSheet,
int id)
Instantiates a new chart. |
Method Summary | |
---|---|
abstract java.awt.Color |
getBackGroundColor()
Gets the back ground color. |
DataSheet |
getDataSheet()
Gets the data sheet. |
java.awt.Dimension |
getFrameSize()
Gets the size that this chart's frame takes up on screen. |
abstract int |
getHeight()
Determines the height of this Chart. |
int |
getID()
Gets the id. |
java.awt.Point |
getLocation()
Gets the location of this Chart on the Screen. |
abstract java.lang.String |
getTitle()
Gets the title. |
abstract int |
getWidth()
Determines the width of this Chart. |
abstract void |
resetDisplaySettingsToDefault()
Reset display settings to default. |
abstract void |
setBackGroundColor(java.awt.Color backGroundColor)
Sets the back ground color. |
void |
setDataSheet(DataSheet dataSheet)
Sets the data sheet. |
void |
setFrameSize(java.awt.Dimension size)
Sets the size that this chart's frame takes up on screen.chart.getWidth() - chart.getScatterPlot2D().getMargin(); |
void |
setLocation(java.awt.Point location)
Sets the location of this Chart on the Screen.. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Chart(DataSheet dataSheet, int id)
dataSheet
- the data sheetMethod Detail |
---|
public abstract java.lang.String getTitle()
public int getID()
public abstract int getWidth()
public abstract int getHeight()
public DataSheet getDataSheet()
public void setDataSheet(DataSheet dataSheet)
dataSheet
- the new data sheetpublic abstract java.awt.Color getBackGroundColor()
public abstract void setBackGroundColor(java.awt.Color backGroundColor)
backGroundColor
- the new back ground colorpublic java.awt.Dimension getFrameSize()
public void setFrameSize(java.awt.Dimension size)
size
- the new size of this Chart.public java.awt.Point getLocation()
public void setLocation(java.awt.Point location)
location
- the new location of this Chart on the Screen.public abstract void resetDisplaySettingsToDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |