public class StorageChart
extends java.lang.Object
EnergyStorageInterface.
It will display the current and the maximum amount of energy of the storage.| Constructor and Description |
|---|
StorageChart()
Instantiates a new energy flow chart for a storage.
|
| Modifier and Type | Method and Description |
|---|---|
org.jfree.chart.JFreeChart |
getChart()
Gets the chart.
|
TechnicalInterface |
getStorageInterface()
Gets the technical interface.
|
void |
setChartTitle(java.lang.String title)
Sets the chart title.
|
void |
setStorageInterface(EnergyStorageInterface energyStorageInterface)
Sets the technical interface.
|
void |
setStorageInterface(GoodStorageInterface goodStorageInterface)
Sets the technical interface.
|
public StorageChart()
public void setStorageInterface(GoodStorageInterface goodStorageInterface)
goodStorageInterface - the new technical interfacepublic void setStorageInterface(EnergyStorageInterface energyStorageInterface)
energyStorageInterface - the new technical interfacepublic TechnicalInterface getStorageInterface()
public org.jfree.chart.JFreeChart getChart()
public void setChartTitle(java.lang.String title)
title - the new chart title