API / geotoolkit / gauges / layout / GaugeLayout / GaugeLayout
layout.GaugeLayout.GaugeLayout
Defines a layout for gauges
GaugeLayout
Constructors
Methods
Methods
▸ getClassName(): string
string
▸ getCustomComponent(name): Node
Returns a custom component which was registered by provided name
| Name | Type | Description |
|---|---|---|
name | string | Name of component to return |
▸ isCustomRegion(name): boolean
Checks if the region with this name is a custom region
| Name | Type | Description |
|---|---|---|
name | string | Name of the region to test |
boolean
▸ removeRegion(name): GaugeLayout
Deletes a region from the layout. Only custom added regions can be removed.
| Name | Type | Description |
|---|---|---|
name | string | Name of the region |
▸ setCustomRegionParams(name, params): GaugeLayout
Changes parameters of custom regions
| Name | Type | Description |
|---|---|---|
name | string | Name of the custom region |
params | Region | JSON with CSS properties |
▸ updateCssRegions(): void
Parser region CSS parameters and updates regions accordingly
void
▸ Static getClassName(): string
string