ArrayPropertiesField Class

Describes a content field that's based on one or more similar EC array properties.

Extends

Methods

Name Description
constructor(category: CategoryDescription, name: string, label: string, description: TypeDescription, itemsField: PropertiesField, isReadonly: boolean, priority: number, properties: Property[], editor?: EditorDescription, renderer?: RendererDescription): ArrayPropertiesField    
clone(): ArrayPropertiesField    
isArrayPropertiesField(): this is ArrayPropertiesField Is this a an array property field  
toCompressedJSON(classesMap: { T }): ArrayPropertiesFieldJSON<string> Serialize this object to compressed JSON  
toJSON(): ArrayPropertiesFieldJSON<ClassInfo> Serialize this object to JSON  
fromCompressedJSON(json: ArrayPropertiesFieldJSON<string>, classesMap: { T }, categories: CategoryDescription[]): ArrayPropertiesField Static Deserialize an ArrayPropertiesField from compressed JSON.  
fromJSON(json: ArrayPropertiesFieldJSON<ClassInfo>, categories: CategoryDescription[]): ArrayPropertiesField Static Deserialize ArrayPropertiesField from JSON  

Inherited methods

Name Inherited from Description
getFieldDescriptor(): FieldDescriptor Inherited PropertiesField Get descriptor for this field.
isNestedContentField(): this is NestedContentField Inherited PropertiesField Is this a NestedContentField
isPropertiesField(): this is PropertiesField Inherited PropertiesField Is this a PropertiesField
isStructPropertiesField(): this is StructPropertiesField Inherited PropertiesField Is this a an struct property field
matchesDescriptor(descriptor: FieldDescriptor): boolean Inherited PropertiesField Checks if this field matches given field descriptor
rebuildParentship(parentField?: NestedContentField): void Inherited PropertiesField Sets provided NestedContentField as parent of this field.
resetParentship(): void Inherited PropertiesField Resets field's parent.
getCategoryFromFieldJson(fieldJson: FieldJSON<ClassInfoJSON>, categories: CategoryDescription[]): CategoryDescription Protected Static Inherited PropertiesField  

Properties

Name Type Description
itemsField PropertiesField    

Inherited properties

Name Type Inherited from Description
category Inherited CategoryDescription PropertiesField Category information
editor Inherited EditorDescription | undefined PropertiesField Property editor used to edit values of this field
extendedData Inherited { T } | undefined PropertiesField Extended data associated with this field
isReadonly Inherited boolean PropertiesField Are values in this field read-only
label Inherited string PropertiesField Display label
name Inherited string PropertiesField Unique name
parent Accessor Inherited ReadOnly undefined | NestedContentField PropertiesField Get parent
priority Inherited number PropertiesField Priority of the field.
properties Inherited Property[] PropertiesField A list of properties this field is created from
renderer Inherited RendererDescription | undefined PropertiesField Property renderer used to render values of this field
type Inherited TypeDescription PropertiesField Description of this field's values data type

Defined in

Last Updated: 14 November, 2024