org.foray.ps.encode
Class GlyphListZapfDingbats
java.lang.Object
org.foray.ps.encode.GlyphList4a
org.foray.ps.encode.GlyphListZapfDingbats
- All Implemented Interfaces:
- Serializable, org.axsl.ps.GlyphList
public class GlyphListZapfDingbats
- extends GlyphList4a
A hard-coded representation of the Zapg Dingbats glyph list, used for mapping
glyph names to Unicode code points.
The hard-coded values in this class were derived by running
GlyphListParser.main(String[])
with the following file for input:
foray/foray-ps/resource/glyph-list/zapfdingbats.txt
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface org.axsl.ps.GlyphList |
org.axsl.ps.GlyphList.Predefined |
Method Summary |
static GlyphListZapfDingbats |
getInstance()
Returns the singleton instance of this class. |
boolean |
isStatic()
Indicates whether the data in this glyph list is static, that is,
tied entirely to the class itself and not built dynamically. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- Constant needed for serialization.
- See Also:
- Constant Field Values
GlyphListZapfDingbats
protected GlyphListZapfDingbats()
- Private Constructor. This class is a singleton and should be instantiated
only internally.
To obtain the singleton instance of this class, use
getInstance()
.
getInstance
public static GlyphListZapfDingbats getInstance()
- Returns the singleton instance of this class.
- Returns:
- The singleton isntance of this class.
isStatic
public boolean isStatic()
- Indicates whether the data in this glyph list is static, that is,
tied entirely to the class itself and not built dynamically.
This is used primarily to determine whether the instance should actually
be serialized.
Static subclasses should override this method.
- Overrides:
isStatic
in class GlyphList4a
- Returns:
- True iff all data in this glyph list is static and does not
need to be serialized.
Copyright © 2017. All rights reserved.