Home Reference Source
public class | source

GridPreferencesInfo

Extends:

TypedObject → GridPreferencesInfo

Class added in 2.9 to support multiple preferences. Each IPersistable has a gridpreferences object, that contains an array of PreferenceInfo objects

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Name of the default preference

public

Flag that tells the grid to load the default preferences on creation complete

public

List of saved preferences.

Method Summary

Public Methods
public

fromPreferenceString(uso: *, str: *): *

Converts a string resut of toPreferenceString to a GridPreferencesInfo object

public
public

A function that converts the current preference object into a string.

Inherited Summary

From class TypedObject
public

typeCache: {}

public
public

Returns a list of strings that represent the object hierarchy for this object.

public

Returns true if the class name to check is in the list of class names defined for this class.

Public Constructors

public constructor() source

Override:

TypedObject#constructor

Public Members

public defaultPreferenceName: String source

Name of the default preference

Properties:

NameTypeAttributeDescription
defaultPreferenceName *

public loadDefaultPreferenceOnCreationComplete: Boolean source

Flag that tells the grid to load the default preferences on creation complete

Properties:

NameTypeAttributeDescription
loadDefaultPreferenceOnCreationComplete *

public savedPreferences: Array source

List of saved preferences.

Properties:

NameTypeAttributeDescription
savedPreferences *

Public Methods

public fromPreferenceString(uso: *, str: *): * source

Converts a string resut of toPreferenceString to a GridPreferencesInfo object

Params:

NameTypeAttributeDescription
uso *
str *

Return:

*

public getClassNames(): Array source

Returns a list of strings that represent the object hierarchy for this object.

Override:

TypedObject#getClassNames

Return:

Array

public toPreferenceString(uso: *): String source

A function that converts the current preference object into a string.

Params:

NameTypeAttributeDescription
uso *

Return:

String