Skip to main content

MapDomainDimension

geovisto-map • Readme | API


geovisto-map / MapDomainDimension

Class: MapDomainDimension\<T>

The class wraps a map domain dimension and its properties.

Author​

Jiri Hynek

Extends​

Type parameters​

• T extends IMapDomain

Implements​

Constructors​

new MapDomainDimension()​

new MapDomainDimension\<T>(name, domainManager, dataDomain?): MapDomainDimension\<T>

It creates a new map dimension.

Parameters​

• name: string

• domainManager: IMapDomainManager\<T>

• dataDomain?: T

Returns​

MapDomainDimension\<T>

Overrides​

AbstractMapDimension.constructor

Source​

model/internal/dimension/MapDomainDimension.ts:22

Properties​

domainManager​

private domainManager: IMapDomainManager\<T>

Source​

model/internal/dimension/MapDomainDimension.ts:13

Methods​

findValue()​

findValue(domainName): undefined | T

It finds the value of given string.

Parameters​

• domainName: string

Returns​

undefined | T

Implementation of​

IMapDomainDimension.findValue

Overrides​

AbstractMapDimension.findValue

Source​

model/internal/dimension/MapDomainDimension.ts:48


getDomainManager()​

getDomainManager(): IMapDomainManager\<T>

It returns the map domain manager which is set to the map dimension.

Returns​

IMapDomainManager\<T>

Implementation of​

IMapDomainDimension.getDomainManager

Source​

model/internal/dimension/MapDomainDimension.ts:30


getName()​

getName(): string

It returns the name of the dimension

Returns​

string

Implementation of​

IMapDomainDimension.getName

Inherited from​

AbstractMapDimension.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​

IMapDomainDimension.getValue

Inherited from​

AbstractMapDimension.getValue

Source​

model/internal/dimension/AbstractMapDimension.ts:44


setDomainManager()​

setDomainManager(domainManager): void

It sets a map domain manager which is set to the map dimension.

Parameters​

• domainManager: IMapDomainManager\<T>

Returns​

void

Implementation of​

IMapDomainDimension.setDomainManager

Source​

model/internal/dimension/MapDomainDimension.ts:39


setName()​

setName(name): void

It sets the name of the dimension

Parameters​

• name: string

Returns​

void

Implementation of​

IMapDomainDimension.setName

Inherited from​

AbstractMapDimension.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​

IMapDomainDimension.setStringValue

Inherited from​

AbstractMapDimension.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​

IMapDomainDimension.setValue

Inherited from​

AbstractMapDimension.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​

AbstractMapDimension.toString

Source​

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