| Package | com.adobe.portfolio.properties |
| Class | public class FontList |
| Inheritance | FontList PropertyListValue PropertyValue flash.events.EventDispatcher |
| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
| Property | Defined By | ||
|---|---|---|---|
![]() | descriptionDefault : String
The default description string to be used when the localized description is unavailable. | PropertyValue | |
![]() | descriptionKey : String
The string used as a key to request a localized description string. | PropertyValue | |
![]() | dontPlayEffectsCounter : uint = 0
A counter used to keep track of when to run the side effects. | PropertyValue | |
![]() | initializing : Boolean
Returns true if the property is in an initializing state,
false otherwise. | PropertyValue | |
![]() | labelDefault : String
The default label string to be used when the localized label is unavailable. | PropertyValue | |
![]() | labelKey : String
The string used as a key to request a localized label string. | PropertyValue | |
| loadAndSaveValues : Boolean [override] [read-only]
Returns false if loading and saving values to and from XML should be skipped. | FontList | ||
![]() | parent : Object
The parent object of this property. | PropertyValue | |
| shouldOutputSubvalues : Boolean [override] [read-only]
Returns false. | FontList | ||
![]() | _subvalues : Array
The array of possible values for a PropertyList
| PropertyListValue | |
| Method | Defined By | ||
|---|---|---|---|
FontList(target:IEventDispatcher = null)
Constructor
| FontList | ||
![]() | createPropertyValue(valueXML:XML, parent:Object):PropertyValue [static]
Create a new PropertyValue instance of the correct type and
assign parent as its parent value. | PropertyValue | |
![]() | generateXML():XML
Create an XML object with all its XML elements. | PropertyValue | |
loadFromXML(valueXML:XML):Boolean [override]
Load the specified XML object FontList. | FontList | ||
![]() | playSelectEffects():void
Run all the effects in the selectEffectArray
If dontPlayEffectsCounter is false (not 0)
playSelectEffects() will not run the effects. | PropertyValue | |
![]() | setValueFromString(valueString:String):Boolean [override]
XXXXX
| PropertyListValue | |
![]() | updateSubvalues(newSubvalues:Array, newActiveValue:PropertyValue = null):void
Update the subvalues and active value of the property list to the new list and preperty value
| PropertyListValue | |
| Method | Defined By | ||
|---|---|---|---|
getXMLElementName():String [override]
The XML element name for a FontList
| FontList | ||
loadFonts(activeName:String, loadApplicationFonts:Boolean = true, loadEmbeddedFonts:Boolean = true):void
Loads the list of available fonts as subvalues. | FontList | ||
![]() | setXMLElements(propertyXML:XML):void [override]
XXXXX
| PropertyListValue | |
| Constant | Defined By | ||
|---|---|---|---|
| XML_ELEMENT_NAME : String = FontList [static]
The XML element name for FontLists. | FontList | ||
| loadAndSaveValues | property |
loadAndSaveValues:Boolean [read-only] [override] | Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Returns false if loading and saving values to and from XML should be skipped.
This may be desirable if the list values are based on the runtime state of the system.
protected function get loadAndSaveValues():Boolean| shouldOutputSubvalues | property |
shouldOutputSubvalues:Boolean [read-only] [override] | Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Returns false. The list of fonts is generated programatically,
so we don't output them to XML
protected function get shouldOutputSubvalues():Boolean| FontList | () | Constructor |
public function FontList(target:IEventDispatcher = null)| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Constructor
Parameterstarget:IEventDispatcher (default = null) |
| getXMLElementName | () | method |
override protected function getXMLElementName():String| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The XML element name for a FontList
ReturnsString |
| loadFonts | () | method |
protected function loadFonts(activeName:String, loadApplicationFonts:Boolean = true, loadEmbeddedFonts:Boolean = true):void| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Loads the list of available fonts as subvalues.
Parameters
activeName:String | |
loadApplicationFonts:Boolean (default = true) | |
loadEmbeddedFonts:Boolean (default = true) |
| loadFromXML | () | method |
override public function loadFromXML(valueXML:XML):Boolean| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Load the specified XML object FontList. If in authoring mode, also load all the system fonts. If possible, the localized label and description will be used.
Parameters
valueXML:XML |
Boolean — true if the font list was successfully loaded,
false otherwise.
|
| XML_ELEMENT_NAME | Constant |
public static const XML_ELEMENT_NAME:String = FontList| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The XML element name for FontLists.