API / geotoolkit / widgets / templates / MultiHistogramsRegistry / MultiHistogramsRegistry
templates.MultiHistogramsRegistry.MultiHistogramsRegistry
Deprecated
since 4.1 use geotoolkit/charts/widgets/ChartWidget with embedded serialization instead The implementation of the default serializer registry for MultiHistograms widget
↳
MultiHistogramsRegistry
Constructors
Constructors
• new MultiHistogramsRegistry()
Registry.constructor
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(): MultiHistogramsRegistry
Return instance of the default registry
registry