Package | com.adobe.portfolio.components |
Class | public class Header |
Inheritance | Header ![]() ![]() |
Default MXML PropertydataProvider
Method | Defined By | ||
---|---|---|---|
Header()
Default constructor
| Header | ||
![]() | addListenAndWatch():void
A function to add event listeners and change watchers required by this canvas list. | CanvasList | |
![]() | applyPresetPositions(presetDataSet:Vector.<CanvasItemData>):void
Sets the list of items to match those from a preset list. | CanvasList | |
![]() | loseContext():Boolean
Clears the property context for this canvas list as the current property context. | CanvasList | |
![]() | removeListenAndWatch():void
A function to clean up event listeners and change watchers required by this canvas list. | CanvasList | |
![]() | setBlankTemplate():Boolean
Sets the preset layout property list to its blank entry. | CanvasList | |
![]() | setCustomTemplate():Boolean
Sets the preset layout property list to its custom entry. | CanvasList | |
![]() | takeContext():Boolean
Sets the property context for this canvas list as the current property context. | CanvasList |
Method | Defined By | ||
---|---|---|---|
![]() | addImageAction(value:uint):void
Adds an image item to the canvas list. | CanvasList | |
![]() | addImageItem():void
Adds an image item to the canvas list. | CanvasList | |
addPropertyBindings():void [override]
A function to add event listeners and change watchers for binding portfolio properties to this
canvas list. | Header | ||
![]() | addSwfAction(value:uint):void
Adds a swf item to the canvas list. | CanvasList | |
![]() | addSwfItem():void
Adds an swf item to the canvas list. | CanvasList | |
![]() | addTextAction(value:uint):void
Adds a text item to the canvas list. | CanvasList | |
![]() | addTextItem():void
Adds a text item to the canvas list. | CanvasList | |
![]() |
Returns an auto-generated property context that can be used to represent this canvas
lists properties. | CanvasList | |
![]() | getCurrentSkinState():String [override]
| CanvasList | |
[override]
Returns the property representing the list of preset layouts. | Header | ||
![]() | onAddImageButtonClick(event:MouseEvent):void
Adds an image item to the canvas list. | CanvasList | |
![]() | onAddTextButtonClick(event:MouseEvent):void
Adds a text item to the canvas list. | CanvasList | |
![]() | onMouseRoll(event:MouseEvent):void
Event listener for rollover events on this canvas list. | CanvasList | |
![]() | onNavHostEvent(event:CollectionManagerEvent):void
Event listener invoked on CollectionManagerEvents. | CanvasList | |
![]() | onRemoveButtonClick(event:MouseEvent):void
Remoeves selected items from the canvas list. | CanvasList | |
![]() | onRemoveItem(event:Event):void
Event listener invoked when a canvas item dispatches a remove event. | CanvasList | |
![]() | onRendererChange(event:RendererExistenceEvent):void
Event listener called when canvas item renderers are added or removed. | CanvasList | |
![]() | partAdded(partName:String, instance:Object):void [override]
| CanvasList | |
![]() | partRemoved(partName:String, instance:Object):void [override]
| CanvasList | |
![]() | removePropertyBindings():void
A function to clean up event listeners and change watchers for binding portfolio properties to this
canvas list. | CanvasList | |
![]() | setAuthoringMode(value:Boolean):void
A function invoked when authoring mode changes. | CanvasList | |
![]() | setBackgroundColor(value:Number):void
A function invoked when the background color property changes
| CanvasList | |
![]() | setBackgroundGradientIntensity(value:Number):void
A function invoked when the background gradient intensity property changes
| CanvasList | |
![]() | setBackgroundGradientType(value:PropertyValue):void
A function invoked when the background gradient type property changes
| CanvasList | |
![]() | setBackgroundOpacity(value:Number):void
A function invoked when the background opacity property changes
| CanvasList | |
setCanvasTemplate(value:PropertyValue):void [override]
Sets the list of items to match those from a preset layout. | Header | ||
![]() | setCanvasXML(value:String):void
Initializes this canvas list from an XML representation. | CanvasList | |
[override]
Sets up the property context for this canvas list, auto-generating it
if necessary. | Header | ||
shouldDisplayCanvas():Boolean [override]
Returns true if this canvas list should be displayed; false otherwise. | Header | ||
![]() | updateActualHeight():void
Sets the height of this canvas list based on heightIfPresent and shouldDisplayCanvas. | CanvasList | |
![]() | updateActualWidth():void
Sets the width of this canvas list based on widthIfPresent and shouldDisplayCanvas. | CanvasList | |
![]() | updateGradientColor():void
Updates backgroundGradientColor according to the current state of the canvas list. | CanvasList |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
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.
Header | () | Constructor |
public function Header()
Default constructor
addPropertyBindings | () | method |
override protected function addPropertyBindings():void
A function to add event listeners and change watchers for binding portfolio properties to this canvas list.
getTemplateProperty | () | method |
override protected function getTemplateProperty():PropertyListValue
Returns the property representing the list of preset layouts.
ReturnsPropertyListValue |
setCanvasTemplate | () | method |
override protected function setCanvasTemplate(value:PropertyValue):void
Sets the list of items to match those from a preset layout.
Parameters
value:PropertyValue |
setupContext | () | method |
override protected function setupContext():PropertyContext
Sets up the property context for this canvas list, auto-generating it if necessary.
ReturnsPropertyContext |
shouldDisplayCanvas | () | method |
override protected function shouldDisplayCanvas():Boolean
Returns true if this canvas list should be displayed; false otherwise. Canvas lists should generally be displayed when they contain valid items, or when in authoring mode.
ReturnsBoolean |