de.matthiasmann.twl
Interface DraggableButton.DragListener

Enclosing class:
DraggableButton

public static interface DraggableButton.DragListener

The listener interface which receives all drag related events


Method Summary
 void dragged(int deltaX, int deltaY)
          The mouse was moved
 void dragStarted()
          Called when the user starts dragging the button
 void dragStopped()
          The user has stopped dragging the button
 

Method Detail

dragStarted

void dragStarted()
Called when the user starts dragging the button


dragged

void dragged(int deltaX,
             int deltaY)
The mouse was moved

Parameters:
deltaX - the delta mouse X position since the drag was started
deltaY - the delta mouse Y position since the drag was started

dragStopped

void dragStopped()
The user has stopped dragging the button