Package com.luciad.gui
Enum Class TLcdIconFactory.Size
- All Implemented Interfaces:
Serializable
,Comparable<TLcdIconFactory.Size>
,Constable
- Enclosing class:
TLcdIconFactory
Enumeration representing the size of the icons
Note that in future releases, it is possible that extra sizes will be added to this enumeration.
- Since:
- 2016.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
getSize()
Returns the size in pixels.static TLcdIconFactory.Size
Returns the enum constant of this class with the specified name.static TLcdIconFactory.Size[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIZE_16
16 by 16 pixels icons -
SIZE_24
24 by 24 pixels icons -
SIZE_32
32 by 32 pixels icons
-
-
Method Details
-
values
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
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
-
getSize
public final int getSize()Returns the size in pixels.- Returns:
- the size in pixels.
-