public abstract class DnDActivateOnHoldTarget extends java.lang.Object implements DnDTarget
DnDDropHandler.WithResult
Modifier | Constructor and Description |
---|---|
protected |
DnDActivateOnHoldTarget() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
activateContent() |
void |
cleanUpOnLeave() |
void |
drop(DnDEvent event) |
abstract boolean |
isDropPossible(DnDEvent event) |
boolean |
update(DnDEvent event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateDraggedImage
public boolean update(DnDEvent event)
update
in interface DnDTargetChecker
event
- Drag-n-Drop eventtrue
- if this target is unable to handle the event and parent component should be asked to process it.
false
- if this target is able to handle the event and parent component should NOT be asked to process it.DnDEvent.setDropPossible(boolean, String)
,
DnDEvent.setDropPossible(String, DropActionHandler)
public void cleanUpOnLeave()
cleanUpOnLeave
in interface DnDTarget
protected abstract void activateContent()
public abstract boolean isDropPossible(DnDEvent event)
public void drop(DnDEvent event)
drop
in interface DnDDropHandler