Packageorg.apache.flex.html.beads.controllers
Classpublic class DragMouseController
InheritanceDragMouseController Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements IBead

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The DragMouseController bead handles mouse events on the a component, looking for activity that constitutes the start of a drag drop operation.



Public Properties
 PropertyDefined By
  defaultThreshold : int = 4
[static] The default movement in x and or y that means a drag should start
DragMouseController
  dragging : Boolean = false
[static] Whether there is a drag operation in progress.
DragMouseController
  dragImage : IUIBase
[static] The drag image.
DragMouseController
  dragImageOffsetX : Number = 0
[static] The offset of the drag image.
DragMouseController
  dragImageOffsetY : Number = 0
[static] The offset of the drag image.
DragMouseController
  strand : IStrand
DragMouseController
  threshold : int = 4
The movement in x and or y that means a drag should start
DragMouseController
Public Methods
 MethodDefined By
  
constructor.
DragMouseController
Events
 Event Summary Defined By
  Indicates that a drag/drop operation is ending.DragMouseController
  Indicates that the mouse is moving during a drag/drop operation.DragMouseController
  Indicates that a drag/drop operation is starting.DragMouseController
Property Detail
defaultThresholdproperty
public static var defaultThreshold:int = 4

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The default movement in x and or y that means a drag should start

draggingproperty 
public static var dragging:Boolean = false

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Whether there is a drag operation in progress.

dragImageproperty 
public static var dragImage:IUIBase

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The drag image.

dragImageOffsetXproperty 
public static var dragImageOffsetX:Number = 0

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The offset of the drag image.

dragImageOffsetYproperty 
public static var dragImageOffsetY:Number = 0

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The offset of the drag image.

strandproperty 
strand:IStrand


Implementation
    public function get strand():IStrand
    public function set strand(value:IStrand):void
thresholdproperty 
public var threshold:int = 4

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The movement in x and or y that means a drag should start

Constructor Detail
DragMouseController()Constructor
public function DragMouseController()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

constructor.

Event Detail
dragEnd Event
Event Object Type: org.apache.flex.events.DragEvent

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Indicates that a drag/drop operation is ending.

dragMove Event  
Event Object Type: org.apache.flex.events.DragEvent

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Indicates that the mouse is moving during a drag/drop operation.

dragStart Event  
Event Object Type: org.apache.flex.events.DragEvent

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Indicates that a drag/drop operation is starting.