API / geotoolkit / widgets / templates / HistogramRegistry / HistogramRegistry
templates.HistogramRegistry.HistogramRegistry
Deprecated
since 4.1 use geotoolkit/charts/widgets/ChartWidget with embedded serialization instead The implementation of the default serializer registry for HistogramWidget
↳
HistogramRegistry
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(): HistogramRegistry
Return instance of the default registry
registry