|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--OOP2002Example.types.LineType
Field Summary | |
private static java.util.Hashtable |
_memberTable
|
static OOP2002Example.types.LineType |
AVANTGARDE
The instance of the Avantgarde type |
static int |
AVANTGARDE_TYPE
The Avantgarde type |
static OOP2002Example.types.LineType |
CLASSIC
The instance of the Classic type |
static int |
CLASSIC_TYPE
The Classic type |
static OOP2002Example.types.LineType |
ELEGANCE
The instance of the Elegance type |
static int |
ELEGANCE_TYPE
The Elegance type |
private java.lang.String |
stringValue
|
private int |
type
|
Constructor Summary | |
private |
LineType(int type,
java.lang.String value)
|
Method Summary | |
static java.util.Enumeration |
enumerate()
Returns an enumeration of all possible instances of LineType |
int |
getType()
Returns the type of this LineType |
private static java.util.Hashtable |
init()
|
java.lang.String |
toString()
Returns the String representation of this LineType |
static OOP2002Example.types.LineType |
valueOf(java.lang.String string)
Returns a new LineType based on the given String value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int CLASSIC_TYPE
public static final OOP2002Example.types.LineType CLASSIC
public static final int ELEGANCE_TYPE
public static final OOP2002Example.types.LineType ELEGANCE
public static final int AVANTGARDE_TYPE
public static final OOP2002Example.types.LineType AVANTGARDE
private static java.util.Hashtable _memberTable
private int type
private java.lang.String stringValue
Constructor Detail |
private LineType(int type, java.lang.String value)
Method Detail |
public static java.util.Enumeration enumerate()
public int getType()
private static java.util.Hashtable init()
public java.lang.String toString()
toString
in class java.lang.Object
public static OOP2002Example.types.LineType valueOf(java.lang.String string)
string
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |