Last updated

API / geotoolkit / gauges / AbstractFactory / AbstractFactory

Class: AbstractFactory

gauges.AbstractFactory.AbstractFactory

Abstract class for gauge factories.

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new AbstractFactory(params)

Protected new AbstractFactory(params?)

Parameters

Name Type
Optional paramsOptions
Methods

createGauge

Abstract createGauge(params?): AbstractGauge

Returns a gauge ready for use

Parameters

Name Type Description
Optional paramsOptionsJSON with overriding properties

Returns

AbstractGauge

Gauge with applied default and overridden properties


getClassName

getClassName(): string

Returns

string


getGaugeProperties

Abstract getGaugeProperties(): Options

Returns properties pertaining to the gauge implemented by this factory

Returns

Options


getGaugeType

getGaugeType(): string

Gets the type of the gauge which this factory implements

Returns

string


getName

getName(): string

Gets the name of this implementation

Returns

string


getClassName

Static getClassName(): string

Returns

string