Package mekhq.campaign.icons.enums
Enum Class LayeredFormationIconLayer
- All Implemented Interfaces:
Serializable,Comparable<LayeredFormationIconLayer>,Constable
This contains the individual layers of a LayeredFormationIcon, which are also the potential header folders within the
Pieces category of the Formation Icon Directory.
Known as LayeredForceIconLayer prior to 0.50.12
- Since:
- 0.50.12
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic List<LayeredFormationIconLayer>intbooleanbooleanbooleanbooleanbooleanisFrame()booleanisLogo()booleanbooleanisType()toString()static LayeredFormationIconLayerReturns the enum constant of this class with the specified name.static LayeredFormationIconLayer[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE
-
FORMATION
-
ADJUSTMENT
-
ALPHANUMERIC
-
SPECIAL_MODIFIER
-
BACKGROUND
-
FRAME
-
LOGO
-
-
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
-
getToolTipText
-
getLayerPath
-
getTableName
-
getListSelectionMode
public int getListSelectionMode() -
isType
public boolean isType() -
isFormation
public boolean isFormation() -
isAdjustment
public boolean isAdjustment() -
isAlphanumeric
public boolean isAlphanumeric() -
isSpecialModifier
public boolean isSpecialModifier() -
isBackground
public boolean isBackground() -
isFrame
public boolean isFrame() -
isLogo
public boolean isLogo() -
getInDrawOrder
- Returns:
- the layered formation icon enum values in the order they are drawn in
-
toString
- Overrides:
toStringin classEnum<LayeredFormationIconLayer>
-