|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.output.FontMapCollection
public class FontMapCollection
A collection of font mappings.
The font map collection houses the set of font maps used by the PS printer or PS exporter objects.
The FontMapCollection is a collection object whose life cycle is tied to that of the object that created it, such as PsPrinter or PsExporter. This object controls the set of FontMap objects defined for use with the PostScript driver. An object of this type is returned by IFontMapEnvironment::FontMapCollection. Use this object to make your adjustments to the font mapping environment.
By default, the collection returned by IFontMapEnvironment::FontMapCollection will have some values in it. These default values are defined by the system. You can then add additional FontMap objects to the collection.
Constructor Summary | |
---|---|
FontMapCollection()
Constructs a FontMapCollection using ArcGIS Engine. |
|
FontMapCollection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FontMapCollection theFontMapCollection = (FontMapCollection) obj; |
Method Summary | |
---|---|
void |
add(IFontMap fontMap)
Add an IFontMap to the FontMap collection. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
The count of the FontMap collection. |
IFontMap |
getFontMap(int index)
An IFontMap from the FontMap collection. |
int |
hashCode()
the hashcode for this object |
void |
insert(int index,
IFontMap fontMap)
Insert an IFontMap into the FontMap collection at position index. |
void |
remove(int index)
Removes IFontMap at index from the FontMap collection. |
void |
removeAll()
Removes all IFontMaps from the FontMap collection. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public FontMapCollection() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic FontMapCollection(Object obj) throws IOException
FontMapCollection theFontMapCollection = (FontMapCollection) obj;
obj
to FontMapCollection
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getCount() throws IOException, AutomationException
getCount
in interface IFontMapCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFontMap getFontMap(int index) throws IOException, AutomationException
getFontMap
in interface IFontMapCollection
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(IFontMap fontMap) throws IOException, AutomationException
add
in interface IFontMapCollection
fontMap
- A reference to a com.esri.arcgis.output.IFontMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int index, IFontMap fontMap) throws IOException, AutomationException
insert
in interface IFontMapCollection
index
- The index (in)fontMap
- A reference to a com.esri.arcgis.output.IFontMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws IOException, AutomationException
remove
in interface IFontMapCollection
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IFontMapCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |