com.netmera.mobile
Enum NetmeraMedia.PhotoSize

java.lang.Object
  extended by java.lang.Enum<NetmeraMedia.PhotoSize>
      extended by com.netmera.mobile.NetmeraMedia.PhotoSize
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NetmeraMedia.PhotoSize>
Enclosing class:
NetmeraMedia

public static enum NetmeraMedia.PhotoSize
extends java.lang.Enum<NetmeraMedia.PhotoSize>

Type of the photo size.


Enum Constant Summary
DEFAULT
          This is the original image size.If no photo size is setted then original size is used.
LARGE
          Image size is defined as 300x350 px
MEDIUM
          Image size is defined as 180x250 px
SMALL
          Image size is defined as 82x82 px
THUMBNAIL
          Image size is defined as 41x41
 
Method Summary
static NetmeraMedia.PhotoSize valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NetmeraMedia.PhotoSize[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final NetmeraMedia.PhotoSize DEFAULT
This is the original image size.If no photo size is setted then original size is used.


THUMBNAIL

public static final NetmeraMedia.PhotoSize THUMBNAIL
Image size is defined as 41x41


SMALL

public static final NetmeraMedia.PhotoSize SMALL
Image size is defined as 82x82 px


MEDIUM

public static final NetmeraMedia.PhotoSize MEDIUM
Image size is defined as 180x250 px


LARGE

public static final NetmeraMedia.PhotoSize LARGE
Image size is defined as 300x350 px

Method Detail

values

public static NetmeraMedia.PhotoSize[] 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 (NetmeraMedia.PhotoSize c : NetmeraMedia.PhotoSize.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NetmeraMedia.PhotoSize valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null