Package com.atlassian.jira.avatar
Enum Class AvatarManager.ImageSize
- All Implemented Interfaces:
Serializable
,Comparable<AvatarManager.ImageSize>
,Constable
- Enclosing interface:
- AvatarManager
Deprecated.
Represents the different sizes of avatars that can be requested!
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic AvatarManager.ImageSize
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.Deprecated.Deprecated.int
Deprecated.getSize()
Deprecated.static AvatarManager.ImageSize
largest()
Deprecated.In order to cater for future addition of larger sizes this method finds the largest image size.toString()
Deprecated.static AvatarManager.ImageSize
Deprecated.Returns the enum constant of this class with the specified name.static AvatarManager.ImageSize[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Deprecated. -
SMALL
Deprecated. -
MEDIUM
Deprecated. -
LARGE
Deprecated. -
XLARGE
Deprecated. -
NORMAL_3X
Deprecated. -
XXLARGE
Deprecated. -
XXXLARGE
Deprecated. -
LARGE_3X
Deprecated. -
RETINA_XXLARGE
Deprecated. -
RETINA_XXXLARGE
Deprecated. -
RETINA_XXLARGE_3X
Deprecated. -
RETINA_XXXLARGE_3X
Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromSize
Deprecated. -
getSize
Deprecated. -
getPixels
public int getPixels()Deprecated. -
getFilenameFlag
Deprecated. -
getOriginSelection
Deprecated. -
largest
Deprecated.In order to cater for future addition of larger sizes this method finds the largest image size.- Returns:
- The largest ImageSize
-
defaultSize
Deprecated.- Returns:
- the default size for avatars.
-
fromString
Deprecated.Returns an avatar image size matching the text provided. If none can be found, returnsdefaultSize
.- Parameters:
text
- the images size. Will match "s", "small", "SMALL". Can also be an integer value (16, 24, etc.)- Returns:
- the image size enum matching the string provided
-
toString
Deprecated.- Overrides:
toString
in classEnum<AvatarManager.ImageSize>
-
Avatar.Size
.