Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
DragMouseController

Package | org.apache.flex.html.beads.controllers
Class | public class DragMouseController
Inheritance | DragMouseController EventDispatcher 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

| Property | Defined 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

| Method | Defined By
--- | --- | ---
|  | DragMouseController() constructor. | DragMouseController

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | dragEnd | Indicates that a drag/drop operation is ending. | DragMouseController
|  | dragMove | Indicates that the mouse is moving during a drag/drop operation. | DragMouseController
|  | dragStart | Indicates that a drag/drop operation is starting. | DragMouseController

Property Detail

defaultThreshold | property

`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

dragging | property |

`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.

dragImage | property |

`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.

dragImageOffsetX | property |

`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.

dragImageOffsetY | property |

`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.

strand | property |

`strand:IStrand`

Implementation
`public function get strand():IStrand`
`public function set strand(value:IStrand):void`

threshold | property |

`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.

Mon Sep 5 2016, 07:19 AM -07:00