scala.Enumeration

class Val

[source: scala/Enumeration.scala]

@serializable

@SerialVersionUID(0.-(3501153230598116017L))

protected class Val(i : Int, name : java.lang.String)
extends Value
A class implementing the Value type. This class can be overriden to change the enumeration's naming and integer identification behaviour.
Direct Known Subclasses:
ScrollPane.BarPolicy.Value

Additional Constructor Summary
def this : Val
def this (name : java.lang.String) : Val
def this (i : Int) : Val
Method Summary
def id : Int
the id and bit location of this enumeration value
override def toString : java.lang.String
Returns a string representation of the object.
Methods inherited from Value
compare, equals, hashCode, mask32, mask64
Methods inherited from Ordered
<, >, <=, >=, compareTo
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Additional Constructor Details
def this(i : Int) : Val

def this(name : java.lang.String) : Val

def this : Val

Method Details
def id : Int
the id and bit location of this enumeration value
Overrides
Value.id

override def toString : java.lang.String
Returns a string representation of the object.

The default representation is platform dependent.

Returns
a string representation of the object.