Enum Liberation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Liberation>

    public enum Liberation
    extends java.lang.Enum<Liberation>
    • Enum Constant Detail

      • MONO_ITALIC

        public static final Liberation MONO_ITALIC
      • MONO_BOLD

        public static final Liberation MONO_BOLD
      • MONO_BOLDITALIC

        public static final Liberation MONO_BOLDITALIC
      • SANS_ITALIC

        public static final Liberation SANS_ITALIC
      • SANS_BOLD

        public static final Liberation SANS_BOLD
      • SANS_BOLDITALIC

        public static final Liberation SANS_BOLDITALIC
      • SERIF_ITALIC

        public static final Liberation SERIF_ITALIC
      • SERIF_BOLD

        public static final Liberation SERIF_BOLD
      • SERIF_BOLDITALIC

        public static final Liberation SERIF_BOLDITALIC
    • Field Detail

      • trueTypeFile

        private final java.lang.String trueTypeFile
    • Constructor Detail

      • Liberation

        private Liberation​(java.lang.String trueTypeFile)
    • Method Detail

      • values

        public static Liberation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Liberation c : Liberation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Liberation valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • create

        public Font create()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • create

        public Font create​(int size)
                    throws java.io.IOException
        Throws:
        java.io.IOException