Package | spark.layouts.supportClasses |
Class | public class DropLocation |
Inheritance | DropLocation Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The DropLocation
is created by the LayoutBase
class when the List
calls the layout's
calculateDropLocation()
method in response to a dragOver
.
The DropLocation class is used by the layout for operations such as calculating the drop indicator bounds and drag-scroll deltas.
See also
spark.layouts.supportClasses.LayoutBase.calculateDropLocation()
spark.layouts.supportClasses.LayoutBase.calculateDropIndicatorBounds()
spark.layouts.supportClasses.LayoutBase.calculateDropIndicatorBounds()
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
dragEvent : DragEvent = null
The DragEvent associated with this location. | DropLocation | ||
dropIndex : int = -1
The drop index corresponding to the event. | DropLocation | ||
dropPoint : Point = null
The event point in local coordinates of the layout's target. | DropLocation | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | DropLocation | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
dragEvent | property |
public var dragEvent:DragEvent = null
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The DragEvent
associated with this location.
dropIndex | property |
public var dropIndex:int = -1
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The drop index corresponding to the event.
dropPoint | property |
public var dropPoint:Point = null
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The event point in local coordinates of the layout's target.
Constructor Detail
DropLocation | () | Constructor |
public function DropLocation()
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor.
Thu May 20 2010, 02:19 AM -07:00