public final class FirstWindow extends java.lang.Object implements java.lang.Comparable<FirstWindow>
Modifier and Type | Field and Description |
---|---|
static FirstWindow |
help
Bring up a display listing the legal values for first windows.
|
static FirstWindow |
map
Bring up the default map (original behavior of YAAC).
|
static FirstWindow |
stationlist
Bring up the stations/object list.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone()
Throws CloneNotSupportedException.
|
int |
compareTo(FirstWindow o)
Compares this enum with the specified object for order.
|
boolean |
equals(java.lang.Object other)
Returns true if the specified object is equal to this
enum constant.
|
java.lang.String |
getClassTag()
Get a resource name that will translate to a fully qualified class name for this particular first UI window choice.
|
java.lang.Class<? extends FirstWindow> |
getDeclaringClass()
Returns the Class object corresponding to this enum constant's
enum type.
|
int |
hashCode()
Returns a hash code for this enum constant.
|
java.lang.String |
name()
Returns the name of this pseudo-enum constant, exactly as declared in its
enum declaration.
|
int |
ordinal()
Returns the ordinal of this enumeration constant (its position
in its enum declaration, where the initial constant is assigned
an ordinal of zero).
|
static void |
registerNewFirstWindowType(java.lang.String name,
java.lang.String classTag)
Add a new type of FirstWindow.
|
java.lang.String |
toString()
Returns the name of this enum constant, as contained in the
declaration.
|
static FirstWindow |
valueOf(java.lang.String name)
Returns the enum constant of the specified enum type with the
specified name.
|
static FirstWindow[] |
values()
Get all the allowable values of the FirstWindow pseudo-enum.
|
public static final FirstWindow help
public static final FirstWindow map
public static final FirstWindow stationlist
public final java.lang.String name()
toString()
method in
preference to this one, as the toString method may return
a more user-friendly name. This method is designed primarily for
use in specialized situations where correctness depends on getting the
exact name, which will not vary from release to release.public final int ordinal()
EnumSet
and EnumMap
.public java.lang.String getClassTag()
public java.lang.String toString()
toString
in class java.lang.Object
public final boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the object to be compared for equality with this object.public final int hashCode()
hashCode
in class java.lang.Object
protected final java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public final int compareTo(FirstWindow o)
compareTo
in interface java.lang.Comparable<FirstWindow>
public final java.lang.Class<? extends FirstWindow> getDeclaringClass()
Object.getClass()
method for enum constants with
constant-specific class bodies.)public static FirstWindow valueOf(java.lang.String name)
name
- the name of the constant to returnjava.lang.IllegalArgumentException
- if the specified enum type has
no constant with the specified name, or the specified
class object does not represent an enum typejava.lang.NullPointerException
- if enumType
or name
is nullpublic static void registerNewFirstWindowType(java.lang.String name, java.lang.String classTag) throws java.lang.IllegalArgumentException
name
- String name of the new typeclassTag
- String name of property listing the corresponding class namejava.lang.IllegalArgumentException
- if type name already registeredpublic static FirstWindow[] values()