Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The NavSkinnableComponent class extends SkinnableComponent to provide extra navigator specific functionality. It implements
the IListenAndWatch interface and synchronizes the currentState with the skin state.
protected var autoListen:AutoListen
protected var autoWatch:AutoWatch
skinState:String
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
The current skin state
Implementation public function get skinState():String
public function set skinState(value:String):void
public function NavSkinnableComponent()
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Constructor.
public function addListenAndWatch():void
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Creates autoListen and autoWatch for automatically tracking listeners and watchers.
protected function addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void
Parameters
listener :IEventDispatcher
type :String
handler :Function
useCapture :Boolean
(default = false
)
priority :int
(default = 0
)
protected function addWatcher(watcher:ChangeWatcher):void
Parameters
override protected function detachSkin():void
override protected function getCurrentSkinState():String
Returns protected function initStates():void
override protected function partRemoved(partName:String, instance:Object):void
Parameters
partName :String
instance :Object
public function removeListenAndWatch():void
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Uses autoListen and autoWatch to remove all listeners and watchers.
override public function setCurrentState(stateName:String, playTransition:Boolean = true):void
Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0
Sets the current component state and skin state.
Parameters
stateName :String
playTransition :Boolean
(default = true
)
public static const STATE_DISABLED:String = disabled
public static const STATE_NORMAL:String = normal
Copyright Adobe Systems Incorporated, all rights reserved, for internal use only Mon Apr 25 2011, 05:54 PM -07:00