Packages

c

scala.tools.nsc.settings.MutableSettings

MultiChoiceEnumeration

abstract class MultiChoiceEnumeration extends Enumeration

Each MultiChoiceSetting takes a MultiChoiceEnumeration as domain. The enumeration may use the Choice class to define values, or simply use the default Value constructor:

object SettingDomain extends MultiChoiceEnumeration { val arg1, arg2 = Value }

Or

object SettingDomain extends MultiChoiceEnumeration { val arg1 = Choice("arg1", "help") val arg2 = Choice("arg2", "help") }

Choices with a non-empty expandsTo enable other options. Note that expanding choices are not present in the multiChoiceSetting.value set, only their expansion.

Source
MutableSettings.scala
Linear Supertypes
Enumeration, Serializable, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiChoiceEnumeration
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiChoiceEnumeration()

Type Members

  1. case class Choice(name: String, help: String = "", expandsTo: List[Choice] = Nil) extends Val with Product with Serializable
  2. class Val extends Value with Serializable
    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  3. abstract class Value extends Ordered[Value] with Serializable
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  4. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable
    Definition Classes
    Enumeration

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from MultiChoiceEnumeration to any2stringadd[MultiChoiceEnumeration] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MultiChoiceEnumeration, B)
    Implicit
    This member is added by an implicit conversion from MultiChoiceEnumeration to ArrowAssoc[MultiChoiceEnumeration] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def Value(i: Int, name: String): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  7. final def Value(name: String): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  8. final def Value(i: Int): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  9. final def Value: Value
    Attributes
    protected
    Definition Classes
    Enumeration
  10. final def apply(x: Int): Value
    Definition Classes
    Enumeration
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. def ensuring(cond: (MultiChoiceEnumeration) ⇒ Boolean, msg: ⇒ Any): MultiChoiceEnumeration
    Implicit
    This member is added by an implicit conversion from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (MultiChoiceEnumeration) ⇒ Boolean): MultiChoiceEnumeration
    Implicit
    This member is added by an implicit conversion from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): MultiChoiceEnumeration
    Implicit
    This member is added by an implicit conversion from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): MultiChoiceEnumeration
    Implicit
    This member is added by an implicit conversion from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def maxId: Int
    Definition Classes
    Enumeration
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. var nextId: Int
    Attributes
    protected
    Definition Classes
    Enumeration
  26. var nextName: Iterator[String]
    Attributes
    protected
    Definition Classes
    Enumeration
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def readResolve(): AnyRef
    Attributes
    protected
    Definition Classes
    Enumeration
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    Enumeration → AnyRef → Any
  32. def values: ValueSet
    Definition Classes
    Enumeration
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. final def withName(s: String): Value
    Definition Classes
    Enumeration
  37. def [B](y: B): (MultiChoiceEnumeration, B)
    Implicit
    This member is added by an implicit conversion from MultiChoiceEnumeration to ArrowAssoc[MultiChoiceEnumeration] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
  38. object ValueSet extends Serializable
    Definition Classes
    Enumeration

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from MultiChoiceEnumeration to StringFormat[MultiChoiceEnumeration] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from Enumeration

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MultiChoiceEnumeration to any2stringadd[MultiChoiceEnumeration]

Inherited by implicit conversion StringFormat from MultiChoiceEnumeration to StringFormat[MultiChoiceEnumeration]

Inherited by implicit conversion Ensuring from MultiChoiceEnumeration to Ensuring[MultiChoiceEnumeration]

Inherited by implicit conversion ArrowAssoc from MultiChoiceEnumeration to ArrowAssoc[MultiChoiceEnumeration]

Ungrouped