Skip to content

API / geotoolkit / gauges / layout / VerticalSplitLayout / VerticalSplitLayout

Class: VerticalSplitLayout

layout.VerticalSplitLayout.VerticalSplitLayout

Defines layout for circular gauges

Hierarchy

Table of contents

Constructors
  • [new VerticalSplitLayout(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.gauges.layout-1.verticalsplitlayout.verticalsplitlayout.md#new verticalsplitlayout(options))
Methods

Contents

Constructors

new VerticalSplitLayout(options)

• new VerticalSplitLayout(options?)

Parameters

Name Type
Optional optionsOptions

Overrides

GaugeLayout.constructor

Methods

getClassName

▸ getClassName(): string

Returns

string

Inherited from

GaugeLayout.getClassName


getCustomComponent

▸ getCustomComponent(name): Node

Returns a custom component which was registered by provided name

Parameters

Name Type Description
namestringName of component to return

Returns

Node

Inherited from

GaugeLayout.getCustomComponent


isCustomRegion

▸ isCustomRegion(name): boolean

Checks if the region with this name is a custom region

Parameters

Name Type Description
namestringName of the region to test

Returns

boolean

Inherited from

GaugeLayout.isCustomRegion


removeRegion

▸ removeRegion(name): VerticalSplitLayout

Deletes a region from the layout. Only custom added regions can be removed.

Parameters

Name Type Description
namestringName of the region

Returns

VerticalSplitLayout

Inherited from

GaugeLayout.removeRegion


setCustomRegionParams

▸ setCustomRegionParams(name, params): VerticalSplitLayout

Changes parameters of custom regions

Parameters

Name Type Description
namestringName of the custom region
paramsRegionJSON with CSS properties

Returns

VerticalSplitLayout

Inherited from

GaugeLayout.setCustomRegionParams


updateCssRegions

▸ updateCssRegions(): void

Parser region CSS parameters and updates regions accordingly

Returns

void

Inherited from

GaugeLayout.updateCssRegions


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

GaugeLayout.getClassName