Class: _LayersPane

MLJ.gui.widget. _LayersPane

Create a new Layers Pane widget

Constructor

(private) new _LayersPane()

Author:
  • Stefano Gabriele
Source:

Extends

Methods

_make()

Overrides:
Author:
  • Stefano Gabriele
Source:

(abstract) _refresh()

The function called to refresh the widget

Inherited From:
Source:

addLayerHandler(name)

Adds a new layer

Parameters:
Name Type Description
name String

The name of the layer

Author:
  • Stefano Gabriele
Source:

getSelectedName() → {String}

Returns the name of the selected layer

Author:
  • Stefano Gabriele
Source:
Returns:

The name of the selected layer

Type
String

removeLayer(name)

Removes a layer

Parameters:
Name Type Description
name String

The name of the layer to be removed

Author:
  • Stefano Gabriele
Source: