Packagecom.flexicious.persistence
Classpublic class PreferenceInfo
InheritancePreferenceInfo Inheritance Object
Implements flash.events.IEventDispatcher

Class added in 2.9 to support multiple preferences. Store information about the name of the preference, whether or not it is a system preference (which cannot be deleted), and the preference string associated with this name.



Public Properties
 PropertyDefined By
  isSystemPref : Boolean
These cannot be deleted
PreferenceInfo
  name : String
Name of the preference
PreferenceInfo
  preferences : String
The actual text (or xml) of preferences.
PreferenceInfo
Public Methods
 MethodDefined By
  
PreferenceInfo
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
PreferenceInfo
  
dispatchEvent(event:Event):Boolean
PreferenceInfo
  
hasEventListener(type:String):Boolean
PreferenceInfo
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
PreferenceInfo
  
willTrigger(type:String):Boolean
PreferenceInfo
Property Detail
isSystemPrefproperty
isSystemPref:Boolean

These cannot be deleted

This property can be used as the source for data binding.


Implementation
    public function get isSystemPref():Boolean
    public function set isSystemPref(value:Boolean):void
nameproperty 
name:String

Name of the preference

This property can be used as the source for data binding.


Implementation
    public function get name():String
    public function set name(value:String):void
preferencesproperty 
preferences:String

The actual text (or xml) of preferences.

This property can be used as the source for data binding.


Implementation
    public function get preferences():String
    public function set preferences(value:String):void
Constructor Detail
PreferenceInfo()Constructor
public function PreferenceInfo()



Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean