org.nakedobjects.plugins.dnd
Class Drag
java.lang.Object
org.nakedobjects.plugins.dnd.PointerEvent
org.nakedobjects.plugins.dnd.Drag
- Direct Known Subclasses:
- ContentDrag, InternalDrag, ViewDrag
public abstract class Drag
- extends PointerEvent
Details a drag event - from drag start to drop,
|
Constructor Summary |
protected |
Drag()
|
|
Method Summary |
abstract void |
cancel(Viewer viewer)
Indicates the drag has been cancelled; no action should be taken. |
abstract void |
drag(View target,
Location location,
int mods)
Indicates that the drag state has changed. |
abstract void |
end(Viewer viewer)
Indicates the drag has properly ended (the mouse button has been released) |
abstract View |
getOverlay()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Drag
protected Drag()
cancel
public abstract void cancel(Viewer viewer)
- Indicates the drag has been cancelled; no action should be taken.
drag
public abstract void drag(View target,
Location location,
int mods)
- Indicates that the drag state has changed.
end
public abstract void end(Viewer viewer)
- Indicates the drag has properly ended (the mouse button has been released)
getOverlay
public abstract View getOverlay()
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.