Enum Class Font

java.lang.Object
java.lang.Enum<Font>
net.risingworld.api.ui.style.Font
All Implemented Interfaces:
Serializable, Comparable<Font>, Constable

public enum Font extends Enum<Font>
  • Enum Constant Details

    • Default

      public static final Font Default
      Default font
    • DefaultBold

      public static final Font DefaultBold
    • Mono

      public static final Font Mono
    • Stencil

      public static final Font Stencil
    • Medieval

      public static final Font Medieval
    • Viking

      public static final Font Viking
    • Western

      public static final Font Western
    • Handwritten

      public static final Font Handwritten
    • Handwritten2

      public static final Font Handwritten2
    • FingerPaint

      public static final Font FingerPaint
    • FingerPaint2

      public static final Font FingerPaint2
    • Gothic

      public static final Font Gothic
    • Gothic2

      public static final Font Gothic2
    • Spray

      public static final Font Spray
    • WetPaint

      public static final Font WetPaint
    • BlackOps

      public static final Font BlackOps
    • Pixel

      public static final Font Pixel
    • Dots

      public static final Font Dots
    • Horror

      public static final Font Horror
  • Method Details

    • values

      public static Font[] 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 Font 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
    • get

      public static Font get(int ordinal)
      Gets an enum from the ordinal value.
      Parameters:
      ordinal - the ordinal value (index).
      Returns:
      the according enum.