Packagecom.adobe.portfolio.components
Classpublic class Header
InheritanceHeader Inheritance CanvasList Inheritance spark.components.List

The Header class extends CanvasList and specifies a header-specific xml resource file and designer skin.

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
 InheritedautoGeneratedLabel : String = CANVAS_PROPERTIES
CanvasList
 InheritedautoGeneratedLabelKey : String = canvasProperties
CanvasList
 InheritedautoGenerateProperties : Boolean = false
CanvasList
 InheritedbackgroundColor : uint
[read-only]
CanvasList
 InheritedbackgroundGradientColor : uint
[read-only]
CanvasList
 InheritedbackgroundGradientType : String
[read-only]
CanvasList
 InheritedbackgroundOpacity : Number
[read-only]
CanvasList
 InheriteddataURL : String
CanvasList
 Inheriteddirty : Boolean
CanvasList
 InheritedheightIfPresent : Number
CanvasList
 InheritedswfClass : String
CanvasList
 InheritedwidthIfPresent : Number
CanvasList
Protected Properties
 PropertyDefined By
 InheritedaddedPropertyBindings : Boolean = false
CanvasList
 InheritedaddImageWatcher : ChangeWatcher
CanvasList
 InheritedaddTextWatcher : ChangeWatcher
CanvasList
 InheritedbackgroundColorWatcher : ChangeWatcher
CanvasList
 InheritedbackgroundGradientIntensityWatcher : ChangeWatcher
CanvasList
 InheritedbackgroundGradientTypeWatcher : ChangeWatcher
CanvasList
 InheritedbackgroundOpacityWatcher : ChangeWatcher
CanvasList
 InheritedtemplateWatcher : ChangeWatcher
CanvasList
Public Methods
 MethodDefined By
  
Header
 Inherited
CanvasList
 Inherited
applyPresetPositions(presetDataSet:Vector.<CanvasItemData>):void
CanvasList
 Inherited
loseContext():Boolean
CanvasList
 Inherited
CanvasList
 Inherited
CanvasList
 Inherited
CanvasList
 Inherited
takeContext():Boolean
CanvasList
Protected Methods
 MethodDefined By
 Inherited
addImageAction(value:uint):void
CanvasList
 Inherited
CanvasList
  
[override] Overrides bindings to the header properties so that they're bound to footer properties instead.
Header
 Inherited
addTextAction(value:uint):void
CanvasList
 Inherited
CanvasList
 Inherited
CanvasList
 Inherited
[override]
CanvasList
  
[override]
Header
 Inherited
onAddImageButtonClick(event:MouseEvent):void
CanvasList
 Inherited
onAddTextButtonClick(event:MouseEvent):void
CanvasList
 Inherited
onMouseRoll(event:MouseEvent):void
CanvasList
 Inherited
CanvasList
 Inherited
onRemoveButtonClick(event:MouseEvent):void
CanvasList
 Inherited
onRemoveItem(event:Event):void
CanvasList
 Inherited
onRendererChange(event:RendererExistenceEvent):void
CanvasList
 Inherited
partAdded(partName:String, instance:Object):void
[override] Called when a skin has added a skin part for this instance.
CanvasList
 Inherited
partRemoved(partName:String, instance:Object):void
[override] Called when a skin has removed a skin part for this instance.
CanvasList
 Inherited
CanvasList
 Inherited
setAuthoringMode(value:Boolean):void
CanvasList
 Inherited
setBackgroundColor(value:Number):void
CanvasList
 Inherited
CanvasList
 Inherited
CanvasList
 Inherited
setBackgroundOpacity(value:Number):void
CanvasList
  
[override]
Header
 Inherited
setCanvasXML(value:String):void
CanvasList
  
[override]
Header
  
[override]
Header
 Inherited
CanvasList
 Inherited
CanvasList
 Inherited
CanvasList
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
 Inherited
addImageButton:spark.components.Button
Required: false Part Type: Static

CanvasList
 Inherited
addTextButton:spark.components.Button
Required: false Part Type: Static

CanvasList
 Inherited
removeButton:spark.components.Button
Required: false Part Type: Static

CanvasList
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
 InheritedCanvasList
 InheritedCanvasList
 InheritedCanvasList
 InheritedCanvasList
Public Constants
 ConstantDefined By
 InheritedBLANK_PRESET_NAME : String = blank
[static]
CanvasList
 InheritedCUSTOM_PRESET_NAME : String = custom
[static]
CanvasList
 InheritedSKIN_PART_ADD_IMAGE_BUTTON : String = addImageButton
[static]
CanvasList
 InheritedSKIN_PART_ADD_TEXT_BUTTON : String = addTextButton
[static]
CanvasList
 InheritedSKIN_PART_REMOVE_BUTTON : String = removeButton
[static]
CanvasList
 InheritedSKIN_STATE_AUTHORING_NORMAL : String = authoringNormal
[static]
CanvasList
 InheritedSKIN_STATE_AUTHORING_OVER : String = authoringOver
[static]
CanvasList
 InheritedSKIN_STATE_AUTHORING_OVER_AND_SELECTED : String = authoringOverAndSelected
[static]
CanvasList
 InheritedSKIN_STATE_AUTHORING_SELECTED : String = authoringSelected
[static]
CanvasList
 InheritedSKIN_STATE_NORMAL : String = normal
[static]
CanvasList
 InheritedXML_ELEMENT_NAME : String = CanvasItems
[static]
CanvasList
Protected Constants
 ConstantDefined By
 InheritedcollectionManager : CollectionManager
The navigator's CollectionManager instance.
CanvasList
Constructor Detail
Header()Constructor
public function Header()



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

Overrides bindings to the header properties so that they're bound to footer properties instead.

getTemplateProperty()method 
override protected function getTemplateProperty():PropertyListValue

Returns
PropertyListValue
setCanvasTemplate()method 
override protected function setCanvasTemplate(value:PropertyValue):void

Parameters

value:PropertyValue

setupContext()method 
override protected function setupContext():PropertyContext

Returns
PropertyContext
shouldDisplayCanvas()method 
override protected function shouldDisplayCanvas():Boolean

Returns
Boolean