ConnectionLayerToolMapForm
geovisto-map / ConnectionLayerToolMapForm
Class: ConnectionLayerToolMapForm
This class provides controls for management of the layer sidebar tab.
Author
Jiri Hynek
Extends
Implements
Constructors
new ConnectionLayerToolMapForm()
new ConnectionLayerToolMapForm(
tool
):ConnectionLayerToolMapForm
It creates new map form with respect to the given props.
Parameters
• tool: IConnectionLayerTool
\<IConnectionLayerToolProps
, IConnectionLayerToolDefaults
, IConnectionLayerToolState
\<IConnectionLayerToolProps
, IConnectionLayerToolDefaults
, IConnectionLayerToolConfig
, object
, object
>, IConnectionLayerToolConfig
, IMapToolInitProps
\<IConnectionLayerToolConfig
>>
Returns
Overrides
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:35
Properties
htmlContent
private
htmlContent:HTMLDivElement
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:21
inputs?
private
optional
inputs:object
direction
direction:
IMapFormInput
from
from:
IMapFormInput
geoData
geoData:
IMapFormInput
to
to:
IMapFormInput
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:23
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
Inherited from
MapLayerToolForm
.getAutocompleteInput
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
Inherited from
MapLayerToolForm
.getCheckboxInput
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
Inherited from
MapLayerToolForm
.getColorInput
Source
model/internal/form/MapLayerToolForm.ts:96
getContent()
getContent():
HTMLDivElement
It returns the sidebar tab pane.
Returns
HTMLDivElement
Implementation of
Overrides
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:55
getInputDirection()
getInputDirection(
dimension
):IMapFormInput
It returns new input for the geo dimension.
Parameters
• dimension: IMapTypeDimension
\<boolean
, ITypeManager
\<boolean
>>
Returns
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:117
getInputFrom()
getInputFrom(
dimension
):IMapFormInput
It returns new input for the geo dimension.
Parameters
• dimension: IMapDomainDimension
\<IMapDataDomain
>
Returns
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:99
getInputGeoData()
getInputGeoData(
dimension
):IMapFormInput
It returns new input for the geo data dimension.
Parameters
• dimension: IMapDomainDimension
\<IGeoData
>
Returns
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:90
getInputTo()
getInputTo(
dimension
):IMapFormInput
It returns new input for the geo dimension.
Parameters
• dimension: IMapDomainDimension
\<IMapDataDomain
>
Returns
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:108
getMapObject()
protected
getMapObject():IConnectionLayerTool
\<IConnectionLayerToolProps
,IConnectionLayerToolDefaults
,IConnectionLayerToolState
\<IConnectionLayerToolProps
,IConnectionLayerToolDefaults
,IConnectionLayerToolConfig
,object
,object
>,IConnectionLayerToolConfig
,IMapToolInitProps
\<IConnectionLayerToolConfig
>>
Returns
IConnectionLayerTool
\<IConnectionLayerToolProps
, IConnectionLayerToolDefaults
, IConnectionLayerToolState
\<IConnectionLayerToolProps
, IConnectionLayerToolDefaults
, IConnectionLayerToolConfig
, object
, object
>, IConnectionLayerToolConfig
, IMapToolInitProps
\<IConnectionLayerToolConfig
>>
Inherited from
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
Inherited from
MapLayerToolForm
.getNumberInput
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
Inherited from
MapLayerToolForm
.getSliderInput
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
Inherited from
Source
model/internal/form/MapLayerToolForm.ts:61
setInputValues()
setInputValues(
dimensions
):void
It updates selected input values according to the given dimensions.
Parameters
• dimensions
• dimensions.direction: IMapTypeDimension
\<boolean
, ITypeManager
\<boolean
>>
• dimensions.from: IMapDomainDimension
\<IMapDataDomain
>
• dimensions.geoData: IMapDomainDimension
\<IGeoData
>
• dimensions.to: IMapDomainDimension
\<IMapDataDomain
>
Returns
void
Overrides
MapLayerToolForm
.setInputValues
Source
tools/layers/connection/model/internal/form/ConnectionLayerToolMapForm.ts:44