Class CategorySet


  • public final class CategorySet
    extends java.lang.Object
    A set of descriptive categories that a cloud font can belong to. These categories are useful to help narrow down the search for a font.
    Since:
    3.4
    Author:
    Chris Jennings
    • Constructor Detail

      • CategorySet

        public CategorySet​(boolean display,
                           boolean handwriting,
                           boolean monospace,
                           boolean sansSerif,
                           boolean serif,
                           boolean symbols,
                           boolean other)
    • Method Detail

      • equals

        public boolean equals​(CategorySet other)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • isSubsetOf

        public boolean isSubsetOf​(CategorySet other)
      • isSupersetOf

        public boolean isSupersetOf​(CategorySet other)
      • hasEmptyIntersectionWith

        public boolean hasEmptyIntersectionWith​(CategorySet other)
      • isEmpty

        public boolean isEmpty()
      • isDisplay

        public boolean isDisplay()
      • isHandwriting

        public boolean isHandwriting()
      • isMonospace

        public boolean isMonospace()
      • isSansSerif

        public boolean isSansSerif()
      • isSerif

        public boolean isSerif()
      • isSymbols

        public boolean isSymbols()
      • isOther

        public boolean isOther()
      • toString

        public java.lang.String toString()
        Returns a string description of the categories in this set, consisting of a comma-separated list of category names.
        Overrides:
        toString in class java.lang.Object