java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.jira.avatar.Avatar.Size |
The standard sizes for avatars.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Avatar.Size | LARGE | A large avatar (48x48 pixels). | |||||||||
Avatar.Size | MEDIUM | A medium avatar (32x32 pixels). | |||||||||
Avatar.Size | NORMAL | A small avatar (24x24 pixels). | |||||||||
Avatar.Size | RETINA_XXLARGE | ||||||||||
Avatar.Size | RETINA_XXXLARGE | ||||||||||
Avatar.Size | SMALL | An extra-small avatar (16x16 pixels). | |||||||||
Avatar.Size | XLARGE | ||||||||||
Avatar.Size | XXLARGE | ||||||||||
Avatar.Size | XXXLARGE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
In order to cater for future addition of larger sizes this method finds the largest image size.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
A medium avatar (32x32 pixels). Use in comments and other activity streams.
A small avatar (24x24 pixels). Use when outputting user's names.
pixelValue | minimum number of pixels tall+wide the avatar size should be |
---|
Avatar.Size
that's equal to or larger than the pixelValue,
or null if there's no size that could cater the value.
In order to cater for future addition of larger sizes this method finds the largest image size.
pixelValue | minimum number of pixels tall+wide the avatar size should be |
---|
Avatar.Size
that's equal to or larger than the pixelValue,
or null if there's no size that could cater the value.