net.java.games.input
Class Controller.PortType

java.lang.Object
  extended by net.java.games.input.Controller.PortType
Enclosing interface:
Controller

public static final class Controller.PortType
extends java.lang.Object

Common controller port types.


Field Summary
static Controller.PortType GAME
          Standard game port
static Controller.PortType I8042
          i8042
static Controller.PortType NETWORK
          Network port
static Controller.PortType PARALLEL
          Parallel port
static Controller.PortType SERIAL
          Serial port
static Controller.PortType UNKNOWN
          Unknown port type
static Controller.PortType USB
          USB port
 
Constructor Summary
protected Controller.PortType(java.lang.String name)
          Protected constructor
 
Method Summary
 java.lang.String toString()
          Returns a non-localized string description of this port type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final Controller.PortType UNKNOWN
Unknown port type


USB

public static final Controller.PortType USB
USB port


GAME

public static final Controller.PortType GAME
Standard game port


NETWORK

public static final Controller.PortType NETWORK
Network port


SERIAL

public static final Controller.PortType SERIAL
Serial port


I8042

public static final Controller.PortType I8042
i8042


PARALLEL

public static final Controller.PortType PARALLEL
Parallel port

Constructor Detail

Controller.PortType

protected Controller.PortType(java.lang.String name)
Protected constructor

Method Detail

toString

public java.lang.String toString()
Returns a non-localized string description of this port type.

Overrides:
toString in class java.lang.Object