com.rm5248.serial
Enum SerialPort.BaudRate

java.lang.Object
  extended by java.lang.Enum<SerialPort.BaudRate>
      extended by com.rm5248.serial.SerialPort.BaudRate
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SerialPort.BaudRate>
Enclosing class:
SerialPort

public static enum SerialPort.BaudRate
extends java.lang.Enum<SerialPort.BaudRate>

Represents the BaudRate that the SerialPort uses.


Enum Constant Summary
B0
          Not available in Windows
B110
           
B115200
           
B1200
           
B134
          Not available in Windows
B150
          Not available in Windows
B1800
          Not available in Windows
B200
           
B2400
           
B300
           
B38400
           
B4800
           
B50
          Not available in Windows
B600
           
B75
          Not available in Windows
B9600
           
 
Method Summary
static SerialPort.BaudRate valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SerialPort.BaudRate[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

B0

public static final SerialPort.BaudRate B0
Not available in Windows


B50

public static final SerialPort.BaudRate B50
Not available in Windows


B75

public static final SerialPort.BaudRate B75
Not available in Windows


B110

public static final SerialPort.BaudRate B110

B134

public static final SerialPort.BaudRate B134
Not available in Windows


B150

public static final SerialPort.BaudRate B150
Not available in Windows


B200

public static final SerialPort.BaudRate B200

B300

public static final SerialPort.BaudRate B300

B600

public static final SerialPort.BaudRate B600

B1200

public static final SerialPort.BaudRate B1200

B1800

public static final SerialPort.BaudRate B1800
Not available in Windows


B2400

public static final SerialPort.BaudRate B2400

B4800

public static final SerialPort.BaudRate B4800

B9600

public static final SerialPort.BaudRate B9600

B38400

public static final SerialPort.BaudRate B38400

B115200

public static final SerialPort.BaudRate B115200
Method Detail

values

public static SerialPort.BaudRate[] 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 (SerialPort.BaudRate c : SerialPort.BaudRate.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SerialPort.BaudRate 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