EchoPoint
1.0

echopoint.event
Interface ChartEventGenerator

All Known Implementing Classes:
DefaultChartEventGenerator

public interface ChartEventGenerator

ChartEventGenerator is used to generate ActionEvent commands for ChartEntitys within a ChartPanel such as lines, bars pie sections etc..

Each entity in the JFreeChart will be enumerated and this interface will be called to generate a unqiue action command string for that ChartEntity.


Method Summary
 java.lang.String generateActionCommand(ChartPanel chartPanel, org.jfree.chart.entity.ChartEntity chartEntity)
          Called the generate an action command string for the given ChartEntity.
 java.lang.String generateToolTip(ChartPanel chartPanel, org.jfree.chart.entity.ChartEntity chartEntity)
          Called the generate a tool tip the given ChartEntity.
 

Method Detail

generateActionCommand

public java.lang.String generateActionCommand(ChartPanel chartPanel,
                                              org.jfree.chart.entity.ChartEntity chartEntity)
Called the generate an action command string for the given ChartEntity.

Parameters:
chartPanel - - the ChartPanel containing the JFreeChart
chartEntity - - the specific ChartEntity.
Returns:
- an action command string

generateToolTip

public java.lang.String generateToolTip(ChartPanel chartPanel,
                                        org.jfree.chart.entity.ChartEntity chartEntity)
Called the generate a tool tip the given ChartEntity.

Parameters:
chartPanel - - the ChartPanel containing the JFreeChart
chartEntity - - the specific ChartEntity.
Returns:
- an action command string

EchoPoint
1.0