com.esri.arcgis.display
Class FontColor

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

public class FontColor
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IFontColor

Controls text color.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
FontColor()
          Constructs a FontColor using ArcGIS Engine.
FontColor(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FontColor theFontColor = (FontColor) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IColor getColor()
          Font color.
 int hashCode()
          the hashcode for this object
 void setColor(IColor color)
          Font color.
 
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

FontColor

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

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

FontColor

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

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

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

getColor

public IColor getColor()
                throws IOException,
                       AutomationException
Font color.

Product Availability

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

Specified by:
getColor in interface IFontColor
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColor

public void setColor(IColor color)
              throws IOException,
                     AutomationException
Font color.

Product Availability

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

Specified by:
setColor in interface IFontColor
Parameters:
color - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.