public abstract class DragAdapter extends java.lang.Object implements DragListener
Series events let you track when a series is clicked.
Extend this class to create a ChangeEvent listener
and override the methods for the events of interest. (If you implement the
DragListener interface, you have to define all of
the methods in it. This abstract class defines null methods for them
all, so you can only have to define methods for events you care about.)
Create a listener object using the extended class and then register it with
a component using the component's addDragListener
method. When a series is clicked (pressed and released), the relevant
method in the listener object is invoked and the ChangeEvent is
passed to it.
ChangeEvent,
DragListenerer| Constructor and Description |
|---|
DragAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
dragFinished(ChangeEvent e)
Invoked when a drag is finished.
|
void |
dragMoving(ChangeEvent e)
Invoked when a drag is going on.
|
public void dragFinished(ChangeEvent e)
dragFinished in interface DragListenerpublic void dragMoving(ChangeEvent e)
dragMoving in interface DragListener