com.esri.arcgis.editor
Class EnumDimensionStyle

java.lang.Object
  extended by com.esri.arcgis.editor.EnumDimensionStyle
All Implemented Interfaces:
IEnumDimensionStyle, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class EnumDimensionStyle
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumDimensionStyle

Enumeration of dimension styles.

Remarks

A reference to an EnumDimensionStyle class may be obtained via the IDimensionStyles::GetStyles interface.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
EnumDimensionStyle(Object obj)
          Construct a EnumDimensionStyle using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 int hashCode()
          the hashcode for this object
 IDimensionStyle next()
          Returns the next style in the enumeration.
 void reset()
          Resets the enumerator such that a subsequent next returns the first style.
 
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

EnumDimensionStyle

public EnumDimensionStyle(Object obj)
                   throws IOException
Construct a EnumDimensionStyle using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EnumDimensionStyle.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
EnumDimensionStyle o = (EnumDimensionStyle)obj; // will not work

EnumDimensionStyle o = new EnumDimensionStyle(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems EnumDimensionStyle theEnumDimensionStyle = (EnumDimensionStyle) obj;
Method Detail

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

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumerator such that a subsequent next returns the first style.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
reset in interface IEnumDimensionStyle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public IDimensionStyle next()
                     throws IOException,
                            AutomationException
Returns the next style in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IEnumDimensionStyle
Returns:
A reference to a com.esri.arcgis.carto.IDimensionStyle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.