Class: FeatureListerView

FeatureLister FeatureListerView

FeatureListerView

Extends

Methods

deselectGFIHit(){void}

modules/featureLister/view.js, line 66
When the model receives the closing of a gfi, the corresponding elements in the table must be un-highlighted

hoverTr(evt){void}

modules/featureLister/view.js, line 235
Shows marker on of a feature in the table
Name Type Description
evt Event Event, which feature has been hovered

moreFeatures(evt){void}

modules/featureLister/view.js, line 128
Finds the number of currently displayed features, increases it and reads these features. Shows the features.
Name Type Description
evt Event Event, which table header has been clicked

newTheme(evt){void}

modules/featureLister/view.js, line 246
When clicking on a layer, this layer is highlighted and the layerid is set
Name Type Description
evt Event Event, which layer has been clicked

orderList(evt){void}

modules/featureLister/view.js, line 94
Finds the span-element of the column which was clicked. Reads the currently viewed features and sorts them. Empties the currently unsorted table and overwrites it with the freshly sorted features.
Name Type Description
evt Event Event, which table header has been clicked

readFeatures(from, to, dropTableFirst){void}

modules/featureLister/view.js, line 298
Reads the features from - to of the layer and empties current table, if requested
Name Type Description
from Number start feature id for filtering
to Number end feature id for filtering
dropTableFirst Boolean decide wheather to empty the table first

render(model, value){FeatureListerView}

modules/featureLister/view.js, line 381
Renders the feature lister
Name Type Description
model Object todo
value String todo
Returns:
this

selectGFIHit(evt){void}

modules/featureLister/view.js, line 76
When the model receives the opening of a gfi, the corresponding elements in the table must be searched and highlighted
Name Type Description
evt Event Event, which gfi has been openend in the model

selectTr(evt){void}

modules/featureLister/view.js, line 225
Sets featureId when clicked on a feature in the table
Name Type Description
evt Event Event, which feature has been clicked

setMaxHeight(){void}

modules/featureLister/view.js, line 413
Set the maximal height which may be used by the feature lister table

showFeatureProps(){void}

modules/featureLister/view.js, line 139
When changing the featureProps, change to details tab and show the detail information of the feature (like in gfi)

switchTabToDetails(evt){void}

modules/featureLister/view.js, line 203
Changes the tab to the tab 'details'
Name Type Description
evt Event Event, which tab has been clicked

switchTabToListe(evt){void}

modules/featureLister/view.js, line 161
Changes the tab to the tab 'list'
Name Type Description
evt Event Event, which tab has been clicked

switchTabToTheme(){void}

modules/featureLister/view.js, line 182
Changes the tab to the tab 'theme'

toggle(){void}

modules/featureLister/view.js, line 397
Toggles the feature lister

updateLayerHeader(){void}

modules/featureLister/view.js, line 358
Changes the titel of the table tab to the name of the layer

updateLayerList(){void}

modules/featureLister/view.js, line 259
When a new layer is selected, all features are scanned for possible keys. These are basis for new headlines 'thead'. Then the function for reading the features can be called

updateVisibleLayer(){void}

modules/featureLister/view.js, line 367
Creates a list of selectable layers

writeFeaturesToTable(features){void}

modules/featureLister/view.js, line 315
Writes given features to 'tbody' and displays 'more'-button if necessary
Name Type Description
features Array array of features to display in the table