com.esri.arcgis.cartoUI
Class IndexGridFactory

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

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

Index grid factory class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

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

IndexGridFactory

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

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

IndexGridFactory

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

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

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.