com.github.sarxos.webcam
Enum WebcamResolution

java.lang.Object
  extended by java.lang.Enum<WebcamResolution>
      extended by com.github.sarxos.webcam.WebcamResolution
All Implemented Interfaces:
Serializable, Comparable<WebcamResolution>

public enum WebcamResolution
extends Enum<WebcamResolution>


Enum Constant Summary
CIF
           
HD720
           
HVGA
           
PAL
           
QQVGA
           
QVGA
           
QXGA
           
SVGA
           
SXGA
           
UXGA
           
VGA
           
WXGA
           
XGA
           
 
Method Summary
 Dimension getSize()
           
static WebcamResolution valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WebcamResolution[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.