|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.event.DefaultChartEventGenerator
DefaultChartEventGenerator
generates default
action commands and tooltips for ChartEntity
by calling
the ChartEntity.getURLText()
and ChartEntity.getToolTipText()
respectively.
You can therefore use the JFreeChart URLGenerator
derived
classes to generate unique "action" commands for you chart data.
Remember you are not returning an URL in the traditional sense but rather
a String that uniquely defines each peice of the chart. This string
will be used as the action command of an ActionEvent
Constructor Summary | |
DefaultChartEventGenerator()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultChartEventGenerator()
Method Detail |
public java.lang.String generateActionCommand(ChartPanel chartPanel, org.jfree.chart.entity.ChartEntity chartEntity)
ChartEventGenerator
generateActionCommand
in interface ChartEventGenerator
chartPanel
- - the ChartPanel containing the JFreeChartchartEntity
- - the specific ChartEntity.
ChartEventGenerator.generateActionCommand(echopoint.ChartPanel, org.jfree.chart.entity.ChartEntity)
public java.lang.String generateToolTip(ChartPanel chartPanel, org.jfree.chart.entity.ChartEntity chartEntity)
ChartEventGenerator
generateToolTip
in interface ChartEventGenerator
chartPanel
- - the ChartPanel containing the JFreeChartchartEntity
- - the specific ChartEntity.
ChartEventGenerator.generateToolTip(echopoint.ChartPanel, org.jfree.chart.entity.ChartEntity)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |