DrawingLayerToolTabState
geovisto-map / DrawingLayerToolTabState
Class: DrawingLayerToolTabState
This class manages the state of the sidebar tab. It wraps the state since the sidebar tab can work with state objects which needs to be explicitly serialized.
Author
Andrej Tlcina
Implements
TabState
Constructors
new DrawingLayerToolTabState()
new DrawingLayerToolTabState(
tabControl
):DrawingLayerToolTabState
It creates a tab control state.
Parameters
• tabControl: DrawingForm
Returns
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:30
Properties
controls
controls:
Controls
Implementation of
TabState.controls
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:26
enabledTool
enabledTool:
null
|TAbstractTool
Implementation of
TabState.enabledTool
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:24
guideLayers
guideLayers:
any
[]
Implementation of
TabState.guideLayers
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:25
tabControl
tabControl:
DrawingForm
Implementation of
TabState.tabControl
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:23
Methods
appendToIconSrcs()
appendToIconSrcs(
iconUrl
):void
method if defined for easier access through tabControlState class/object
Parameters
• iconUrl: string
Returns
void
Implementation of
TabState.appendToIconSrcs
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:96
callIdentifierChange()
callIdentifierChange(
haveToCheckFilters
):void
method if defined for easier access through tabControlState class/object
Parameters
• haveToCheckFilters: boolean
= false
Returns
void
Implementation of
TabState.callIdentifierChange
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:88
getEnabledTool()
getEnabledTool():
null
|TAbstractTool
getter
Returns
null
| TAbstractTool
Implementation of
TabState.getEnabledTool
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:126
getIntersectActivated()
getIntersectActivated():
boolean
method for easier access through tabControlState class/object
Returns
boolean
Implementation of
TabState.getIntersectActivated
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:104
getSelectedColor()
getSelectedColor():
string
method if defined for easier access through tabControlState class/object
Returns
string
Implementation of
TabState.getSelectedColor
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:60
getSelectedIcon()
getSelectedIcon():
string
method if defined for easier access through tabControlState class/object
Returns
string
Implementation of
TabState.getSelectedIcon
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:76
getSelectedStroke()
getSelectedStroke():
number
method if defined for easier access through tabControlState class/object
Returns
number
Implementation of
TabState.getSelectedStroke
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:68
initializeControls()
initializeControls():
void
method initializes controls for objects manipulation
Returns
void
Implementation of
TabState.initializeControls
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:42
pushGuideLayer()
pushGuideLayer(
layer
):void
adds guide layer for snapping
Parameters
• layer: any
Returns
void
Implementation of
TabState.pushGuideLayer
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:111
setEnabledTool()
setEnabledTool(
val
):void
setter for enabledTool variable
Parameters
• val: null
| TAbstractTool
Returns
void
Implementation of
TabState.setEnabledTool
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:118
setSelectedIcon()
setSelectedIcon(
icon
):void
Parameters
• icon: string
Returns
void
Implementation of
TabState.setSelectedIcon
Source
tools/layers/drawing/sidebar/DrawingLayerToolMapFormState.ts:81