com.esri.arcgis.display
Class FontName

java.lang.Object
  extended by com.esri.arcgis.display.FontName
All Implemented Interfaces:
IFontName, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class FontName
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IFontName

The name of the font.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
FontName()
          Constructs a FontName using ArcGIS Engine.
FontName(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FontName theFontName = (FontName) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getName()
          The name of the font.
 int hashCode()
          the hashcode for this object
 void setName(String name)
          The name of the font.
 
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

FontName

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

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

FontName

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

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

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

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the font.

Description

Name is the name of the font for an IFontName.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getName in interface IFontName
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String name)
             throws IOException,
                    AutomationException
The name of the font.

Description

Name is the name of the font for an IFontName.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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