com.esri.arcgis.cartoUI
Class MgrsGridFactory

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

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

MGRS grid factory class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
MgrsGridFactory()
          Constructs a MgrsGridFactory using ArcGIS Engine.
MgrsGridFactory(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MgrsGridFactory theMgrsGridFactory = (MgrsGridFactory) 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

MgrsGridFactory

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

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

MgrsGridFactory

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

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

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.