com.esri.arcgis.display
Class FontAttributeItalic

java.lang.Object
  extended by com.esri.arcgis.display.FontAttributeItalic
All Implemented Interfaces:
IFontAttribute, IItalic, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class FontAttributeItalic
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IFontAttribute, IItalic

Controls whether the text will be drawn in italics.

Description

FontAttributeItalic provides the ability to set text to the Italic state.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
FontAttributeItalic()
          Constructs a FontAttributeItalic using ArcGIS Engine.
FontAttributeItalic(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FontAttributeItalic theFontAttributeItalic = (FontAttributeItalic) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 boolean isState()
          Indicates if a boolean font attribute is set.
 void setState(boolean state)
          Indicates if a boolean font attribute is set.
 
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

FontAttributeItalic

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

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

FontAttributeItalic

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

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

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

isState

public boolean isState()
                throws IOException,
                       AutomationException
Indicates if a boolean font attribute is set.

Description

Boolean setting of either Italic, Bold or Underline.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isState in interface IFontAttribute
Returns:
The state
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setState

public void setState(boolean state)
              throws IOException,
                     AutomationException
Indicates if a boolean font attribute is set.

Description

Boolean setting of either Italic, Bold or Underline.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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