com.esri.arcgis.arcmapui
Class MapInsetWindowFactory

java.lang.Object
  extended by com.esri.arcgis.arcmapui.MapInsetWindowFactory
All Implemented Interfaces:
IDataWindowFactory, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class MapInsetWindowFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataWindowFactory

Factory to generate a MapInset window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
MapInsetWindowFactory()
          Constructs a MapInsetWindowFactory using ArcGIS Engine.
MapInsetWindowFactory(Object obj)
          Construct a MapInsetWindowFactory using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean canCreate(Object app)
          Indicates if the window is available given the current application state.
 IDataWindow create(Object app)
          Create a new floating window.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getName()
          The name of objects created by this factory.
 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

MapInsetWindowFactory

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

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

MapInsetWindowFactory

public MapInsetWindowFactory(Object obj)
                      throws IOException
Construct a MapInsetWindowFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MapInsetWindowFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems MapInsetWindowFactory theMapInsetWindowFactory = (MapInsetWindowFactory) obj;
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 objects created by this factory.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

canCreate

public boolean canCreate(Object app)
                  throws IOException,
                         AutomationException
Indicates if the window is available given the current application state.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
canCreate in interface IDataWindowFactory
Parameters:
app - A reference to another Automation Object (IDispatch) (in)
Returns:
The canCreate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

public IDataWindow create(Object app)
                   throws IOException,
                          AutomationException
Create a new floating window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
create in interface IDataWindowFactory
Parameters:
app - A reference to another Automation Object (IDispatch) (in)
Returns:
A reference to a com.esri.arcgis.arcmapui.IDataWindow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.