com.esri.arcgis.arcmapui
Class IGenericWindowProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcmapui.IDataWindowProxy
          extended by com.esri.arcgis.arcmapui.IGenericWindowProxy
All Implemented Interfaces:
IDataWindow, IGenericWindow, Externalizable, Serializable

public class IGenericWindowProxy
extends IDataWindowProxy
implements IGenericWindow, Serializable

Provides access to members that control a data window with a particular hWnd.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGenericWindowProxy()
           
  IGenericWindowProxy(Object obj)
           
protected IGenericWindowProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IGenericWindow getFindWindow(String windowName)
          Find an already displayed window.
 String getName()
          Name of data window.
 void removeListener(String iidStr, Object theListener)
           
 void setActiveXUID(IUID rhs1)
          UID of ActiveX component to place in data window.
 void setName(String pWindowName)
          Name of data window.
 void setTitle(String rhs1)
          Name displayed on form.
 
Methods inherited from class com.esri.arcgis.arcmapui.IDataWindowProxy
getHWnd, isDockable, isVisible, putPosition, queryPosition, refresh, setApplicationByRef, show
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.arcmapui.IDataWindow
getHWnd, isDockable, isVisible, putPosition, queryPosition, refresh, setApplicationByRef, show
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGenericWindowProxy

public IGenericWindowProxy()

IGenericWindowProxy

public IGenericWindowProxy(Object obj)
                    throws IOException
Throws:
IOException

IGenericWindowProxy

protected IGenericWindowProxy(Object obj,
                              String iid)
                       throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IDataWindowProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IDataWindowProxy
Throws:
IOException

setTitle

public void setTitle(String rhs1)
              throws IOException,
                     AutomationException
Name displayed on form.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setTitle in interface IGenericWindow
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String pWindowName)
             throws IOException,
                    AutomationException
Name of data window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setName in interface IGenericWindow
Parameters:
pWindowName - The pWindowName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public String getName()
               throws IOException,
                      AutomationException
Name of data window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setActiveXUID

public void setActiveXUID(IUID rhs1)
                   throws IOException,
                          AutomationException
UID of ActiveX component to place in data window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setActiveXUID in interface IGenericWindow
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFindWindow

public IGenericWindow getFindWindow(String windowName)
                             throws IOException,
                                    AutomationException
Find an already displayed window.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getFindWindow in interface IGenericWindow
Parameters:
windowName - The windowName (in)
Returns:
A reference to a com.esri.arcgis.arcmapui.IGenericWindow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.