netcharts.graphics
Interface NFDragObserver
- All Known Implementing Classes:
- NFGraph
- public interface NFDragObserver
This interface allows any object to monitor the dragging
activity of another object, such as an NFPiechart, NFDiagram
or NFNote.
|
Method Summary |
void |
postDrag(java.lang.Object obj,
double newX,
double newY)
This method is called immediately after a drag
activity, allowing the observer to monitor the new
settings. |
boolean |
preDrag(java.lang.Object obj,
double curX,
double curY,
double newX,
double newY)
This method is called immediately prior to a drag operation,
allowing the observer to examine the current and desired
settings and to perform any custom processing. |
preDrag
public boolean preDrag(java.lang.Object obj,
double curX,
double curY,
double newX,
double newY)
- This method is called immediately prior to a drag operation,
allowing the observer to examine the current and desired
settings and to perform any custom processing. The <obj>
pointer specifies the object which is being scrolled.
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)
- This method is called immediately after a drag
activity, allowing the observer to monitor the new
settings. The <obj> pointer specifies the object that
was affected.
- 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 - 2006 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: Apr 14, 2006 |