GWT Tk 0.2.3

asquare.gwt.tk.client.ui.behavior
Class DragPopupGesture

java.lang.Object
  extended by asquare.gwt.tk.client.ui.behavior.DragWidgetGesture
      extended by asquare.gwt.tk.client.ui.behavior.DragPopupGesture
All Implemented Interfaces:
DragGesture

public class DragPopupGesture
extends DragWidgetGesture

A DragWidgetGesture which sets the position via PopupPanel.setPopupPosition(int, int)


Constructor Summary
DragPopupGesture(PopupPanel widget)
           
 
Method Summary
protected  void setTargetPosition(int left, int top)
          A template method which sets the position of the target widget to the specified coordinates.
 
Methods inherited from class asquare.gwt.tk.client.ui.behavior.DragWidgetGesture
finish, getDragWidget, start, step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DragPopupGesture

public DragPopupGesture(PopupPanel widget)
Method Detail

setTargetPosition

protected void setTargetPosition(int left,
                                 int top)
Description copied from class: DragWidgetGesture
A template method which sets the position of the target widget to the specified coordinates. Coordinates are in the document's coordinate space (i.e. absolute position).

Overrides:
setTargetPosition in class DragWidgetGesture
Parameters:
left - the x coordinate in pixels
top - the y coordinate in pixels

GWT Tk 0.2.3

© 2007 Mat Gessel