Package | com.flexicious.grids.events |
Class | public class PreferencePersistenceEvent |
Inheritance | PreferencePersistenceEvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
customData : String
If you want to save any custom data into the preferences string, populate this property in the
savePreferences event. | PreferencePersistenceEvent | ||
isDefault : Boolean
Whether the preference to add is the default. | PreferencePersistenceEvent | ||
preferenceKey : String
key that uniquely identifies the grid whose preference data
needs to be persisted on the server
| PreferencePersistenceEvent | ||
preferenceName : String
Name of the preference to persist. | PreferencePersistenceEvent | ||
preferenceXml : String
n xml string that contains all the preference data for this grid. | PreferencePersistenceEvent |
Method | Defined By | ||
---|---|---|---|
PreferencePersistenceEvent(type:String, preferenceKey:String, preferenceXml:String, bubbles:Boolean = false, cancelable:Boolean = true)
Constructor. | PreferencePersistenceEvent |
Constant | Defined By | ||
---|---|---|---|
CLEAR_PREFERENCES : String = clearPreferences [static] | PreferencePersistenceEvent | ||
LOAD_PREFERENCES : String = loadPreferences [static] | PreferencePersistenceEvent | ||
PERSIST_PREFERENCES : String = persistPreferences [static] | PreferencePersistenceEvent | ||
PREFERENCES_LOADING : String = preferencesLoading [static] | PreferencePersistenceEvent |
customData | property |
public var customData:String
If you want to save any custom data into the preferences string, populate this property in the savePreferences event. (This event will be dispatched JUST before saving the preferences. And it will be available to you in the loadPreferences event. (This event is called right after the preferences are applied to the IPersistable)
isDefault | property |
public var isDefault:Boolean
Whether the preference to add is the default. Added in 2.9 to support multiple preferences
preferenceKey | property |
public var preferenceKey:String
key that uniquely identifies the grid whose preference data needs to be persisted on the server
preferenceName | property |
public var preferenceName:String
Name of the preference to persist. Added in 2.9 to support multiple preferences
preferenceXml | property |
public var preferenceXml:String
n xml string that contains all the preference data for this grid.
PreferencePersistenceEvent | () | Constructor |
public function PreferencePersistenceEvent(type:String, preferenceKey:String, preferenceXml:String, bubbles:Boolean = false, cancelable:Boolean = true)
Constructor.
Parameterstype:String — The event type; indicates the action that caused the event.
| |
preferenceKey:String — Specifies whether the event can bubble
up the display list hierarchy.
| |
preferenceXml:String — Specifies whether the behavior
associated with the event can be prevented.
| |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = true )
|
CLEAR_PREFERENCES | Constant |
public static const CLEAR_PREFERENCES:String = clearPreferences
LOAD_PREFERENCES | Constant |
public static const LOAD_PREFERENCES:String = loadPreferences
PERSIST_PREFERENCES | Constant |
public static const PERSIST_PREFERENCES:String = persistPreferences
PREFERENCES_LOADING | Constant |
public static const PREFERENCES_LOADING:String = preferencesLoading