|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AvatarManager.ImageSize> com.atlassian.jira.avatar.AvatarManager.ImageSize
Avatar.Size
.
public static enum AvatarManager.ImageSize
Represents the different sizes of avatars that can be requested!
Enum Constant Summary | |
---|---|
LARGE
Deprecated. |
|
MEDIUM
Deprecated. |
|
NORMAL
Deprecated. |
|
RETINA_XXLARGE
Deprecated. |
|
RETINA_XXXLARGE
Deprecated. |
|
SMALL
Deprecated. |
|
XLARGE
Deprecated. |
|
XXLARGE
Deprecated. |
|
XXXLARGE
Deprecated. |
Method Summary | |
---|---|
static AvatarManager.ImageSize |
defaultSize()
Deprecated. |
static AvatarManager.ImageSize |
fromSize(Avatar.Size size)
Deprecated. |
static AvatarManager.ImageSize |
fromString(String text)
Deprecated. Returns an avatar image size matching the text provided. |
String |
getFilenameFlag()
Deprecated. |
Selection |
getOriginSelection()
Deprecated. |
int |
getPixels()
Deprecated. |
Avatar.Size |
getSize()
Deprecated. |
static AvatarManager.ImageSize |
largest()
Deprecated. In order to cater for future addition of larger sizes this method finds the largest image size. |
String |
toString()
Deprecated. |
static AvatarManager.ImageSize |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static AvatarManager.ImageSize[] |
values()
Deprecated. 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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AvatarManager.ImageSize NORMAL
public static final AvatarManager.ImageSize SMALL
public static final AvatarManager.ImageSize MEDIUM
public static final AvatarManager.ImageSize LARGE
public static final AvatarManager.ImageSize XLARGE
public static final AvatarManager.ImageSize XXLARGE
public static final AvatarManager.ImageSize XXXLARGE
public static final AvatarManager.ImageSize RETINA_XXLARGE
public static final AvatarManager.ImageSize RETINA_XXXLARGE
Method Detail |
---|
public static AvatarManager.ImageSize[] values()
for (AvatarManager.ImageSize c : AvatarManager.ImageSize.values()) System.out.println(c);
public static AvatarManager.ImageSize valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static AvatarManager.ImageSize fromSize(Avatar.Size size)
public Avatar.Size getSize()
public int getPixels()
public String getFilenameFlag()
public Selection getOriginSelection()
public static AvatarManager.ImageSize largest()
com.atlassian.jira.avatar.Avatar.Size#largest()}, they need to be kept in sync.
public static AvatarManager.ImageSize defaultSize()
com.atlassian.jira.avatar.Avatar.Size#defaultSize()}, they need to be kept in sync.
public static AvatarManager.ImageSize fromString(String text)
defaultSize
.
text
- the images size. Will match "s", "small", "SMALL". Can also be an integer value (16, 24, etc.)
public String toString()
toString
in class Enum<AvatarManager.ImageSize>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |