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, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProperty, getPropertyNames, hasProperty, setPropertypublic AbstractChartDataConsumer()
public void consumeData(long currenttime,
double tick)
consumeData in interface ITableDataConsumercurrenttime - 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.