Skip navigation links
oracle.webcenter.peopleconnections.profile
Enum WCUserProfile.PhotoSize
java.lang.Object
java.lang.Enum<WCUserProfile.PhotoSize>
oracle.webcenter.peopleconnections.profile.WCUserProfile.PhotoSize
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WCUserProfile.PhotoSize>
- Enclosing interface:
- WCUserProfile
-
public static enum WCUserProfile.PhotoSize
- extends java.lang.Enum<WCUserProfile.PhotoSize>
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 |
ORIGINAL
public static final WCUserProfile.PhotoSize ORIGINAL
LARGE
public static final WCUserProfile.PhotoSize LARGE
MEDIUM
public static final WCUserProfile.PhotoSize MEDIUM
SMALL
public static final WCUserProfile.PhotoSize SMALL
ICON32
public static final WCUserProfile.PhotoSize ICON32
ICON16
public static final WCUserProfile.PhotoSize ICON16
LOGO75
public static final WCUserProfile.PhotoSize LOGO75
values
public static WCUserProfile.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 (WCUserProfile.PhotoSize c : WCUserProfile.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 WCUserProfile.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
getWidth
public int getWidth()
getHeight
public int getHeight()
isCroppedToFit
public boolean isCroppedToFit()
isPaddedToFit
public boolean isPaddedToFit()
Skip navigation links
Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.