UserStyleSetting.Option

public abstract class UserStyleSetting.Option


Represents a choice within a style setting which can either be an option from the list or a an arbitrary value depending on the nature of the style setting.

Summary

Public fields

final @NonNull UserStyleSetting.Option.Id

Machine readable Id for the style setting.

Public constructors

Public methods

boolean
equals(Object other)
int
@NonNull String

Public fields

id

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.

Public constructors

Option

public final Option(UserStyleSetting.Option.Id id)

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()