org.progeeks.jfreechart
Class SeriesFocusHandler
java.lang.Object
org.progeeks.jfreechart.DefaultFocusHandler
org.progeeks.jfreechart.SeriesFocusHandler
- All Implemented Interfaces:
- ChartFocusHandler
public class SeriesFocusHandler
- extends DefaultFocusHandler
Hilights the whole series of the focus object. Useful for when you can't tell which specific
object (data point) is supposed to get the focus. This looks best with line charts. Bar charts
don't carry the effect as well.
TODO - make work with CategoryDataset
- Version:
- $Revision: 1.4 $
- Author:
- esword
Method Summary |
boolean |
handleFocus(java.lang.Object newFocus)
|
void |
setChart(org.jfree.chart.JFreeChart chart)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Log log
WIDTH_MULTIPLIER
protected static final int WIDTH_MULTIPLIER
- See Also:
- Constant Field Values
SeriesFocusHandler
public SeriesFocusHandler()
setChart
public void setChart(org.jfree.chart.JFreeChart chart)
- Specified by:
setChart
in interface ChartFocusHandler
- Overrides:
setChart
in class DefaultFocusHandler
- See Also:
DefaultFocusHandler.setChart(org.jfree.chart.JFreeChart)
handleFocus
public boolean handleFocus(java.lang.Object newFocus)
- Specified by:
handleFocus
in interface ChartFocusHandler
- Overrides:
handleFocus
in class DefaultFocusHandler
Copyright © 2002-2003 Paul Speed. All Rights Reserved.