Enum Class Polices

java.lang.Object
java.lang.Enum<Polices>
ch.hearc.cbi.tools.moo.Polices
All Implemented Interfaces:
Serializable, Comparable<Polices>, Constable

public enum Polices extends Enum<Polices>
chaque char a la meme longuer horizontal (selon chatGPT 2024)
  • Enum Constant Details

    • COURIER_NEW

      public static final Polices COURIER_NEW
    • LUCIDA_CONSOLE

      public static final Polices LUCIDA_CONSOLE
    • CONSOLAS

      public static final Polices CONSOLAS
    • MONACO

      public static final Polices MONACO
    • DEJAVU_SANS_MONO

      public static final Polices DEJAVU_SANS_MONO
    • UBUNTU_MONO

      public static final Polices UBUNTU_MONO
    • FIRA_CODE

      public static final Polices FIRA_CODE
    • SOURCE_CODE_PRO

      public static final Polices SOURCE_CODE_PRO
    • INCONSOLATA

      public static final Polices INCONSOLATA
    • PT_MONO

      public static final Polices PT_MONO
  • Method Details

    • values

      public static Polices[] 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 Polices 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
    • getName

      public String getName()
    • isAvailable

      public static boolean isAvailable(String namePolice)
    • available

      public static String[] available()
    • availableConstant

      public static String[] availableConstant()
    • swing

      public static Font swing()
    • loadFont

      public static void loadFont(String fileTTF_jar) throws IOException, FontFormatException
      Throws:
      IOException
      FontFormatException