|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.DnD
public class DnD
Drag-and-drop utility. It is the low-level utility reserved for overriding for advanced customization.
Method Summary | |
---|---|
static Widget |
getDrop(Draggable drag,
Offset pt,
Event evt)
Returns the widget to drop to. |
static DOMElement |
ghost(Draggable drag,
Offset ofs,
String msg)
Ghost the DOM element being dragged. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Widget getDrop(Draggable drag, Offset pt, Event evt)
drag
- the draggable controllerpt
- the mouse pointer's position.evt
- the DOM event
public static DOMElement ghost(Draggable drag, Offset ofs, String msg)
drag
- the draggable controllerofs
- the offset of the returned element (left/top)msg
- the message to show inside the returned element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |