public abstract class AbstractChartDataConsumer extends SimplePropertyObject implements ITableDataConsumer
Constructor and Description |
---|
AbstractChartDataConsumer()
Create a new chart consumer.
|
Modifier and Type | Method and Description |
---|---|
void |
consumeData(long currenttime,
double tick)
Consume data from the provider.
|
org.jfree.chart.JFreeChart |
getChart()
Get the chart.
|
JPanel |
getChartPanel()
Get the chart panel.
|
AbstractEnvironmentSpace |
getSpace()
Get the space.
|
void |
refresh()
Refresh the chart.
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames, hasProperty, setProperty
public AbstractChartDataConsumer()
public void consumeData(long currenttime, double tick)
consumeData
in interface ITableDataConsumer
currenttime
- The current time.tick
- The current tick.public org.jfree.chart.JFreeChart getChart()
public void refresh()
public AbstractEnvironmentSpace getSpace()
public JPanel getChartPanel()
Copyright © 2012. All Rights Reserved.