Class CategorySet
- java.lang.Object
-
- ca.cgjennings.graphics.cloudfonts.CategorySet
-
public final class CategorySet extends java.lang.ObjectA 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 Summary
Constructors Constructor Description CategorySet(boolean display, boolean handwriting, boolean monospace, boolean sansSerif, boolean serif, boolean symbols, boolean other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(CategorySet other)booleanequals(java.lang.Object other)booleanhasEmptyIntersectionWith(CategorySet other)CategorySetintersection(CategorySet other)booleanisDisplay()booleanisEmpty()booleanisHandwriting()booleanisMonospace()booleanisOther()booleanisSansSerif()booleanisSerif()booleanisSubsetOf(CategorySet other)booleanisSupersetOf(CategorySet other)booleanisSymbols()java.lang.StringtoString()Returns a string description of the categories in this set, consisting of a comma-separated list of category names.CategorySetunion(CategorySet other)
-
-
-
Method Detail
-
equals
public boolean equals(CategorySet other)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
isSubsetOf
public boolean isSubsetOf(CategorySet other)
-
isSupersetOf
public boolean isSupersetOf(CategorySet other)
-
union
public CategorySet union(CategorySet other)
-
intersection
public CategorySet intersection(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:
toStringin classjava.lang.Object
-
-