com.esri.arcgis.cartoUI
Class MeasuredGridFactory

java.lang.Object
  extended by com.esri.arcgis.cartoUI.MeasuredGridFactory
All Implemented Interfaces:
IMapGridFactory, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class MeasuredGridFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IMapGridFactory

Measured grid factory class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
MeasuredGridFactory()
          Constructs a MeasuredGridFactory using ArcGIS Engine.
MeasuredGridFactory(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MeasuredGridFactory theMeasuredGridFactory = (MeasuredGridFactory) obj;
 
Method Summary
 IMapGrid create(IMapFrame mapFrame)
          Creates a map grid.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getName()
          The name of the map grid class.
 int hashCode()
          the hashcode for this object
 
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

MeasuredGridFactory

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

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

MeasuredGridFactory

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

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

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 map grid class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

create

public IMapGrid create(IMapFrame mapFrame)
                throws IOException,
                       AutomationException
Creates a map grid.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
create in interface IMapGridFactory
Parameters:
mapFrame - A reference to a com.esri.arcgis.carto.IMapFrame (in)
Returns:
A reference to a com.esri.arcgis.carto.IMapGrid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.