GWT Tk 0.2.3

asquare.gwt.tk.client.ui.behavior
Interface DragGesture

All Known Implementing Classes:
DragPopupGesture, DragWidgetGesture

public interface DragGesture

An interface for implementing mouse actions.


Method Summary
 void finish(int x, int y)
          Called at the end of the input operation, after the last movement.
 void start(int x, int y)
          Called at beginning of the input operation.
 void step(int x, int y)
          Called for each mouse movement during the input operation.
 

Method Detail

start

void start(int x,
           int y)
Called at beginning of the input operation. This may be triggered by a mousedown, or may be triggered by a hotkey during the middle of a drag.

Parameters:
x -
y -

step

void step(int x,
          int y)
Called for each mouse movement during the input operation.

Parameters:
x -
y -

finish

void finish(int x,
            int y)
Called at the end of the input operation, after the last movement. This may be triggered by a mouseup or may be triggered by the release of a hotkey during a drag.

Parameters:
x -
y -

GWT Tk 0.2.3

© 2007 Mat Gessel