com.esri.arcgis.arcmapui
Class OverviewWindowFactory

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

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

Factory to generate an Overview window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
OverviewWindowFactory()
          Constructs a OverviewWindowFactory using ArcGIS Engine.
OverviewWindowFactory(Object obj)
          Construct a OverviewWindowFactory 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

OverviewWindowFactory

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

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

OverviewWindowFactory

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems OverviewWindowFactory theOverviewWindowFactory = (OverviewWindowFactory) 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.