public class JoystickEvent extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | JoystickEvent.CommandTypeCommandType enumerations define logical outputs of joystick controllers | 
| Constructor and Description | 
|---|
| JoystickEvent()Initialization constructor | 
| JoystickEvent(JoystickEvent.CommandType commandType,
             double value,
             net.java.games.input.Event event)Default constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | finalize()finalize will show whether we are getting finalized, i.e. destroyed, or else
 building lots of unlinked garbage | 
| JoystickEvent.CommandType | getJoystickCommandType() | 
| String | getJoystickCommandTypeName() | 
| double | getJoystickDeviceValue() | 
| double | getJoystickDeviceValueDegrees()Utility method | 
| net.java.games.input.Event | getOriginalEvent() | 
| void | setCommandType(JoystickEvent.CommandType commandType) | 
| void | setOriginalEvent(net.java.games.input.Event originalEvent) | 
| void | setValue(double value) | 
| String | toString() | 
public JoystickEvent()
public JoystickEvent(JoystickEvent.CommandType commandType, double value, net.java.games.input.Event event)
public JoystickEvent.CommandType getJoystickCommandType()
public String getJoystickCommandTypeName()
public void setCommandType(JoystickEvent.CommandType commandType)
commandType - the commandType enumeration to setpublic double getJoystickDeviceValue()
public double getJoystickDeviceValueDegrees()
public void setValue(double value)
value - the value to setpublic net.java.games.input.Event getOriginalEvent()
public void setOriginalEvent(net.java.games.input.Event originalEvent)
originalEvent - the originalEvent to set