java.util.EventListenerpublic interface TreeTreeDnDListener
extends java.util.EventListener
| Modifier and Type | Method | Description |
|---|---|---|
void |
drop(TreeTreeDnDEvent anEvent) |
Invoked when the drop operation happens.
|
void |
mayDrop(TreeTreeDnDEvent anEvent) |
Invoked to verify that a node may be dropped into another node.
|
void mayDrop(TreeTreeDnDEvent anEvent) throws DnDVetoException
anEvent - a TreeTreeDnDEvent the event containing information about the
Drag and Drop operation.DnDVetoException - if the drag and drop operation is not valid.void drop(TreeTreeDnDEvent anEvent) throws DnDVetoException
anEvent - a TreeTreeDnDEvent the event containing information about the
Drag and Drop operation.DnDVetoException - if the drag and drop operation is not valid.