|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PortMode>
org.virtualbox_4_2.PortMode
public enum PortMode
The PortMode enumeration represents possible communication modes for the virtual serial port device. Interface ID: {533B5FE3-0185-4197-86A7-17E37DD39D76}
Enum Constant Summary | |
---|---|
Disconnected
Virtual device is not attached to any real host device. |
|
HostDevice
Virtual device is attached to a host device. |
|
HostPipe
Virtual device is attached to a host pipe. |
|
RawFile
Virtual device is attached to a raw file. |
Method Summary | |
---|---|
static PortMode |
fromValue(long v)
|
static PortMode |
fromValue(java.lang.String v)
|
int |
value()
|
static PortMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PortMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PortMode Disconnected
public static final PortMode HostPipe
public static final PortMode HostDevice
public static final PortMode RawFile
Method Detail |
---|
public static PortMode[] values()
for (PortMode c : PortMode.values()) System.out.println(c);
public static PortMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static PortMode fromValue(long v)
public static PortMode fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |