- java.lang.Object
-
- java.lang.Enum<Images.IconSize>
-
- org.icepdf.ri.images.Images.IconSize
-
- All Implemented Interfaces:
Serializable,Comparable<Images.IconSize>
- Enclosing class:
- Images
public static enum Images.IconSize extends Enum<Images.IconSize>
Enum specifying the wanted size of the icon Note that icon packs may choose to ignore icon sizes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HUGE"Huge" size, typically aimed to be 48x48 pxLARGE"Large" size, typically aimed to be 32x32 pxMINI"Mini" size, typically aimed to be 20x20 pxSMALL"Small" size, typically aimed to be 24x24 pxTINY"Tiny" size, typically aimed to be 16x16 px
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Images.IconSizevalueOf(String name)Returns the enum constant of this type with the specified name.static Images.IconSize[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HUGE
public static final Images.IconSize HUGE
"Huge" size, typically aimed to be 48x48 px
-
LARGE
public static final Images.IconSize LARGE
"Large" size, typically aimed to be 32x32 px
-
SMALL
public static final Images.IconSize SMALL
"Small" size, typically aimed to be 24x24 px
-
MINI
public static final Images.IconSize MINI
"Mini" size, typically aimed to be 20x20 px
-
TINY
public static final Images.IconSize TINY
"Tiny" size, typically aimed to be 16x16 px
-
-
Method Detail
-
values
public static Images.IconSize[] 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 (Images.IconSize c : Images.IconSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Images.IconSize valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-