edu.mines.jtk.sgl
Interface Dragable

All Known Implementing Classes:
AxisAlignedQuad

public interface Dragable

An interface implemented by nodes that can be dragged with a mouse.

Version:
2005.06.30
Author:
Dave Hale, Colorado School of Mines

Method Summary
 void drag(DragContext dc)
          During dragging, this method is called when the mouse moves.
 void dragBegin(DragContext dc)
          Begins dragging.
 void dragEnd(DragContext dc)
          Ends dragging.
 

Method Detail

dragBegin

void dragBegin(DragContext dc)
Begins dragging.

Parameters:
dc - the drag context.

drag

void drag(DragContext dc)
During dragging, this method is called when the mouse moves.

Parameters:
dc - the drag context.

dragEnd

void dragEnd(DragContext dc)
Ends dragging.

Parameters:
dc - the drag context.