NetCharts Pro

netcharts.pro.event
Interface NFChartScrollListener

All Superinterfaces:
java.util.EventListener, NFChartActionListener

public interface NFChartScrollListener
extends NFChartActionListener

NFChartScrollListener interface can be implemented by any object that wants to be notified of scroll activity within a chart.


Method Summary
 void postScroll(java.lang.Object obj, double scrollMin, double scrollMax, double scaleMin, double scaleMax)
          Method called when a NFChartEvent.POSTSCROLL event occurs.
 boolean preScroll(java.lang.Object obj, double scrollMin, double scrollMax, double curScaleMin, double curScaleMax, double newScaleMin, double newScaleMax)
          Method called when a NFChartEvent.PRESCROLL event occurs.
 
Methods inherited from interface netcharts.pro.event.NFChartActionListener
chartActionPerformed
 

Method Detail

preScroll

boolean preScroll(java.lang.Object obj,
                  double scrollMin,
                  double scrollMax,
                  double curScaleMin,
                  double curScaleMax,
                  double newScaleMin,
                  double newScaleMax)
Method called when a NFChartEvent.PRESCROLL event occurs. This method will be called in place of chartActionPerformed. If a return value of "true" is specified, then the scroll action will be allowed. Otherwise, it will be aborted.

Parameters:
obj - The object being scrolled.
scrollMin - The minimum scroll value.
scrollMax - The maximum scroll value.
curScrollMin - The current minimum scroll value.
curScrollMax - The current maximum scroll value.
newScrollMin - The new minimum scroll value.
newScrollMax - The new maximum scroll value.
Returns:
Whether to proceed with the scroll or not.

postScroll

void postScroll(java.lang.Object obj,
                double scrollMin,
                double scrollMax,
                double scaleMin,
                double scaleMax)
Method called when a NFChartEvent.POSTSCROLL event occurs. This method will be called in place of chartActionPerformed.

Parameters:
obj - The object scrolled.
scrollMin - The minimum scroll value.
scrollMax - The maximum scroll value.
scaleMin - The minimum scale value.
scaleMax - The maximum scale value.

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011