public interface StringTreeDnDListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
drop(StringTreeDnDEvent anEvent)
Invoked when the drop operation happens.
|
void |
mayDrop(StringTreeDnDEvent anEvent)
Invoked to verify that aSourceString may be dropped into aTargetNode
inside aTargetTree.
|
void mayDrop(StringTreeDnDEvent anEvent) throws DnDVetoException
anEvent
- a StringTreeDnDEvent containing information about the data
being dropped.DnDVetoException
- if the drag and drop operation is not valid.void drop(StringTreeDnDEvent anEvent) throws DnDVetoException
anEvent
- a StringTreeDnDEvent the event containing information about
the Drag and Drop operation.DnDVetoException
- if the drag and drop operation is not valid.