class GChoiceKey extends Key[Choice]
A key for a choice item similar to an enumeration
- Alphabetic
- By Inheritance
- GChoiceKey
- Key
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->(value: Choice): Parameter[Choice]
Sets the values for the key This definition enables writing code like this:
Sets the values for the key This definition enables writing code like this:
val setup = sc( prefix, key1 -> value1 withUnits UnitsOfMeasure.Deg, key2 -> value2 // with default units )
- returns
a parameter containing the key name and one value (call withUnits() on the result to set the units)
- Definition Classes
- Key
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val choices: Choices
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
Equals this Key instance with other by the keyName
Equals this Key instance with other by the keyName
- that
the other Key instance that is to be equated against this Key instance
- returns
a Boolean indicating whether two Key instances are equal or not
- Definition Classes
- Key → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Key → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyName: String
- Definition Classes
- Key
- val keyType: KeyType[Choice]
- Definition Classes
- Key
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def set(value: Choice, values: Choice*): Parameter[Choice]
Sets the values for the key using a variable number of arguments
Sets the values for the key using a variable number of arguments
- values
one or more values
- returns
a parameter containing the key name, values
- Definition Classes
- GChoiceKey → Key
- def setAll(values: Array[Choice]): Parameter[Choice]
Set values against this key
Set values against this key
- values
an Array of values
- returns
an instance of Parameter[S] containing the key name, values (call withUnits() on the result to set the units)
- Definition Classes
- Key
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
Returns a string representation of Key as keyName
Returns a string representation of Key as keyName
- Definition Classes
- Key → AnyRef → Any
- val units: Units
- Definition Classes
- Key
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])