org.virtualbox_4_2
Enum VBoxEventType

java.lang.Object
  extended by java.lang.Enum<VBoxEventType>
      extended by org.virtualbox_4_2.VBoxEventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VBoxEventType>

public enum VBoxEventType
extends java.lang.Enum<VBoxEventType>

Type of an event. See IEvent for an introduction to VirtualBox event handling. Interface ID: {0D67E79E-B7B1-4919-AAB3-B36866075515}


Enum Constant Summary
Any
          Wildcard for all events.
InputEvent
          Wildcard for all input device (keyboard, mouse) events.
Invalid
          Invalid event, must be first.
Last
          Must be last event, used for iterations and structures relying on numerical event values.
LastWildcard
          Last wildcard.
MachineEvent
          Wildcard for all machine events.
OnAdditionsStateChanged
          See IAdditionsStateChangedEvent.
OnBandwidthGroupChanged
          See IBandwidthGroupChangedEvent.
OnCanShowWindow
          See ICanShowWindowEvent.
OnClipboardModeChanged
          See IClipboardModeChangedEvent.
OnCPUChanged
          See ICPUChangedEvent.
OnCPUExecutionCapChanged
          See ICPUExecutionCapChangedEvent.
OnDragAndDropModeChanged
          See IDragAndDropModeChangedEvent.
OnEventSourceChanged
          See IEventSourceChangedEvent.
OnExtraDataCanChange
          See IExtraDataCanChangeEvent.
OnExtraDataChanged
          See IExtraDataChangedEvent.
OnGuestKeyboard
          See IGuestKeyboardEvent.
OnGuestMonitorChanged
          See IGuestMonitorChangedEvent.
OnGuestMouse
          See IGuestMouseEvent.
OnGuestPropertyChanged
          See IGuestPropertyChangedEvent.
OnHostPCIDevicePlug
          See IHostPCIDevicePlugEvent.
OnKeyboardLedsChanged
          See IKeyboardLedsChangedEvent.
OnMachineDataChanged
          See IMachineDataChangedEvent.
OnMachineRegistered
          See IMachineRegisteredEvent.
OnMachineStateChanged
          See IMachineStateChangedEvent.
OnMediumChanged
          See IMediumChangedEvent.
OnMediumRegistered
          See IMediumRegisteredEvent.
OnMouseCapabilityChanged
          See IMouseCapabilityChangedEvent.
OnMousePointerShapeChanged
          See IMousePointerShapeChangedEvent.
OnNATRedirect
          See INATRedirectEvent.
OnNetworkAdapterChanged
          See INetworkAdapterChangedEvent.
OnParallelPortChanged
          See IParallelPortChangedEvent.
OnRuntimeError
          See IRuntimeErrorEvent.
OnSerialPortChanged
          See ISerialPortChangedEvent.
OnSessionStateChanged
          See ISessionStateChangedEvent.
OnSharedFolderChanged
          See ISharedFolderChangedEvent.
OnShowWindow
          See IShowWindowEvent.
OnSnapshotChanged
          See ISnapshotChangedEvent.
OnSnapshotDeleted
          See ISnapshotDeletedEvent.
OnSnapshotTaken
          See ISnapshotTakenEvent.
OnStateChanged
          See IStateChangedEvent.
OnStorageControllerChanged
          See IStorageControllerChangedEvent.
OnStorageDeviceChanged
          See IStorageDeviceChangedEvent.
OnUSBControllerChanged
          See IUSBControllerChangedEvent.
OnUSBDeviceStateChanged
          See IUSBDeviceStateChangedEvent.
OnVBoxSVCAvailabilityChanged
          See IVBoxSVCAvailabilityChangedEvent.
OnVRDEServerChanged
          See IVRDEServerChangedEvent.
OnVRDEServerInfoChanged
          See IVRDEServerInfoChangedEvent.
SnapshotEvent
          Wildcard for all snapshot events.
Vetoable
          Wildcard for all vetoable events.
 
Method Summary
static VBoxEventType fromValue(long v)
           
static VBoxEventType fromValue(java.lang.String v)
           
 int value()
           
static VBoxEventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VBoxEventType[] 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

Invalid

public static final VBoxEventType Invalid
Invalid event, must be first.


Any

public static final VBoxEventType Any
Wildcard for all events. Events of this type are never delivered, and only used in IEventSource.registerListener(org.virtualbox_4_2.IEventListener,List,Boolean) call to simplify registration.


Vetoable

public static final VBoxEventType Vetoable
Wildcard for all vetoable events. Events of this type are never delivered, and only used in IEventSource.registerListener(org.virtualbox_4_2.IEventListener,List,Boolean) call to simplify registration.


MachineEvent

public static final VBoxEventType MachineEvent
Wildcard for all machine events. Events of this type are never delivered, and only used in IEventSource.registerListener(org.virtualbox_4_2.IEventListener,List,Boolean) call to simplify registration.


SnapshotEvent

public static final VBoxEventType SnapshotEvent
Wildcard for all snapshot events. Events of this type are never delivered, and only used in IEventSource.registerListener(org.virtualbox_4_2.IEventListener,List,Boolean) call to simplify registration.


InputEvent

public static final VBoxEventType InputEvent
Wildcard for all input device (keyboard, mouse) events. Events of this type are never delivered, and only used in IEventSource.registerListener(org.virtualbox_4_2.IEventListener,List,Boolean) call to simplify registration.


LastWildcard

public static final VBoxEventType LastWildcard
Last wildcard.


OnMachineStateChanged

public static final VBoxEventType OnMachineStateChanged
See IMachineStateChangedEvent.


OnMachineDataChanged

public static final VBoxEventType OnMachineDataChanged
See IMachineDataChangedEvent.


OnExtraDataChanged

public static final VBoxEventType OnExtraDataChanged
See IExtraDataChangedEvent.


OnExtraDataCanChange

public static final VBoxEventType OnExtraDataCanChange
See IExtraDataCanChangeEvent.


OnMediumRegistered

public static final VBoxEventType OnMediumRegistered
See IMediumRegisteredEvent.


OnMachineRegistered

public static final VBoxEventType OnMachineRegistered
See IMachineRegisteredEvent.


OnSessionStateChanged

public static final VBoxEventType OnSessionStateChanged
See ISessionStateChangedEvent.


OnSnapshotTaken

public static final VBoxEventType OnSnapshotTaken
See ISnapshotTakenEvent.


OnSnapshotDeleted

public static final VBoxEventType OnSnapshotDeleted
See ISnapshotDeletedEvent.


OnSnapshotChanged

public static final VBoxEventType OnSnapshotChanged
See ISnapshotChangedEvent.


OnGuestPropertyChanged

public static final VBoxEventType OnGuestPropertyChanged
See IGuestPropertyChangedEvent.


OnMousePointerShapeChanged

public static final VBoxEventType OnMousePointerShapeChanged
See IMousePointerShapeChangedEvent.


OnMouseCapabilityChanged

public static final VBoxEventType OnMouseCapabilityChanged
See IMouseCapabilityChangedEvent.


OnKeyboardLedsChanged

public static final VBoxEventType OnKeyboardLedsChanged
See IKeyboardLedsChangedEvent.


OnStateChanged

public static final VBoxEventType OnStateChanged
See IStateChangedEvent.


OnAdditionsStateChanged

public static final VBoxEventType OnAdditionsStateChanged
See IAdditionsStateChangedEvent.


OnNetworkAdapterChanged

public static final VBoxEventType OnNetworkAdapterChanged
See INetworkAdapterChangedEvent.


OnSerialPortChanged

public static final VBoxEventType OnSerialPortChanged
See ISerialPortChangedEvent.


OnParallelPortChanged

public static final VBoxEventType OnParallelPortChanged
See IParallelPortChangedEvent.


OnStorageControllerChanged

public static final VBoxEventType OnStorageControllerChanged
See IStorageControllerChangedEvent.


OnMediumChanged

public static final VBoxEventType OnMediumChanged
See IMediumChangedEvent.


OnVRDEServerChanged

public static final VBoxEventType OnVRDEServerChanged
See IVRDEServerChangedEvent.


OnUSBControllerChanged

public static final VBoxEventType OnUSBControllerChanged
See IUSBControllerChangedEvent.


OnUSBDeviceStateChanged

public static final VBoxEventType OnUSBDeviceStateChanged
See IUSBDeviceStateChangedEvent.


OnSharedFolderChanged

public static final VBoxEventType OnSharedFolderChanged
See ISharedFolderChangedEvent.


OnRuntimeError

public static final VBoxEventType OnRuntimeError
See IRuntimeErrorEvent.


OnCanShowWindow

public static final VBoxEventType OnCanShowWindow
See ICanShowWindowEvent.


OnShowWindow

public static final VBoxEventType OnShowWindow
See IShowWindowEvent.


OnCPUChanged

public static final VBoxEventType OnCPUChanged
See ICPUChangedEvent.


OnVRDEServerInfoChanged

public static final VBoxEventType OnVRDEServerInfoChanged
See IVRDEServerInfoChangedEvent.


OnEventSourceChanged

public static final VBoxEventType OnEventSourceChanged
See IEventSourceChangedEvent.


OnCPUExecutionCapChanged

public static final VBoxEventType OnCPUExecutionCapChanged
See ICPUExecutionCapChangedEvent.


OnGuestKeyboard

public static final VBoxEventType OnGuestKeyboard
See IGuestKeyboardEvent.


OnGuestMouse

public static final VBoxEventType OnGuestMouse
See IGuestMouseEvent.


OnNATRedirect

public static final VBoxEventType OnNATRedirect
See INATRedirectEvent.


OnHostPCIDevicePlug

public static final VBoxEventType OnHostPCIDevicePlug
See IHostPCIDevicePlugEvent.


OnVBoxSVCAvailabilityChanged

public static final VBoxEventType OnVBoxSVCAvailabilityChanged
See IVBoxSVCAvailabilityChangedEvent.


OnBandwidthGroupChanged

public static final VBoxEventType OnBandwidthGroupChanged
See IBandwidthGroupChangedEvent.


OnGuestMonitorChanged

public static final VBoxEventType OnGuestMonitorChanged
See IGuestMonitorChangedEvent.


OnStorageDeviceChanged

public static final VBoxEventType OnStorageDeviceChanged
See IStorageDeviceChangedEvent.


OnClipboardModeChanged

public static final VBoxEventType OnClipboardModeChanged
See IClipboardModeChangedEvent.


OnDragAndDropModeChanged

public static final VBoxEventType OnDragAndDropModeChanged
See IDragAndDropModeChangedEvent.


Last

public static final VBoxEventType Last
Must be last event, used for iterations and structures relying on numerical event values.

Method Detail

values

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

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

valueOf

public static VBoxEventType 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 VBoxEventType fromValue(long v)

fromValue

public static VBoxEventType fromValue(java.lang.String v)