com.esri.arcgis.maplex
Class EnumMaplexPlacedLabel

java.lang.Object
  extended by com.esri.arcgis.maplex.EnumMaplexPlacedLabel
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IEnumMaplexPlacedLabel, Serializable

public class EnumMaplexPlacedLabel
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumMaplexPlacedLabel

A list of placed labels created by the Maplex Overposter.

Product Availability

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

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
EnumMaplexPlacedLabel(Object obj)
          Construct a EnumMaplexPlacedLabel 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
 IMaplexPlacedLabel next()
          Next placed label in the enumeration.
 void reset()
          Reset the enumeration to the beginning.
 
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

EnumMaplexPlacedLabel

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

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

Throws:
IOException - if there are interop problems EnumMaplexPlacedLabel theEnumMaplexPlacedLabel = (EnumMaplexPlacedLabel) 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

next

public IMaplexPlacedLabel next()
                        throws IOException,
                               AutomationException
Next placed label in the enumeration.

Product Availability

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

Supported Platforms

Windows

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

reset

public void reset()
           throws IOException,
                  AutomationException
Reset the enumeration to the beginning.

Product Availability

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

Supported Platforms

Windows

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