Package com.sun.jna.platform.win32
Enum Class HighLevelMonitorConfigurationAPI.MC_CAPS
java.lang.Object
java.lang.Enum<HighLevelMonitorConfigurationAPI.MC_CAPS>
com.sun.jna.platform.win32.HighLevelMonitorConfigurationAPI.MC_CAPS
- All Implemented Interfaces:
FlagEnum
,Serializable
,Comparable<HighLevelMonitorConfigurationAPI.MC_CAPS>
,Constable
- Enclosing interface:
- HighLevelMonitorConfigurationAPI
public static enum HighLevelMonitorConfigurationAPI.MC_CAPS
extends Enum<HighLevelMonitorConfigurationAPI.MC_CAPS>
implements FlagEnum
Monitor capabilities - retrieved by GetMonitorCapabilities
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe monitor supports the GetMonitorBrightness and SetMonitorBrightness functions.The monitor supports the GetMonitorColorTemperature and SetMonitorColorTemperature functions.The monitor supports the GetMonitorContrast and SetMonitorContrast functions.The monitor supports the DegaussMonitor function.The monitor supports the GetMonitorDisplayAreaPosition and SetMonitorDisplayAreaPosition functions.The monitor supports the GetMonitorDisplayAreaSize and SetMonitorDisplayAreaSize functions.The monitor supports the GetMonitorTechnologyType function.The monitor does not support any monitor settings.The monitor supports the GetMonitorRedGreenOrBlueDrive and SetMonitorRedGreenOrBlueDrive functions.The monitor supports the GetMonitorRedGreenOrBlueGain and SetMonitorRedGreenOrBlueGain functions.The monitor supports the RestoreMonitorFactoryColorDefaults function.The monitor supports the RestoreMonitorFactoryDefaults function.If this flag is present, calling the RestoreMonitorFactoryDefaults function enables all of the monitor settings used by the high-level monitor configuration functions. -
Method Summary
-
Enum Constant Details
-
MC_CAPS_NONE
The monitor does not support any monitor settings. -
MC_CAPS_MONITOR_TECHNOLOGY_TYPE
The monitor supports the GetMonitorTechnologyType function. -
MC_CAPS_BRIGHTNESS
The monitor supports the GetMonitorBrightness and SetMonitorBrightness functions. -
MC_CAPS_CONTRAST
The monitor supports the GetMonitorContrast and SetMonitorContrast functions. -
MC_CAPS_COLOR_TEMPERATURE
The monitor supports the GetMonitorColorTemperature and SetMonitorColorTemperature functions. -
MC_CAPS_RED_GREEN_BLUE_GAIN
The monitor supports the GetMonitorRedGreenOrBlueGain and SetMonitorRedGreenOrBlueGain functions. -
MC_CAPS_RED_GREEN_BLUE_DRIVE
The monitor supports the GetMonitorRedGreenOrBlueDrive and SetMonitorRedGreenOrBlueDrive functions. -
MC_CAPS_DEGAUSS
The monitor supports the DegaussMonitor function. -
MC_CAPS_DISPLAY_AREA_POSITION
The monitor supports the GetMonitorDisplayAreaPosition and SetMonitorDisplayAreaPosition functions. -
MC_CAPS_DISPLAY_AREA_SIZE
The monitor supports the GetMonitorDisplayAreaSize and SetMonitorDisplayAreaSize functions. -
MC_CAPS_RESTORE_FACTORY_DEFAULTS
The monitor supports the RestoreMonitorFactoryDefaults function. -
MC_CAPS_RESTORE_FACTORY_COLOR_DEFAULTS
The monitor supports the RestoreMonitorFactoryColorDefaults function. -
MC_RESTORE_FACTORY_DEFAULTS_ENABLES_MONITOR_SETTINGS
public static final HighLevelMonitorConfigurationAPI.MC_CAPS MC_RESTORE_FACTORY_DEFAULTS_ENABLES_MONITOR_SETTINGSIf this flag is present, calling the RestoreMonitorFactoryDefaults function enables all of the monitor settings used by the high-level monitor configuration functions. For more information, see the Remarks section in RestoreMonitorFactoryDefaults.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getFlag
public int getFlag()
-