Enum Class UiKey

java.lang.Object
java.lang.Enum<UiKey>
mindustry.ui.builder.UiKey
All Implemented Interfaces:
Serializable, Comparable<UiKey>, Constable

public enum UiKey extends Enum<UiKey>
Enum used for encoding properties as single bytes instead of passing strings around.
  • Enum Constant Details

    • table

      public static final UiKey table
    • pane

      public static final UiKey pane
    • stack

      public static final UiKey stack
    • label

      public static final UiKey label
    • image

      public static final UiKey image
    • button

      public static final UiKey button
    • imageButton

      public static final UiKey imageButton
    • field

      public static final UiKey field
    • check

      public static final UiKey check
    • slider

      public static final UiKey slider
    • space

      public static final UiKey space
    • defaults

      public static final UiKey defaults
    • buttonTable

      public static final UiKey buttonTable
    • row

      public static final UiKey row
    • text

      public static final UiKey text
    • wrap

      public static final UiKey wrap
    • region

      public static final UiKey region
    • icon

      public static final UiKey icon
    • placeholder

      public static final UiKey placeholder
    • scaling

      public static final UiKey scaling
    • background

      public static final UiKey background
    • margin

      public static final UiKey margin
    • id

      public static final UiKey id
    • hint

      public static final UiKey hint
    • maxLength

      public static final UiKey maxLength
    • checked

      public static final UiKey checked
    • min

      public static final UiKey min
    • max

      public static final UiKey max
    • step

      public static final UiKey step
    • defaultValue

      public static final UiKey defaultValue
    • clicked

      public static final UiKey clicked
    • enter

      public static final UiKey enter
    • style

      public static final UiKey style
    • group

      public static final UiKey group
    • condition

      public static final UiKey condition
    • color

      public static final UiKey color
    • disabled

      public static final UiKey disabled
    • grow

      public static final UiKey grow
    • growX

      public static final UiKey growX
    • growY

      public static final UiKey growY
    • fill

      public static final UiKey fill
    • fillX

      public static final UiKey fillX
    • fillY

      public static final UiKey fillY
    • expand

      public static final UiKey expand
    • expandX

      public static final UiKey expandX
    • expandY

      public static final UiKey expandY
    • width

      public static final UiKey width
    • height

      public static final UiKey height
    • size

      public static final UiKey size
    • minWidth

      public static final UiKey minWidth
    • maxWidth

      public static final UiKey maxWidth
    • minHeight

      public static final UiKey minHeight
    • maxHeight

      public static final UiKey maxHeight
    • pad

      public static final UiKey pad
    • padTop

      public static final UiKey padTop
    • padLeft

      public static final UiKey padLeft
    • padBottom

      public static final UiKey padBottom
    • padRight

      public static final UiKey padRight
    • align

      public static final UiKey align
    • labelAlign

      public static final UiKey labelAlign
    • colspan

      public static final UiKey colspan
    • uniform

      public static final UiKey uniform
    • uniformX

      public static final UiKey uniformX
    • uniformY

      public static final UiKey uniformY
  • Field Details

    • all

      public static final UiKey[] all
  • Method Details

    • values

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