NetCharts Pro

netcharts.pro.event
Interface NFChartDwellListener

All Superinterfaces:
java.util.EventListener, NFChartActionListener

public interface NFChartDwellListener
extends NFChartActionListener

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


Method Summary
 boolean dwellDisplay(boolean onoff, NFActiveLabel label)
          Method called when a NFChartEvent.DWELL event occurs.
 boolean dwellPress(java.awt.Event evt, int x, int y, NFActiveLabel label)
          Method called when a NFChartEvent.DWELLPRESS event occurs.
 
Methods inherited from interface netcharts.pro.event.NFChartActionListener
chartActionPerformed
 

Method Detail

dwellDisplay

boolean dwellDisplay(boolean onoff,
                     NFActiveLabel label)
Method called when a NFChartEvent.DWELL event occurs. This method will be called in place of chartActionPerformed.

When onoff is true, the label is about to be displayed. If true is returned, the label will NOT be displayed.

When onoff is false, the label should be erased by one of the observers.

Parameters:
onoff - Whether the label is to be turned on or off.
label - The ActiveLabel.
Returns:
true if the label is NOT to be drawn, false otherwise.

dwellPress

boolean dwellPress(java.awt.Event evt,
                   int x,
                   int y,
                   NFActiveLabel label)
Method called when a NFChartEvent.DWELLPRESS event occurs. This method will be called in place of chartActionPerformed.

Parameters:
evt - The Event.
x - The x coordinate of the event.
y - The y coordinate of the event.
label - The ActiveLabel.
Returns:
true if nothing is to be done, false if the document is to be shown.

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