PropertyValueRendererManager Class

Default implementation of property value renderer manager

Methods

Name Description
constructor(): PropertyValueRendererManager    
getRegisteredRenderer(rendererType: string): undefined | IPropertyValueRenderer Get the specified property type renderer instance  
hasCustomRenderer(record: PropertyRecord): boolean Check whether a property record has a custom renderer registered that can render it  
registerRenderer(rendererType: string, propertyRenderer: IPropertyValueRenderer, overwrite: booleanfalse): void Register a specified property type renderer  
render(record: PropertyRecord, context?: PropertyValueRendererContext): React.ReactNode Render property into JSX element  
unregisterRenderer(rendererType: string): void Unregister a specified property type renderer  

Properties

Name Type Description
_defaultArrayValueRenderer Protected IPropertyValueRenderer    
_defaultMergedValueRenderer Protected IPropertyValueRenderer    
_defaultPrimitiveValueRenderer Protected IPropertyValueRenderer    
_defaultStructValueRenderer Protected IPropertyValueRenderer    
_propertyRenderers Protected Map<string, IPropertyValueRenderer>    
defaultManager Accessor Static ReadOnly PropertyValueRendererManager Returns default PropertyValueRendererManager instance  

Defined in

Last Updated: 14 November, 2024