com.esri.arcgis.cartoUI
Class GraticuleFactory

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

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

Graticule factory class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

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

GraticuleFactory

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

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

GraticuleFactory

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

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

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.