sdljava.x.swig
Enum SDLEventType
java.lang.Object
java.lang.Enum<SDLEventType>
sdljava.x.swig.SDLEventType
- All Implemented Interfaces:
- Serializable, Comparable<SDLEventType>
public enum SDLEventType
- extends Enum<SDLEventType>
ACTIVEEVENT
public static final SDLEventType ACTIVEEVENT
KEYDOWN
public static final SDLEventType KEYDOWN
KEYUP
public static final SDLEventType KEYUP
MOUSEMOTION
public static final SDLEventType MOUSEMOTION
MOUSEBUTTONDOWN
public static final SDLEventType MOUSEBUTTONDOWN
MOUSEBUTTONUP
public static final SDLEventType MOUSEBUTTONUP
JOYAXISMOTION
public static final SDLEventType JOYAXISMOTION
JOYBALLMOTION
public static final SDLEventType JOYBALLMOTION
JOYHATMOTION
public static final SDLEventType JOYHATMOTION
JOYBUTTONDOWN
public static final SDLEventType JOYBUTTONDOWN
JOYBUTTONUP
public static final SDLEventType JOYBUTTONUP
QUIT
public static final SDLEventType QUIT
SYSWMEVENT
public static final SDLEventType SYSWMEVENT
EVENT_RESERVEDA
public static final SDLEventType EVENT_RESERVEDA
EVENT_RESERVEDB
public static final SDLEventType EVENT_RESERVEDB
VIDEORESIZE
public static final SDLEventType VIDEORESIZE
VIDEOEXPOSE
public static final SDLEventType VIDEOEXPOSE
swigValue
private final int swigValue
values
public static final SDLEventType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(SDLEventType c : SDLEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SDLEventType valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
swigValue
public final int swigValue()
swigToEnum
public static SDLEventType swigToEnum(int swigValue)