|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.meter.MeterModelJFreeChartAdapter
This class acts as a bridge between the Echo model architecture and the JFreeChart DataSet model architecture. Changes in the MeterModel are reflected into a backing MeterDataSet object which can then be used by a JFreeChart.
Constructor Summary | |
MeterModelJFreeChartAdapter()
MeterModelAdapter constructor. |
|
MeterModelJFreeChartAdapter(MeterModel model)
|
Method Summary | |
org.jfree.data.MeterDataset |
getDataSet()
Returns the JFreeChart MeterDataSet in use. |
MeterModel |
getModel()
Returns the MeterModel in use. |
void |
setModel(MeterModel newModel)
Sets trhe MeterModel to be "bridged" |
void |
stateChanged(nextapp.echo.event.ChangeEvent e)
Invoked when a state change occurs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MeterModelJFreeChartAdapter()
public MeterModelJFreeChartAdapter(MeterModel model)
Method Detail |
public org.jfree.data.MeterDataset getDataSet()
public MeterModel getModel()
public void setModel(MeterModel newModel)
newModel
- echopoint.meter.MeterModelpublic void stateChanged(nextapp.echo.event.ChangeEvent e)
stateChanged
in interface nextapp.echo.event.ChangeListener
e
- The event describing the state change.
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |