netcharts.pro.event
Interface NFChartDragListener
- All Superinterfaces:
- java.util.EventListener, NFChartActionListener
- public interface NFChartDragListener
- extends NFChartActionListener
NFChartDragListener interface can be implemented
by any object that wants to be notified of drag activity
within a chart.
|
Method Summary |
void |
postDrag(java.lang.Object obj,
double newX,
double newY)
Method called when a NFChartEvent.POSTDRAG event occurs. |
boolean |
preDrag(java.lang.Object obj,
double curX,
double curY,
double newX,
double newY)
Method called when a NFChartEvent.PREDRAG event occurs. |
preDrag
public boolean preDrag(java.lang.Object obj,
double curX,
double curY,
double newX,
double newY)
- Method called when a NFChartEvent.PREDRAG event occurs. This method will
be called in place of chartActionPerformed.
If a return value of "true" is specified, then the drag action
will be allowed. Otherwise, it will be aborted.
- Parameters:
obj - The object being dragged.curX - The current X value.curY - The current Y value.newX - The new X value.newY - The new Y value.- Returns:
- Whether to perform the drag or not.
postDrag
public void postDrag(java.lang.Object obj,
double newX,
double newY)
- Method called when a NFChartEvent.POSTDRAG event occurs. This method will
be called in place of chartActionPerformed.
- Parameters:
obj - The object dragged.newX - The new X value.newY - The new Y value.
Visual Mining, Inc. 15825 Shady Grove Rd. Suite 20 Rockville, MD 20850 800.308.0731 301.947.8293 FAX | | Copyright © Visual Mining, Inc. 1996 - 2005 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: Feb 1, 2005 |