API / geotoolkit / charts / widgets / ChartWidgetRegistry / ChartWidgetRegistry
widgets.ChartWidgetRegistry.ChartWidgetRegistry
The implementation of the default serializer registry for ChartWidget
↳
ChartWidgetRegistry
Constructors
Methods
▸ addSerializer(type, serializer): void
Add serializer
Throws
Error type is null
| Name | Type | Description |
|---|---|---|
type | string | type of the serializer |
serializer | ObjectSerializer | serializer |
void
▸ getClassName(): string
string
▸ getSerializer(type): ObjectSerializer
Return serializer for the specified type
| Name | Type | Description |
|---|---|---|
type | string | { getClassName: () => string } | serializer for the specified type |
▸ removeSerializer(type): void
Remove serializer
Throws
Error type is null
| Name | Type | Description |
|---|---|---|
type | string | type of the serializer |
void
▸ Static getClassName(): string
string
▸ Static getInstance(): ChartWidgetRegistry
Return instance of the default registry
registry