FiltersToolMapForm
geovisto-map / FiltersToolMapForm
Class: FiltersToolMapForm
This class provides controls for management of filters map form inputs.
Author
Jiri Hynek
Extends
Implements
Constructors
new FiltersToolMapForm()
new FiltersToolMapForm(
tool
):FiltersToolMapForm
It creates new map form with respect to the given props.
Parameters
• tool: IFiltersTool
\<IFiltersToolProps
, IFiltersToolDefaults
, IFiltersToolState
\<IFiltersToolProps
, IFiltersToolDefaults
, IFiltersToolConfig
>, IFiltersToolConfig
, IMapToolInitProps
\<IFiltersToolConfig
>>
Returns
Overrides
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:45
Properties
btnGroup
private
btnGroup:null
|HTMLDivElement
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:37
htmlContent
private
htmlContent:HTMLDivElement
TODO: exclude class variables to the defaults and state.
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:36
inputs
private
inputs:InputItem
[]
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:38
Methods
addSelectItem()
protected
addSelectItem():null
|InputItem
Help static function which adds new select item to the filter map form.
Returns
null
| InputItem
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:109
dimensionInputChangedAction()
protected
dimensionInputChangedAction():void
It updates input values according to the selection.
Returns
void
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:246
getContent()
getContent():
HTMLDivElement
It returns a HTML div element conatining the form.
Returns
HTMLDivElement
Implementation of
Overrides
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:79
getDataManager()
protected
getDataManager():undefined
|IMapDataManager
A help function which returns data manager
Returns
undefined
| IMapDataManager
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:55
getFilterManager()
protected
getFilterManager():IMapFilterManager
A help function which returns data manager
Returns
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:62
getFilterRuleElementClass()
protected
getFilterRuleElementClass(objectType
):string
A help function which returns the element class.
Parameters
• objectType: undefined
| string
Returns
string
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:69
getFilterRules()
protected
getFilterRules():IMapFilterRule
[]
It returns selected values from input fields and constructs filter rules.
Returns
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:253
getMapObject()
protected
getMapObject():IFiltersTool
\<IFiltersToolProps
,IFiltersToolDefaults
,IFiltersToolState
\<IFiltersToolProps
,IFiltersToolDefaults
,IFiltersToolConfig
>,IFiltersToolConfig
,IMapToolInitProps
\<IFiltersToolConfig
>>
Returns
IFiltersTool
\<IFiltersToolProps
, IFiltersToolDefaults
, IFiltersToolState
\<IFiltersToolProps
, IFiltersToolDefaults
, IFiltersToolConfig
>, IFiltersToolConfig
, IMapToolInitProps
\<IFiltersToolConfig
>>
Inherited from
Source
model/internal/form/MapObjectForm.ts:16
inputChangedAction()
protected
inputChangedAction():void
It updates rules according to the input values.
Returns
void
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:239
removeSelectItem()
protected
removeSelectItem(e
):void
Help function which removes item from the filter map form.
Parameters
• e: MouseEvent
Returns
void
Source
tools/filters/model/internal/form/FiltersToolMapForm.ts:220
setFilterRules()
protected
setFilterRules(filterRules
):void
It updates input fileds according to the given filter rules.
Parameters
• filterRules: IMapFilterRule
[]
Returns
void