org.progeeks.jfreechart
Class ItemFocusHandler

java.lang.Object
  extended by org.progeeks.jfreechart.DefaultFocusHandler
      extended by org.progeeks.jfreechart.ItemFocusHandler
All Implemented Interfaces:
ChartFocusHandler

public class ItemFocusHandler
extends DefaultFocusHandler

This focus handler Most useful with bar charts Requires that the charts renderer implement EnhancedItemRenderer. TODO - let it work with CategoryDatasets as well.

Version:
$Revision: 1.6 $
Author:
esword

Field Summary
protected static Log log
           
protected static int WIDTH_MULTIPLIER
           
 
Constructor Summary
ItemFocusHandler()
           
 
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

ItemFocusHandler

public ItemFocusHandler()
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.