| Package | org.aswing.dnd |
| Interface | public interface DropMotion |
| Implementors | DirectlyRemoveMotion, RejectedMotion |
| Method | Defined by | ||
|---|---|---|---|
|
forceStop():void
A new drag is started, so the last motion should be stopped if it is still running.
| DropMotion | ||
|
startMotionAndLaterRemove(dragInitiator:Component, dragObject:Sprite):void
Starts the drop motion and remove the dragObject from its parent when motion is completed.
| DropMotion | ||
| forceStop | () | method |
public function forceStop():voidA new drag is started, so the last motion should be stopped if it is still running.
| startMotionAndLaterRemove | () | method |
public function startMotionAndLaterRemove(dragInitiator:Component, dragObject:Sprite):voidStarts the drop motion and remove the dragObject from its parent when motion is completed.
ParametersdragInitiator:Component — the drag initiator
|
|
dragObject:Sprite — the display object to do motion
|