org.opengts.servers.tk10x
Enum TrackClientPacketHandler.TKDeviceType
java.lang.Object
java.lang.Enum<TrackClientPacketHandler.TKDeviceType>
org.opengts.servers.tk10x.TrackClientPacketHandler.TKDeviceType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TrackClientPacketHandler.TKDeviceType>
- Enclosing class:
- TrackClientPacketHandler
public static enum TrackClientPacketHandler.TKDeviceType
- extends java.lang.Enum<TrackClientPacketHandler.TKDeviceType>
Enumerated type: TK device type
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final TrackClientPacketHandler.TKDeviceType UNKNOWN
TK102
public static final TrackClientPacketHandler.TKDeviceType TK102
TK102_2
public static final TrackClientPacketHandler.TKDeviceType TK102_2
TK102B
public static final TrackClientPacketHandler.TKDeviceType TK102B
TK103_1
public static final TrackClientPacketHandler.TKDeviceType TK103_1
TK103_2
public static final TrackClientPacketHandler.TKDeviceType TK103_2
TK103_3
public static final TrackClientPacketHandler.TKDeviceType TK103_3
TKnano_1
public static final TrackClientPacketHandler.TKDeviceType TKnano_1
TKnano_2
public static final TrackClientPacketHandler.TKDeviceType TKnano_2
VJOY
public static final TrackClientPacketHandler.TKDeviceType VJOY
values
public static TrackClientPacketHandler.TKDeviceType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TrackClientPacketHandler.TKDeviceType c : TrackClientPacketHandler.TKDeviceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TrackClientPacketHandler.TKDeviceType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<TrackClientPacketHandler.TKDeviceType>
isUnknown
public boolean isUnknown()
isTK102
public boolean isTK102()
isTKnano
public boolean isTKnano()