com.esri.arcgis.output
Class FontMapEnvironment

java.lang.Object
  extended by com.esri.arcgis.output.FontMapEnvironment
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IFontMapEnvironment, Serializable

public class FontMapEnvironment
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IFontMapEnvironment

A global collection of font mapping settings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
FontMapEnvironment()
          Constructs a FontMapEnvironment using ArcGIS Engine.
FontMapEnvironment(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FontMapEnvironment theFontMapEnvironment = (FontMapEnvironment) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getApplyDefaultMappingDesc()
          The Font Mapping checkbox description string.
static String getClsid()
          getClsid.
 String getDefaultMapping()
          The Default Font Mapping string.
 Object getDefaultMappingsChoices()
          The Default Mapping Choices for Font Substitution.
 IFontMapCollection getFontMapCollection()
          The FontMap Collection.
 int hashCode()
          the hashcode for this object
 boolean isSaveMappings()
          Indicates whether to save font mappings.
 void setApplyDefaultMappingDesc(String applyDefaultMappingDesc)
          The Font Mapping checkbox description string.
 void setDefaultMapping(String defaultMapping)
          The Default Font Mapping string.
 void setDefaultMappingsChoices(Object defaultMappingChoices)
          The Default Mapping Choices for Font Substitution.
 void setSaveMappings(boolean saveMappings)
          Indicates whether to save font mappings.
 
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

FontMapEnvironment

public FontMapEnvironment()
                   throws IOException,
                          UnknownHostException
Constructs a FontMapEnvironment using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

FontMapEnvironment

public FontMapEnvironment(Object obj)
                   throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FontMapEnvironment theFontMapEnvironment = (FontMapEnvironment) obj;

Construct a FontMapEnvironment using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FontMapEnvironment.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setSaveMappings

public void setSaveMappings(boolean saveMappings)
                     throws IOException,
                            AutomationException
Indicates whether to save font mappings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setSaveMappings in interface IFontMapEnvironment
Parameters:
saveMappings - The saveMappings (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSaveMappings

public boolean isSaveMappings()
                       throws IOException,
                              AutomationException
Indicates whether to save font mappings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isSaveMappings in interface IFontMapEnvironment
Returns:
The saveMappings
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFontMapCollection

public IFontMapCollection getFontMapCollection()
                                        throws IOException,
                                               AutomationException
The FontMap Collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFontMapCollection in interface IFontMapEnvironment
Returns:
A reference to a com.esri.arcgis.output.IFontMapCollection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultMappingsChoices

public void setDefaultMappingsChoices(Object defaultMappingChoices)
                               throws IOException,
                                      AutomationException
The Default Mapping Choices for Font Substitution.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDefaultMappingsChoices in interface IFontMapEnvironment
Parameters:
defaultMappingChoices - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultMappingsChoices

public Object getDefaultMappingsChoices()
                                 throws IOException,
                                        AutomationException
The Default Mapping Choices for Font Substitution.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDefaultMappingsChoices in interface IFontMapEnvironment
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultMapping

public void setDefaultMapping(String defaultMapping)
                       throws IOException,
                              AutomationException
The Default Font Mapping string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDefaultMapping in interface IFontMapEnvironment
Parameters:
defaultMapping - The defaultMapping (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultMapping

public String getDefaultMapping()
                         throws IOException,
                                AutomationException
The Default Font Mapping string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDefaultMapping in interface IFontMapEnvironment
Returns:
The defaultMapping
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApplyDefaultMappingDesc

public void setApplyDefaultMappingDesc(String applyDefaultMappingDesc)
                                throws IOException,
                                       AutomationException
The Font Mapping checkbox description string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setApplyDefaultMappingDesc in interface IFontMapEnvironment
Parameters:
applyDefaultMappingDesc - The applyDefaultMappingDesc (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getApplyDefaultMappingDesc

public String getApplyDefaultMappingDesc()
                                  throws IOException,
                                         AutomationException
The Font Mapping checkbox description string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getApplyDefaultMappingDesc in interface IFontMapEnvironment
Returns:
The applyDefaultMappingDesc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.