org.virtualbox_4_3
Enum DeviceActivity
java.lang.Object
java.lang.Enum<DeviceActivity>
org.virtualbox_4_3.DeviceActivity
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DeviceActivity>
public enum DeviceActivity
- extends java.lang.Enum<DeviceActivity>
Device activity for IConsole.getDeviceActivity(org.virtualbox_4_3.DeviceType)
.
Interface ID: {6FC8AEAA-130A-4EB5-8954-3F921422D707}
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 |
Null
public static final DeviceActivity Null
Idle
public static final DeviceActivity Idle
Reading
public static final DeviceActivity Reading
Writing
public static final DeviceActivity Writing
values
public static DeviceActivity[] 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 (DeviceActivity c : DeviceActivity.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DeviceActivity 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
value
public int value()
fromValue
public static DeviceActivity fromValue(long v)
fromValue
public static DeviceActivity fromValue(java.lang.String v)