com.esri.arcgis.output
Class FontMap

java.lang.Object
  extended by com.esri.arcgis.output.FontMap
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IFontMap, IFontMap2, java.io.Serializable

public class FontMap
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IFontMap, IFontMap2

COM Class 'FontMap'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriOutput.olb'

Description 'Class used to map a font from a TrueType Font to a resident Adobe Type 1 Font for the PostScript Printer Driver, EPS Export Driver and PDF Export Driver.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.output.IFontMap
IID, IID7539e7dc_2d89_11d3_9fc6_00c04f6bc8dd, xxDummy
 
Fields inherited from interface com.esri.arcgis.output.IFontMap2
IID, IIDe4f70d20_046d_490d_a5e3_066e681ab5b1, xxDummy
 
Constructor Summary
FontMap()
          Constructs a FontMap using ArcGIS Engine.
FontMap(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FontMap theFontMap = (FontMap) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getMappedFont()
          Creates an association between the TrueType Font and the Mapped Font.
 java.lang.String getTrueTypeFont()
          Creates an association between the TrueType Font and the Mapped Font.
 int hashCode()
          the hashcode for this object
 void release()
          Release a FontMap.
 void setMapping(java.lang.String trueTypeFont, java.lang.String rhs2)
          Creates an association between the TrueType Font and the Mapped Font.
 void setMapping2(java.lang.String trueTypeFont, java.lang.String rhs2)
          Creates an association between the TrueType Font and the Mapped Font.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontMap

public FontMap()
        throws java.io.IOException,
               java.net.UnknownHostException
Constructs a FontMap using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

FontMap

public FontMap(java.lang.Object obj)
        throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FontMap theFontMap = (FontMap) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a FontMap.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getTrueTypeFont

public java.lang.String getTrueTypeFont()
                                 throws java.io.IOException,
                                        AutomationException
Creates an association between the TrueType Font and the Mapped Font.

Specified by:
getTrueTypeFont in interface IFontMap
Specified by:
getTrueTypeFont in interface IFontMap2
Returns:
The font
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMappedFont

public java.lang.String getMappedFont()
                               throws java.io.IOException,
                                      AutomationException
Creates an association between the TrueType Font and the Mapped Font.

Specified by:
getMappedFont in interface IFontMap
Specified by:
getMappedFont in interface IFontMap2
Returns:
The font
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapping

public void setMapping(java.lang.String trueTypeFont,
                       java.lang.String rhs2)
                throws java.io.IOException,
                       AutomationException
Creates an association between the TrueType Font and the Mapped Font.

Specified by:
setMapping in interface IFontMap
Specified by:
setMapping in interface IFontMap2
Parameters:
trueTypeFont - The trueTypeFont (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapping2

public void setMapping2(java.lang.String trueTypeFont,
                        java.lang.String rhs2)
                 throws java.io.IOException,
                        AutomationException
Creates an association between the TrueType Font and the Mapped Font.

Specified by:
setMapping2 in interface IFontMap2
Parameters:
trueTypeFont - The trueTypeFont (in)
rhs2 - The rhs2 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.