Packagecom.adobe.portfolio.components
Classpublic class MarqueeSelection
InheritanceMarqueeSelection Inheritance NavSkinnableComponent Inheritance spark.components.supportClasses.SkinnableComponent

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The MarqueeSelection class extends NavSkinnableComponent to provide marquee selection support.



Public Properties
 PropertyDefined By
 InheritedskinState : String
The current skin state
NavSkinnableComponent
Protected Properties
 PropertyDefined By
 InheritedautoListen : AutoListen
NavSkinnableComponent
 InheritedautoWatch : AutoWatch
NavSkinnableComponent
Public Methods
 MethodDefined By
  
Constructor.
MarqueeSelection
 Inherited
Creates autoListen and autoWatch for automatically tracking listeners and watchers.
NavSkinnableComponent
 Inherited
Uses autoListen and autoWatch to remove all listeners and watchers.
NavSkinnableComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
[override] Sets the current component state and skin state.
NavSkinnableComponent
Protected Methods
 MethodDefined By
 Inherited
addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void
NavSkinnableComponent
 Inherited
addWatcher(watcher:ChangeWatcher):void
NavSkinnableComponent
  
attachSkin():void
[override]
MarqueeSelection
 Inherited
detachSkin():void
[override]
NavSkinnableComponent
 Inherited
[override]
NavSkinnableComponent
  
initStates():void
[override]
MarqueeSelection
  
onMouseDown(event:MouseEvent):void
MarqueeSelection
  
onMouseMove(event:MouseEvent):void
MarqueeSelection
  
onMouseUp(event:MouseEvent):void
MarqueeSelection
 Inherited
partRemoved(partName:String, instance:Object):void
[override]
NavSkinnableComponent
  
sendMarqueeSelectionEvent(type:String, mouseEvent:MouseEvent):void
MarqueeSelection
  
targetIsBackground(event:MouseEvent):Boolean
MarqueeSelection
Events
 Event Summary Defined By
  Dispatched when a marquee selection is initiated.MarqueeSelection
  Dispatched when a marquee selection is initiated.MarqueeSelection
  Dispatched when a marquee selection is completed.MarqueeSelection
  Dispatched when a marquee selection in progress is moved.MarqueeSelection
Public Constants
 ConstantDefined By
 InheritedSTATE_DISABLED : String = disabled
[static]
NavSkinnableComponent
 InheritedSTATE_NORMAL : String = normal
[static]
NavSkinnableComponent
Constructor Detail
MarqueeSelection()Constructor
public function MarqueeSelection()

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Constructor.

Method Detail
attachSkin()method
override protected function attachSkin():void

initStates()method 
override protected function initStates():void

onMouseDown()method 
protected function onMouseDown(event:MouseEvent):void

Parameters

event:MouseEvent

onMouseMove()method 
protected function onMouseMove(event:MouseEvent):void

Parameters

event:MouseEvent

onMouseUp()method 
protected function onMouseUp(event:MouseEvent):void

Parameters

event:MouseEvent

sendMarqueeSelectionEvent()method 
protected function sendMarqueeSelectionEvent(type:String, mouseEvent:MouseEvent):void

Parameters

type:String
 
mouseEvent:MouseEvent

targetIsBackground()method 
protected function targetIsBackground(event:MouseEvent):Boolean

Parameters

event:MouseEvent

Returns
Boolean
Event Detail
marqueeSelectionBegin Event
Event Object Type: com.adobe.portfolio.events.MarqueeSelectionEvent
MarqueeSelectionEvent.type property = com.adobe.portfolio.events.MarqueeSelectionEvent.BEGIN

Dispatched when a marquee selection is initiated.

Type of MarqueeSelectionEvent this is dispatched at the beginning of a marquee drag.
marqueeSelectionCancelled Event  
Event Object Type: com.adobe.portfolio.events.MarqueeSelectionEvent
MarqueeSelectionEvent.type property = com.adobe.portfolio.events.MarqueeSelectionEvent.CANCELLED

Dispatched when a marquee selection is initiated.

Type of MarqueeSelectionEvent when a marquee drag is cancelled (i.e. a single click instead of a drag).
marqueeSelectionEnd Event  
Event Object Type: com.adobe.portfolio.events.MarqueeSelectionEvent
MarqueeSelectionEvent.type property = com.adobe.portfolio.events.MarqueeSelectionEvent.END

Dispatched when a marquee selection is completed.

Type of MarqueeSelectionEvent this is dispatched at the end of a marquee drag.
marqueeSelectionMove Event  
Event Object Type: com.adobe.portfolio.events.MarqueeSelectionEvent
MarqueeSelectionEvent.type property = com.adobe.portfolio.events.MarqueeSelectionEvent.MOVE

Dispatched when a marquee selection in progress is moved.

Type of MarqueeSelectionEvent this is dispatched during a marquee drag when the mouse moves.