|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.events.DragAdapter
public abstract class DragAdapter
An abstract adapter class for receiving series events. The methods in this class are empty. This class exists as convenience for creating listener objects.
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 Summary | |
---|---|
DragAdapter()
|
Method Summary | |
---|---|
void |
dragFinished(ChangeEvent e)
Invoked when a drag is finished. |
void |
dragMoving(ChangeEvent e)
Invoked when a drag is going on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.events.EventListener |
---|
handleEvent |
Constructor Detail |
---|
public DragAdapter()
Method Detail |
---|
public void dragFinished(ChangeEvent e)
dragFinished
in interface DragListener
public void dragMoving(ChangeEvent e)
dragMoving
in interface DragListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |