Skip to main content

AbstractMapDimension

geovisto-map • Readme | API


geovisto-map / AbstractMapDimension

Class: abstract AbstractMapDimension\<T>

The class wraps a map type dimension and its properties.

Author​

Jiri Hynek

Extends​

Type parameters​

• T

Implements​

Constructors​

new AbstractMapDimension()​

new AbstractMapDimension\<T>(name, value?): AbstractMapDimension\<T>

It creates a new map dimension.

Parameters​

• name: string

• value?: T

Returns​

AbstractMapDimension\<T>

Overrides​

AbstractMapDomain.constructor

Source​

model/internal/dimension/AbstractMapDimension.ts:21

Properties​

name​

private name: string

Source​

model/internal/dimension/AbstractMapDimension.ts:11


value?​

private optional value: T

Source​

model/internal/dimension/AbstractMapDimension.ts:12

Methods​

findValue()​

abstract findValue(value): undefined | T

It finds the value of given string.

Parameters​

• value: string

Returns​

undefined | T

Implementation of​

IMapDimension.findValue

Source​

model/internal/dimension/AbstractMapDimension.ts:62


getName()​

getName(): string

It returns the name of the dimension

Returns​

string

Implementation of​

IMapDimension.getName

Overrides​

AbstractMapDomain.getName

Source​

model/internal/dimension/AbstractMapDimension.ts:30


getValue()​

getValue(): undefined | T

It returns the value which is set to the map dimension.

Returns​

undefined | T

Implementation of​

IMapDimension.getValue

Source​

model/internal/dimension/AbstractMapDimension.ts:44


setName()​

setName(name): void

It sets the name of the dimension

Parameters​

• name: string

Returns​

void

Implementation of​

IMapDimension.setName

Source​

model/internal/dimension/AbstractMapDimension.ts:37


setStringValue()​

setStringValue(value): void

It deserializes the string representation of a given value.

Parameters​

• value: string

Returns​

void

Implementation of​

IMapDimension.setStringValue

Source​

model/internal/dimension/AbstractMapDimension.ts:69


setValue()​

setValue(value): void

It sets a new value to the map dimension.

Parameters​

• value: undefined | T

Returns​

void

Implementation of​

IMapDimension.setValue

Source​

model/internal/dimension/AbstractMapDimension.ts:53


toString()​

toString(): string

The string representation is equal to the name of the map domain.

Returns​

string

Inherited from​

AbstractMapDomain.toString

Source​

model/internal/domain/abstract/AbstractMapDomain.ts:18