com.github.sarxos.webcam
Enum WebcamResolution
java.lang.Object
java.lang.Enum<WebcamResolution>
com.github.sarxos.webcam.WebcamResolution
- All Implemented Interfaces:
- Serializable, Comparable<WebcamResolution>
public enum WebcamResolution
- extends Enum<WebcamResolution>
QQVGA
public static final WebcamResolution QQVGA
QVGA
public static final WebcamResolution QVGA
CIF
public static final WebcamResolution CIF
HVGA
public static final WebcamResolution HVGA
VGA
public static final WebcamResolution VGA
PAL
public static final WebcamResolution PAL
SVGA
public static final WebcamResolution SVGA
XGA
public static final WebcamResolution XGA
HD720
public static final WebcamResolution HD720
WXGA
public static final WebcamResolution WXGA
SXGA
public static final WebcamResolution SXGA
UXGA
public static final WebcamResolution UXGA
QXGA
public static final WebcamResolution QXGA
values
public static WebcamResolution[] 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 (WebcamResolution c : WebcamResolution.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WebcamResolution 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 name
NullPointerException - if the argument is null
getSize
public Dimension getSize()
Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.