asquare.gwt.tk.client.ui.behavior
Class DragPopupGesture
java.lang.Object
asquare.gwt.tk.client.ui.behavior.DragWidgetGesture
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)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DragPopupGesture
public DragPopupGesture(PopupPanel widget)
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 pixelstop - the y coordinate in pixels
© 2007 Mat Gessel