org.virtualbox_7_1
Class IGraphicsAdapter

java.lang.Object
  extended by org.virtualbox_7_1.IUnknown
      extended by org.virtualbox_7_1.IGraphicsAdapter

public class IGraphicsAdapter
extends IUnknown

The IGraphicsAdapter interface represents the graphics adapter of the virtual machine. Interface ID: {13EE6EB4-06FE-406B-AD69-F6E08B0587A3}


Field Summary
 
Fields inherited from class org.virtualbox_7_1.IUnknown
obj, objMgr, port
 
Constructor Summary
IGraphicsAdapter(java.lang.String wrapped, org.virtualbox_7_1.ObjectRefManager objMgr, org.virtualbox_7_1.jaxws.VboxPortType port)
           
 
Method Summary
 GraphicsControllerType getGraphicsControllerType()
          Graphics controller type.
 java.lang.Long getMonitorCount()
          Number of virtual monitors.
 java.lang.Long getVRAMSize()
          Video memory size in megabytes.
 java.lang.Boolean isFeatureEnabled(GraphicsFeature feature)
          Returns whether a particular feature is enabled for this adapter or not.
static IGraphicsAdapter queryInterface(IUnknown obj)
           
 void setFeature(GraphicsFeature feature, java.lang.Boolean enabled)
          Sets a graphics controller feature.
 void setGraphicsControllerType(GraphicsControllerType value)
          Graphics controller type.
 void setMonitorCount(java.lang.Long value)
          Number of virtual monitors.
 void setVRAMSize(java.lang.Long value)
          Video memory size in megabytes.
 
Methods inherited from class org.virtualbox_7_1.IUnknown
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGraphicsAdapter

public IGraphicsAdapter(java.lang.String wrapped,
                        org.virtualbox_7_1.ObjectRefManager objMgr,
                        org.virtualbox_7_1.jaxws.VboxPortType port)
Method Detail

getGraphicsControllerType

public GraphicsControllerType getGraphicsControllerType()
Graphics controller type.

Returns:
org.virtualbox_7_1.GraphicsControllerType

setGraphicsControllerType

public void setGraphicsControllerType(GraphicsControllerType value)
Graphics controller type.

Parameters:
value - org.virtualbox_7_1.GraphicsControllerType

getVRAMSize

public java.lang.Long getVRAMSize()
Video memory size in megabytes.

Returns:
Long

setVRAMSize

public void setVRAMSize(java.lang.Long value)
Video memory size in megabytes.

Parameters:
value - Long

getMonitorCount

public java.lang.Long getMonitorCount()
Number of virtual monitors. NOTE: Only effective on Windows XP and later guests with Guest Additions installed.

Returns:
Long

setMonitorCount

public void setMonitorCount(java.lang.Long value)
Number of virtual monitors. NOTE: Only effective on Windows XP and later guests with Guest Additions installed.

Parameters:
value - Long

queryInterface

public static IGraphicsAdapter queryInterface(IUnknown obj)

setFeature

public void setFeature(GraphicsFeature feature,
                       java.lang.Boolean enabled)
Sets a graphics controller feature.

Expected result codes:
VBOX_E_NOT_SUPPORTED - The feature is not supported on the current platform.

Parameters:
feature - Graphics controller feature to set.
enabled - Whether to enable or disable the feature.

isFeatureEnabled

public java.lang.Boolean isFeatureEnabled(GraphicsFeature feature)
Returns whether a particular feature is enabled for this adapter or not.

Parameters:
feature - Feature to check for.
Returns:
true if the feature is enabled, false if not.