Package org.openpnp.capture
Enum CaptureProperty
- java.lang.Object
-
- java.lang.Enum<CaptureProperty>
-
- org.openpnp.capture.CaptureProperty
-
- All Implemented Interfaces:
Serializable,Comparable<CaptureProperty>
public enum CaptureProperty extends Enum<CaptureProperty>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BackLightCompensationBrightnessContrastExposureFocusGainGammaHuePowerLineFrequencySaturationSharpnessWhiteBalanceZoom
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPropertyId()static CapturePropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static CaptureProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BackLightCompensation
public static final CaptureProperty BackLightCompensation
-
Brightness
public static final CaptureProperty Brightness
-
Contrast
public static final CaptureProperty Contrast
-
Exposure
public static final CaptureProperty Exposure
-
Focus
public static final CaptureProperty Focus
-
Gain
public static final CaptureProperty Gain
-
Gamma
public static final CaptureProperty Gamma
-
Hue
public static final CaptureProperty Hue
-
PowerLineFrequency
public static final CaptureProperty PowerLineFrequency
-
Saturation
public static final CaptureProperty Saturation
-
Sharpness
public static final CaptureProperty Sharpness
-
WhiteBalance
public static final CaptureProperty WhiteBalance
-
Zoom
public static final CaptureProperty Zoom
-
-
Method Detail
-
values
public static CaptureProperty[] 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 (CaptureProperty c : CaptureProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CaptureProperty valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getPropertyId
public int getPropertyId()
-
-