GlobalSettings

scalismo.ui.settings.GlobalSettings$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Keys

Setting Keys used by the UI itself.

Setting Keys used by the UI itself.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Keys.type

Value members

Inherited methods

def get[A : Codec](key: String): Option[A]

Returns a single-valued setting, wrapped in an Option. Returns None if the key is not found, or an error occured.

Returns a single-valued setting, wrapped in an Option. Returns None if the key is not found, or an error occured.

If multiple values with this key are present, the first is returned.

Type parameters

A

type of the setting's value.

Value parameters

key

settings key

Attributes

Returns

the first value with the appropriate key, or None on error/not found.

Inherited from:
PersistentSettings
def getList[A : Codec](key: String): Option[List[A]]

Returns a multi-valued setting, wrapped in an Option.

Returns a multi-valued setting, wrapped in an Option.

Returns an empty list if the key is not found, None if an error occurred.

Type parameters

A

type of the setting's value

Value parameters

key

settings key

Attributes

Returns

all values for the key, or None on error.

Inherited from:
PersistentSettings
def set[A : Codec](key: String, value: A): Try[Unit]

Sets a single-valued setting.

Sets a single-valued setting.

All previous settings for the respective key are discarded and replaced by the new value.

Type parameters

A

type of the setting's value.

Value parameters

key

settings key

value

settings value

Attributes

Returns

Failure on error, Success otherwise

Inherited from:
PersistentSettings
def setList[A : Codec](key: String, values: List[A]): Try[Unit]

Sets a multi-valued setting.

Sets a multi-valued setting.

All previous settings for the respective key are discarded and replaced by the new values.

Type parameters

A

type of the setting's values.

Value parameters

key

settings key

values

settings values

Attributes

Returns

Failure on error, Success otherwise

Inherited from:
PersistentSettings

Inherited fields

Attributes

Inherited from:
PersistentSettings