MapTypeDimension
geovisto-map / MapTypeDimension
Class: MapTypeDimension\<T, C>
The class wraps a map type dimension and its properties.
Author
Jiri Hynek
Extends
Type parameters
• T
• C extends ITypeManager\<T> = ITypeManager\<T>
Implements
IMapTypeDimension\<T,C>
Constructors
new MapTypeDimension()
new MapTypeDimension\<
T,C>(name,typeManager,value?):MapTypeDimension\<T,C>
It creates a new map dimension.
Parameters
• name: string
• typeManager: C
• value?: T
Returns
MapTypeDimension\<T, C>
Overrides
AbstractMapDimension.constructor
Source
model/internal/dimension/MapTypeDimension.ts:21
Properties
typeManager
privatetypeManager:C
Source
model/internal/dimension/MapTypeDimension.ts:12
Methods
findValue()
findValue(
value):undefined|T
It finds the value of given string.
Parameters
• value: string
Returns
undefined | T
Implementation of
Overrides
AbstractMapDimension.findValue
Source
model/internal/dimension/MapTypeDimension.ts:47
getName()
getName():
string
It returns the name of the dimension
Returns
string
Implementation of
Inherited from
Source
model/internal/dimension/AbstractMapDimension.ts:30
getTypeManager()
getTypeManager():
C
It returns the type constraint.
Returns
C
Implementation of
IMapTypeDimension.getTypeManager
Source
model/internal/dimension/MapTypeDimension.ts:29
getValue()
getValue():
undefined|T
It returns the value which is set to the map dimension.
Returns
undefined | T
Implementation of
Inherited from
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
Inherited from
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
IMapTypeDimension.setStringValue
Inherited from
AbstractMapDimension.setStringValue
Source
model/internal/dimension/AbstractMapDimension.ts:69
setTypeManager()
setTypeManager(
typeManager):void
It sets a type constraint.
Parameters
• typeManager: C
Returns
void
Implementation of
IMapTypeDimension.setTypeManager
Source
model/internal/dimension/MapTypeDimension.ts:38
setValue()
setValue(
value):void
It sets a new value to the map dimension.
Parameters
• value: undefined | T
Returns
void
Implementation of
Inherited from
Source
model/internal/dimension/AbstractMapDimension.ts:53
toString()
toString():
string
The string representation is equal to the name of the map domain.
Returns
string