Skip to main content

MapLayerToolForm

geovisto-mapReadme | API


geovisto-map / MapLayerToolForm

Class: abstract MapLayerToolForm\<T>

The interface declares functions for management of form inputs.

Author

Jiri Hynek

Extends

Type parameters

T extends ILayerTool

Constructors

new MapLayerToolForm()

new MapLayerToolForm\<T>(layerTool): MapLayerToolForm\<T>

Parameters

layerTool: T

Returns

MapLayerToolForm\<T>

Overrides

MapObjectForm.constructor

Source

model/internal/form/MapLayerToolForm.ts:22

Methods

getAutocompleteInput()

protected getAutocompleteInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal autocomplete input for the any map domain dimension.

Parameters

dimension: IMapDomainDimension\<IMapDomain>

formAction?

Returns

IMapFormInput

Source

model/internal/form/MapLayerToolForm.ts:43


getCheckboxInput()

protected getCheckboxInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal checkbox input for the any map boolean dimension.

Parameters

dimension: IMapTypeDimension\<boolean, ITypeManager\<boolean>>

formAction?

Returns

IMapFormInput

Source

model/internal/form/MapLayerToolForm.ts:78


getColorInput()

protected getColorInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal color input for the any map string dimension.

Parameters

dimension: IMapTypeDimension\<string, ITypeManager\<string>>

formAction?

Returns

IMapFormInput

Source

model/internal/form/MapLayerToolForm.ts:96


getContent()

abstract getContent(): HTMLDivElement

It returns a HTML div element conatining the form.

Returns

HTMLDivElement

Overrides

MapObjectForm.getContent

Source

model/internal/form/MapLayerToolForm.ts:29


getMapObject()

protected getMapObject(): T

Returns

T

Inherited from

MapObjectForm.getMapObject

Source

model/internal/form/MapObjectForm.ts:16


getNumberInput()

protected getNumberInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal number input for the any map number dimension.

Parameters

dimension: IMapTypeDimension\<number, ITypeManager\<number>>

formAction?

Returns

IMapFormInput

Source

model/internal/form/MapLayerToolForm.ts:133


getSliderInput()

protected getSliderInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal slider input for the any map range integer dimension.

Parameters

dimension: IMapTypeDimension\<number, IIntegerRangeManager>

formAction?

Returns

IMapFormInput

Source

model/internal/form/MapLayerToolForm.ts:113


getTextInput()

protected getTextInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal text input for the any map domain dimension.

Parameters

dimension: IMapTypeDimension\<string, ITypeManager\<string>>

formAction?

Returns

IMapFormInput

Source

model/internal/form/MapLayerToolForm.ts:61


setInputValues()

abstract setInputValues(dimensions): void

It updates selected input values according to the given dimensions.

Parameters

dimensions: ILayerToolDimensions

Returns

void

Source

model/internal/form/MapLayerToolForm.ts:36