com.esri.arcgis.cartoUI
Class CustomOverlayGridFactory

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

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

Custom overlay grid factory class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

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

CustomOverlayGridFactory

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

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

CustomOverlayGridFactory

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

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

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.