Avatar.Size
.public static enum AvatarManager.ImageSize extends Enum<AvatarManager.ImageSize>
Enum Constant and Description |
---|
LARGE
Deprecated.
|
LARGE_3X
Deprecated.
|
MEDIUM
Deprecated.
|
NORMAL
Deprecated.
|
NORMAL_3X
Deprecated.
|
RETINA_XXLARGE
Deprecated.
|
RETINA_XXLARGE_3X
Deprecated.
|
RETINA_XXXLARGE
Deprecated.
|
RETINA_XXXLARGE_3X
Deprecated.
|
SMALL
Deprecated.
|
XLARGE
Deprecated.
|
XXLARGE
Deprecated.
|
XXXLARGE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 NORMAL_3X
public static final AvatarManager.ImageSize XXLARGE
public static final AvatarManager.ImageSize XXXLARGE
public static final AvatarManager.ImageSize LARGE_3X
public static final AvatarManager.ImageSize RETINA_XXLARGE
public static final AvatarManager.ImageSize RETINA_XXXLARGE
public static final AvatarManager.ImageSize RETINA_XXLARGE_3X
public static final AvatarManager.ImageSize RETINA_XXXLARGE_3X
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 nameNullPointerException
- 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>
Copyright © 2002-2021 Atlassian. All Rights Reserved.