AbstractMapDimension
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
IMapDimension
\<T
>
Constructors
new AbstractMapDimension()
new AbstractMapDimension\<
T
>(name
,value
?):AbstractMapDimension
\<T
>
It creates a new map dimension.
Parameters
• name: string
• value?: T
Returns
Overrides
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
Source
model/internal/dimension/AbstractMapDimension.ts:62
getName()
getName():
string
It returns the name of the dimension
Returns
string
Implementation of
Overrides
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
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
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
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
Source
model/internal/dimension/AbstractMapDimension.ts:53
toString()
toString():
string
The string representation is equal to the name of the map domain.
Returns
string