SimplePropertyDataProvider Class

Implementation of [IPropertyDataProvider] that uses an associative array.

Implements

Methods

Name Description
constructor(): SimplePropertyDataProvider    
addCategory(category: PropertyCategory): number    
addProperty(propertyRecord: PropertyRecord, categoryIdx: number): void    
findCategoryIndex(category: PropertyCategory): number    
getData(): Promise<PropertyData>    
removeProperty(propertyRecord: PropertyRecord, categoryIdx: number): boolean    
replaceProperty(propertyRecord: PropertyRecord, categoryIdx: number, newRecord: PropertyRecord): boolean    

Properties

Name Type Description
categories PropertyCategory[]    
description undefined | string    
label PropertyRecord    
onDataChanged PropertyDataChangeEvent Property data change event.  
records { T }    

Defined in

Last Updated: 20 June, 2023