Last updated

API / geotoolkit / gauges / defaults / VerticalTraffic / VerticalTraffic

Class: VerticalTraffic

defaults.VerticalTraffic.VerticalTraffic

Implements a vertical traffic gauge with three lights, green, yellow, and red. When a light is not active, it is light grey.

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new VerticalTraffic()

new VerticalTraffic()

Overrides

AbstractFactory.constructor

Methods

createGauge

createGauge(params): TrafficGauge

Returns a gauge ready for use

Parameters

Name Type Description
paramsPartial<Options>JSON with overriding properties

Returns

TrafficGauge

Gauge with applied default and overridden properties

Overrides

AbstractFactory.createGauge


getClassName

getClassName(): string

Returns

string

Inherited from

AbstractFactory.getClassName


getGaugeProperties

getGaugeProperties(): Options

Returns properties pertaining to the gauge implemented by this factory. This function is called by CreateGauge() method in this class and is mainly for internal use.

Returns

Options

Overrides

AbstractFactory.getGaugeProperties


getGaugeType

getGaugeType(): string

Gets the type of the gauge which this factory implements

Returns

string

Inherited from

AbstractFactory.getGaugeType


getName

getName(): string

Gets the name of this implementation

Returns

string

Inherited from

AbstractFactory.getName


getClassName

Static getClassName(): string

Returns

string

Inherited from

AbstractFactory.getClassName