Overview | Package | Class | Tree | Index | Help NetCharts Pro (Applets) 7.0
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Interface netcharts.graphics.
NFDwellObserver

Implementing Classes:
NFColorChartApp, NFGraph, JGraph

public interface NFDwellObserver
This interface allows any object to interact with the dwell processing performed by NFActiveRegion. See the DwellObserver Example for a sample applet that uses the NFDwellObserver interface to perform custom dwell label processing.


Method Summary
boolean dwellDisplay(boolean onoff, NFActiveLabel label)
          This method is called when a dwell label is about to be displayed or erased.
boolean dwellPress(java.awt.Event evt, int x, int y, NFActiveLabel label)
          This method is called whenever a dwell press occurs on the given label.
 

Method Detail

dwellDisplay

public boolean dwellDisplay(boolean onoff,
                            NFActiveLabel label)
This method is called when a dwell label is about to be displayed or erased.

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

public boolean dwellPress(java.awt.Event evt,
                          int x,
                          int y,
                          NFActiveLabel label)
This method is called whenever a dwell press occurs on the given label. If true is returned, no further processing will be performed. If false is returned, the URL and target associated with the label will be used to showDocument().
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.

Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD


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

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

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

Last Modified: Jun 29, 2010