Package adams.flow.source
Enum WebcamInfo.InfoType
- java.lang.Object
-
- java.lang.Enum<WebcamInfo.InfoType>
-
- adams.flow.source.WebcamInfo.InfoType
-
- All Implemented Interfaces:
Serializable
,Comparable<WebcamInfo.InfoType>
- Enclosing class:
- WebcamInfo
public static enum WebcamInfo.InfoType extends Enum<WebcamInfo.InfoType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLE_RESOLUTIONS
available resolutions.IS_OPEN
whether webcam is in use.RESOLUTION
current resolution.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WebcamInfo.InfoType
valueOf(String name)
Returns the enum constant of this type with the specified name.static WebcamInfo.InfoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOLUTION
public static final WebcamInfo.InfoType RESOLUTION
current resolution.
-
AVAILABLE_RESOLUTIONS
public static final WebcamInfo.InfoType AVAILABLE_RESOLUTIONS
available resolutions.
-
IS_OPEN
public static final WebcamInfo.InfoType IS_OPEN
whether webcam is in use.
-
-
Method Detail
-
values
public static WebcamInfo.InfoType[] 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 (WebcamInfo.InfoType c : WebcamInfo.InfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebcamInfo.InfoType 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
-
-