|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.managers.drag.DragManager
public final class DragManager
This manager simplifies dragged items visual representation creation. You can add customized representation support for DataFlavor by registering new DragViewHandler. So far custom DataFlavor view will be displayed only within application window bounds.
Constructor Summary | |
---|---|
DragManager()
|
Method Summary | |
---|---|
static void |
initialize()
Initializes manager if it wasn't already initialized. |
static void |
registerViewHandler(DragViewHandler dragViewHandler)
Registers new DragViewHandler. |
static void |
unregisterViewHandler(DragViewHandler dragViewHandler)
Unregisters new DragViewHandler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DragManager()
Method Detail |
---|
public static void initialize()
public static void registerViewHandler(DragViewHandler dragViewHandler)
dragViewHandler
- DragViewHandler to registerpublic static void unregisterViewHandler(DragViewHandler dragViewHandler)
dragViewHandler
- DragViewHandler to unregister
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |