All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scaffold.libs_as.feathers.dragDrop.IDragSource.as Maven / Gradle / Ivy

/*
Feathers
Copyright 2012-2015 Bowler Hat LLC. All Rights Reserved.

This program is free software. You can redistribute and/or modify it in
accordance with the terms of the accompanying license agreement.
*/
package feathers.dragDrop
{
	import starling.events.Event;

	/**
	 * Dispatched when the drag and drop manager begins the drag.
	 *
	 * 

The properties of the event object have the following values:

* * * * * * * * * * *
PropertyValue
bubblesfalse
currentTargetThe Object that defines the * event listener that handles the event. For example, if you use * myButton.addEventListener() to register an event listener, * myButton is the value of the currentTarget.
dataSame as the dragData property.
dragDataThe feathers.dragDrop.DragData * instance associated with this drag.
isDroppedfalse
localXNaN
localYNaN
targetThe Object that dispatched the event; * it is not always the Object listening for the event. Use the * currentTarget property to always access the Object * listening for the event.
* * @eventType feathers.events.DragDropEvent.DRAG_START */ [Event(name="dragStart",type="feathers.events.DragDropEvent")] /** * Dispatched when the drop has been completed or when the drag has been * cancelled. * *

The properties of the event object have the following values:

* * * * * * * * * * *
PropertyValue
bubblesfalse
currentTargetThe Object that defines the * event listener that handles the event. For example, if you use * myButton.addEventListener() to register an event listener, * myButton is the value of the currentTarget.
dataSame as the dragData property.
dragDataThe feathers.dragDrop.DragData * instance associated with this drag.
isDroppedtrue, if the dragged object was dropped; false, if it was not.
localXNaN
localYNaN
targetThe Object that dispatched the event; * it is not always the Object listening for the event. Use the * currentTarget property to always access the Object * listening for the event.
* * @eventType feathers.events.DragDropEvent.DRAG_COMPLETE */ [Event(name="dragComplete",type="feathers.events.DragDropEvent")] /** * An object that can initiate drag actions with the drag and drop manager. * * @see DragDropManager */ public interface IDragSource { function dispatchEvent(event:Event):void; function dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy