UserStyleSetting.BooleanUserStyleSetting.BooleanOption

public final class UserStyleSetting.BooleanUserStyleSetting.BooleanOption extends UserStyleSetting.Option


Represents a true or false option in the BooleanUserStyleSetting.

Summary

Public fields

final @NonNull UserStyleSetting.Option.Id

Machine readable Id for the style setting.

final boolean

The boolean value this instance represents.

Public methods

@NonNull String

Inherited methods

From class UserStyleSetting.Option
boolean
int

Public fields

id

@NonNull
public final @NonNull UserStyleSetting.Option.Id id

Machine readable Id for the style setting. Identifier for the option (or the option itself for CustomValueUserStyleSetting.CustomValueOption), must be unique within the UserStyleSetting. Short ids are encouraged.

value

@NonNull
public final boolean value

The boolean value this instance represents.

Public methods

toString

@NonNull
public String toString()