| Package | com.adobe.portfolio.components |
| Class | public class Filecount |
| Inheritance | Filecount spark.components.supportClasses.SkinnableComponent |
| Implements | IListenAndWatch |
| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
| Property | Defined By | ||
|---|---|---|---|
| colorPalette : ColorPalette
The color palette being used by this object. | Filecount | ||
| currentItems : IList | Filecount | ||
| fileCount : int
The total number of attachments at the in the collection's current folder. | Filecount | ||
| fileIndex : int
The index of the current focus attachment in the collection's current folder. | Filecount | ||
| fontSize : int
Setting the font size on the label
| Filecount | ||
| showCurrentIndex : Boolean [read-only]
A boolean indicating whether to display only the number of files, or both the current
index and the number of files. | Filecount | ||
| Property | Defined By | ||
|---|---|---|---|
| fileInfoDirty : Boolean = true
A boolean indicating that the cached information concerning the fileCount and fileIndex
needs to be synchronized. | Filecount | ||
| Method | Defined By | ||
|---|---|---|---|
Default constructor for Filecount. | Filecount | ||
addListenAndWatch():void
Function to setup the event listeners required by this component. | Filecount | ||
removeListenAndWatch():void
Function to cleanup the event listeners required by this component. | Filecount | ||
| Method | Defined By | ||
|---|---|---|---|
commitProperties():void [override]
Synchronizes the fileCount and fileIndex information, if necessary. | Filecount | ||
initializeAccessibility():void [override] | Filecount | ||
onCollectionEvent(event:CollectionEvent):void
A listener to respond to CollectionEvents on the current items. | Filecount | ||
onNavHostEvent(event:NavHostEvent):void
A listener to respond to NavHostEvents on the CollectionMgr. | Filecount | ||
| colorPalette | property |
colorPalette:ColorPaletteThe color palette being used by this object.
This property can be used as the source for data binding.
public function get colorPalette():ColorPalette public function set colorPalette(value:ColorPalette):void| currentItems | property |
currentItems:IListThis property can be used as the source for data binding.
public function get currentItems():IList public function set currentItems(value:IList):void| fileCount | property |
fileCount:intThe total number of attachments at the in the collection's current folder.
This property can be used as the source for data binding.
public function get fileCount():int public function set fileCount(value:int):void| fileIndex | property |
fileIndex:intThe index of the current focus attachment in the collection's current folder.
This property can be used as the source for data binding.
public function get fileIndex():int public function set fileIndex(value:int):void| fileInfoDirty | property |
protected var fileInfoDirty:Boolean = trueA boolean indicating that the cached information concerning the fileCount and fileIndex needs to be synchronized.
| fontSize | property |
fontSize:intSetting the font size on the label
This property can be used as the source for data binding.
public function get fontSize():int public function set fontSize(value:int):void| showCurrentIndex | property |
showCurrentIndex:Boolean [read-only] A boolean indicating whether to display only the number of files, or both the current index and the number of files.
This property can be used as the source for data binding.
public function get showCurrentIndex():Boolean| Filecount | () | Constructor |
public function Filecount()Default constructor for Filecount.
| addListenAndWatch | () | method |
public function addListenAndWatch():voidFunction to setup the event listeners required by this component.
| commitProperties | () | method |
override protected function commitProperties():voidSynchronizes the fileCount and fileIndex information, if necessary.
| initializeAccessibility | () | method |
override protected function initializeAccessibility():void| onCollectionEvent | () | method |
protected function onCollectionEvent(event:CollectionEvent):void
A listener to respond to CollectionEvents on the current items.
Parameters
event:CollectionEvent |
| onNavHostEvent | () | method |
protected function onNavHostEvent(event:NavHostEvent):void
A listener to respond to NavHostEvents on the CollectionMgr.
Parameters
event:NavHostEvent |
| removeListenAndWatch | () | method |
public function removeListenAndWatch():voidFunction to cleanup the event listeners required by this component. This should be called when the component is no longer needed, to prevent memory leaks.