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
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- MultiChoiceEnumeration
- Enumeration
- Serializable
- Serializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new MultiChoiceEnumeration()
Type Members
- case class Choice (name: String, help: String = "", expandsTo: List[Choice] = Nil) extends Val with Product with Serializable
-
class
Val extends Value with Serializable
- Attributes
- protected
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
-
abstract
class
Value extends Ordered[Value] with Serializable
- Definition Classes
- Enumeration
- Annotations
- @SerialVersionUID()
-
class
ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable
- Definition Classes
- Enumeration
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
Value(i: Int, name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
-
final
def
Value(name: String): Value
- Attributes
- protected
- Definition Classes
- Enumeration
-
final
def
Value(i: Int): Value
- Attributes
- protected
- Definition Classes
- Enumeration
-
final
def
Value: Value
- Attributes
- protected
- Definition Classes
- Enumeration
-
final
def
apply(x: Int): Value
- Definition Classes
- Enumeration
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
-
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
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
maxId: Int
- Definition Classes
- Enumeration
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
var
nextId: Int
- Attributes
- protected
- Definition Classes
- Enumeration
-
var
nextName: Iterator[String]
- Attributes
- protected
- Definition Classes
- Enumeration
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
readResolve(): AnyRef
- Attributes
- protected
- Definition Classes
- Enumeration
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Enumeration → AnyRef → Any
-
def
values: ValueSet
- Definition Classes
- Enumeration
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
withName(s: String): Value
- Definition Classes
- Enumeration
-
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
-
object
ValueSet extends Serializable
- Definition Classes
- Enumeration
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: