Skin States
To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.
Skin State Description Defined By authoringNormal
CanvasList authoringOver
CanvasList authoringOverAndSelected
CanvasList authoringSelected
CanvasList
protected var addedPropertyBindings:Boolean = false
protected var addImageWatcher:ChangeWatcher
protected var addTextWatcher:ChangeWatcher
public var autoGeneratedLabel:String = CANVAS_PROPERTIES
public var autoGeneratedLabelKey:String = canvasProperties
public var autoGenerateProperties:Boolean = false
backgroundColor:uint [read-only]
This property can be used as the source for data binding.
Implementation public function get backgroundColor():uintprotected var backgroundColorWatcher:ChangeWatcher
backgroundGradientColor:uint [read-only]
This property can be used as the source for data binding.
Implementation public function get backgroundGradientColor():uintprotected var backgroundGradientIntensityWatcher:ChangeWatcher
backgroundGradientType:String [read-only]
This property can be used as the source for data binding.
Implementation public function get backgroundGradientType():Stringprotected var backgroundGradientTypeWatcher:ChangeWatcher
backgroundOpacity:Number [read-only]
This property can be used as the source for data binding.
Implementation public function get backgroundOpacity():Numberprotected var backgroundOpacityWatcher:ChangeWatcher
dataURL:String
Implementation public function get dataURL():String public function set dataURL(value:String):voiddirty:Boolean
Implementation public function get dirty():Boolean public function set dirty(value:Boolean):voidheightIfPresent:Number
This property can be used as the source for data binding.
Implementation public function get heightIfPresent():Number public function set heightIfPresent(value:Number):voidswfClass:String
This property can be used as the source for data binding.
Implementation public function get swfClass():String public function set swfClass(value:String):voidprotected var templateWatcher:ChangeWatcher
widthIfPresent:Number
This property can be used as the source for data binding.
Implementation public function get widthIfPresent():Number public function set widthIfPresent(value:Number):voidpublic function CanvasList()
protected function addImageAction(value:uint):void
Parameters
protected function addImageItem():void
public function addListenAndWatch():void
protected function addPropertyBindings():void
protected function addTextAction(value:uint):void
Parameters
protected function addTextItem():void
public function applyPresetPositions(presetDataSet:Vector.<CanvasItemData >):void
Parameters
protected function generatePropertyContext():PropertyContext
Returns override protected function getCurrentSkinState():String
Returns protected function getTemplateProperty():PropertyListValue
Returns public function loseContext():Boolean
Returns protected function onAddImageButtonClick(event:MouseEvent):void
Parameters
protected function onAddTextButtonClick(event:MouseEvent):void
Parameters
protected function onMouseRoll(event:MouseEvent):void
Parameters
protected function onNavHostEvent(event:NavHostEvent ):void
Parameters
protected function onRemoveButtonClick(event:MouseEvent):void
Parameters
protected function onRemoveItem(event:Event):void
Parameters
protected function onRendererChange(event:RendererExistenceEvent):void
Parameters
event :RendererExistenceEvent
override protected function partAdded(partName:String, instance:Object):void
Called when a skin has added a skin part for this instance.
Parameters
partName :String instance :Object
override protected function partRemoved(partName:String, instance:Object):void
Called when a skin has removed a skin part for this instance.
Parameters
partName :String instance :Object
public function removeListenAndWatch():void
protected function removePropertyBindings():void
protected function setAuthoringMode(value:Boolean):void
Parameters
protected function setBackgroundColor(value:Number):void
Parameters
protected function setBackgroundGradientIntensity(value:Number):void
Parameters
protected function setBackgroundGradientType(value:PropertyValue ):void
Parameters
protected function setBackgroundOpacity(value:Number):void
Parameters
public function setBlankTemplate():Boolean
Returns protected function setCanvasTemplate(value:PropertyValue ):void
Parameters
protected function setCanvasXML(value:String):void
Parameters
public function setCustomTemplate():Boolean
Returns protected function setupContext():PropertyContext
Returns protected function shouldDisplayCanvas():Boolean
Returns public function takeContext():Boolean
Returns protected function updateActualHeight():void
protected function updateActualWidth():void
protected function updateGradientColor():void
public static const BLANK_PRESET_NAME:String = blank
protected const collectionManager:CollectionManager
The navigator's CollectionManager instance. All host interaction should go through this
instance, rather than the INavigatorHost directly.
public static const CUSTOM_PRESET_NAME:String = custom
public static const SKIN_PART_ADD_IMAGE_BUTTON:String = addImageButton
public static const SKIN_PART_ADD_TEXT_BUTTON:String = addTextButton
public static const SKIN_PART_REMOVE_BUTTON:String = removeButton
public static const SKIN_STATE_AUTHORING_NORMAL:String = authoringNormal
public static const SKIN_STATE_AUTHORING_OVER:String = authoringOver
public static const SKIN_STATE_AUTHORING_OVER_AND_SELECTED:String = authoringOverAndSelected
public static const SKIN_STATE_AUTHORING_SELECTED:String = authoringSelected
public static const SKIN_STATE_NORMAL:String = normal
public static const XML_ELEMENT_NAME:String = CanvasItems
Copyright Adobe Systems Incorporated, all rights reserved, for internal use only Thu Oct 14 2010, 03:29 PM -07:00