UserStyleSetting.LongRangeUserStyleSetting.LongRangeOption

public final class UserStyleSetting.LongRangeUserStyleSetting.LongRangeOption extends UserStyleSetting.Option


Represents an option a Long in the range minimumValue .. maximumValue.

Summary

Public fields

final @NonNull UserStyleSetting.Option.Id

Machine readable Id for the style setting.

final long

Public constructors

LongRangeOption(long value)

Constructs a LongRangeOption.

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 long value

Public constructors

LongRangeOption

public final LongRangeOption(long value)

Constructs a LongRangeOption.

Parameters
long value

The value of this LongRangeOption

Public methods

toString

@NonNull
public String toString()