org.progeeks.jfreechart
Class SeriesFocusHandler

java.lang.Object
  extended by org.progeeks.jfreechart.DefaultFocusHandler
      extended by 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

Field Summary
protected static Log log
           
protected static int WIDTH_MULTIPLIER
           
 
Constructor Summary
SeriesFocusHandler()
           
 
Method Summary
 boolean handleFocus(java.lang.Object newFocus)
           
 void setChart(org.jfree.chart.JFreeChart chart)
           
 
Methods inherited from class org.progeeks.jfreechart.DefaultFocusHandler
getChart, getProducer, setProducer, transformFocusData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Log log

WIDTH_MULTIPLIER

protected static final int WIDTH_MULTIPLIER
See Also:
Constant Field Values
Constructor Detail

SeriesFocusHandler

public SeriesFocusHandler()
Method Detail

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.