Enum Class LayeredFormationIconLayer

java.lang.Object
java.lang.Enum<LayeredFormationIconLayer>
mekhq.campaign.icons.enums.LayeredFormationIconLayer
All Implemented Interfaces:
Serializable, Comparable<LayeredFormationIconLayer>, Constable

public enum LayeredFormationIconLayer extends Enum<LayeredFormationIconLayer>
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
  • Enum Constant Details

  • Method Details

    • values

      public static LayeredFormationIconLayer[] 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

      public static LayeredFormationIconLayer valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getToolTipText

      public String getToolTipText()
    • getLayerPath

      public String getLayerPath()
    • getTableName

      public String 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

      public static List<LayeredFormationIconLayer> getInDrawOrder()
      Returns:
      the layered formation icon enum values in the order they are drawn in
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LayeredFormationIconLayer>