Skip to contents

Exclude class

Exclude class

Details

Definition for the Exclude class.

See also

Public fields

id

character value.

name

character value.

variable

Variable object.

pane

character name.

mandatory

logical value.

visible

logical value.

invisible

numeric date/time value.

loaded

logical value.

hidden

logical value.

downloadable

logical value.

status

logical value.

overlap

character vector.

Methods


Method new()

Create a new Exclude object.

Usage

Exclude$new(
  id,
  name,
  variable,
  pane,
  mandatory,
  visible,
  invisible,
  loaded,
  hidden,
  downloadable,
  status,
  overlap
)

Arguments

id

character value.

name

character value.

variable

Variable object.

pane

character value.

mandatory

logical value.

visible

logical value.

invisible

numeric date/time value.

loaded

logical value.

hidden

logical value.

downloadable

logical value.

status

logical value.

overlap

character vector.

Returns

A new Exclude object.


Method print()

Print the object.

Usage

Exclude$print(...)

Arguments

...

not used.


Method repr()

Generate a character summarizing the representation of the object.

Usage

Exclude$repr(start = "[", end = "]")

Arguments

start

character symbol used to start the setting list. Defaults to "[".

end

character symbol used to start the setting list. Defaults to "]".

Returns

character value.


Method get_layer_name()

Get layer names.

Usage

Exclude$get_layer_name()

Returns

character vector.


Method get_layer_index()

Get layer index values.

Usage

Exclude$get_layer_index()

Returns

character vector.


Method get_layer_pane()

Get layer pane class.

Usage

Exclude$get_layer_pane()

Returns

character vector.


Method get_id()

Get exclude identifier.

Usage

Exclude$get_id()

Returns

character vector.


Method get_visible()

Get visible.

Usage

Exclude$get_visible()

Returns

logical value.


Method get_invisible()

Get invisible.

Usage

Exclude$get_invisible()

Returns

numeric date/time value.


Method get_loaded()

Get loaded.

Usage

Exclude$get_loaded()

Returns

logical value.


Method get_hidden()

Get hidden.

Usage

Exclude$get_hidden()

Returns

logical value.


Method get_downloadable()

Get downloadable.

Usage

Exclude$get_downloadable()

Returns

logical value.


Method get_status()

Get status.

Usage

Exclude$get_status()

Returns

logical value.


Method get_overlap()

Get overlap.

Usage

Exclude$get_overlap()

Returns

character vector.


Method get_data()

Get the data.

Usage

Exclude$get_data()

Returns

sf::st_as_sf() or terra::rast() object.


Method set_new_pane()

Set new pane.

Usage

Exclude$set_new_pane(id, index)

Arguments

id

character unique identifier.

index

character variable index.

Returns

character value.


Method get_setting()

Get setting.

Usage

Exclude$get_setting(name)

Arguments

name

character setting name. Available options are "status" or "visible".

Returns

Value.


Method set_visible()

Set visible.

Usage

Exclude$set_visible(value)

Arguments

value

logical new value.


Method set_invisible()

Set invisible.

Usage

Exclude$set_invisible(value)

Arguments

value

numeric date/time value.


Method set_loaded()

Set loaded.

Usage

Exclude$set_loaded(value)

Arguments

value

logical new value.


Method set_status()

Set status.

Usage

Exclude$set_status(value)

Arguments

value

logical new value.


Method set_setting()

Set setting.

Usage

Exclude$set_setting(name, value)

Arguments

name

character setting name. Available options are "status" or `"visible"“.

value

ANY new value.


Method get_solution_settings_widget_data()

Get data for displaying the exclude in a solutionSettings() widget.

Usage

Exclude$get_solution_settings_widget_data()

Returns

list with widget data.


Method get_map_manager_widget_data()

Get data for displaying the exclude in a mapManager() widget.

Usage

Exclude$get_map_manager_widget_data()

Returns

list with widget data.


Method export()

Export settings.

Usage

Exclude$export()

Returns

list object.


Method render_on_map()

Render on map.

Usage

Exclude$render_on_map(x, zindex)

Arguments

x

leaflet::leaflet() object.

zindex

numeric z-index for ordering.

Returns

leaflet::leaflet() object.


Method update_on_map()

Render on map.

Usage

Exclude$update_on_map(x, zindex)

Arguments

x

leaflet::leafletProxy() object.

zindex

numeric z-index for ordering.

Returns

leaflet::leafletProxy() object.


Method clone()

The objects of this class are cloneable with this method.

Usage

Exclude$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.