com.esri.arcgis.arcmapui
Class IDataWindow2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcmapui.IDataWindow2Proxy
All Implemented Interfaces:
IDataWindow2, Externalizable, Serializable

public class IDataWindow2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IDataWindow2, Serializable

Provides access to members that control popup windows that show map data.

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
  IDataWindow2Proxy()
           
  IDataWindow2Proxy(Object obj)
           
protected IDataWindow2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void destroy()
          Close and destroy the window.
 int getHWnd()
          The window's handle.
 String getTag()
          For developer use.
 boolean isDockable()
          Indicates if the window is dockable.
 boolean isEnableContextMenu()
          Indicates if the context menu should be enabled.
 boolean isVisible()
          Indicates if the window is visible.
 void putPosition(int left, int top, int right, int bottom)
          The window's position in screen pixels.
 void queryPosition(int[] left, int[] top, int[] right, int[] bottom)
          The window's position in screen pixels.
 void refresh()
          Cause the window to redraw.
 void removeListener(String iidStr, Object theListener)
           
 void setApplicationByRef(Object rhs1)
          Provides the window with a reference to the application.
 void setEnableContextMenu(boolean enable)
          Indicates if the context menu should be enabled.
 void setTag(String tag)
          For developer use.
 void show(boolean show)
          Indicates if the window is shown.
 
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
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IDataWindow2Proxy

public IDataWindow2Proxy()

IDataWindow2Proxy

public IDataWindow2Proxy(Object obj)
                  throws IOException
Throws:
IOException

IDataWindow2Proxy

protected IDataWindow2Proxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

setApplicationByRef

public void setApplicationByRef(Object rhs1)
                         throws IOException,
                                AutomationException
Provides the window with a reference to the application.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setApplicationByRef in interface IDataWindow2
Parameters:
rhs1 - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHWnd

public int getHWnd()
            throws IOException,
                   AutomationException
The window's handle.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getHWnd in interface IDataWindow2
Returns:
The hWnd (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPosition

public void queryPosition(int[] left,
                          int[] top,
                          int[] right,
                          int[] bottom)
                   throws IOException,
                          AutomationException
The window's position in screen pixels.

Product Availability

Available with ArcGIS Desktop.

Specified by:
queryPosition in interface IDataWindow2
Parameters:
left - The left (out: use single element array)
top - The top (out: use single element array)
right - The right (out: use single element array)
bottom - The bottom (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putPosition

public void putPosition(int left,
                        int top,
                        int right,
                        int bottom)
                 throws IOException,
                        AutomationException
The window's position in screen pixels.

Product Availability

Available with ArcGIS Desktop.

Specified by:
putPosition in interface IDataWindow2
Parameters:
left - The left (in)
top - The top (in)
right - The right (in)
bottom - The bottom (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

public boolean isVisible()
                  throws IOException,
                         AutomationException
Indicates if the window is visible.

Product Availability

Available with ArcGIS Desktop.

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

isDockable

public boolean isDockable()
                   throws IOException,
                          AutomationException
Indicates if the window is dockable.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isDockable in interface IDataWindow2
Returns:
The isVisible
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(boolean show)
          throws IOException,
                 AutomationException
Indicates if the window is shown.

Product Availability

Available with ArcGIS Desktop.

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

refresh

public void refresh()
             throws IOException,
                    AutomationException
Cause the window to redraw.

Product Availability

Available with ArcGIS Desktop.

Specified by:
refresh in interface IDataWindow2
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTag

public String getTag()
              throws IOException,
                     AutomationException
For developer use.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getTag in interface IDataWindow2
Returns:
The tag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTag

public void setTag(String tag)
            throws IOException,
                   AutomationException
For developer use.

Product Availability

Available with ArcGIS Desktop.

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

isEnableContextMenu

public boolean isEnableContextMenu()
                            throws IOException,
                                   AutomationException
Indicates if the context menu should be enabled.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isEnableContextMenu in interface IDataWindow2
Returns:
The enable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnableContextMenu

public void setEnableContextMenu(boolean enable)
                          throws IOException,
                                 AutomationException
Indicates if the context menu should be enabled.

Product Availability

Available with ArcGIS Desktop.

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

destroy

public void destroy()
             throws IOException,
                    AutomationException
Close and destroy the window.

Product Availability

Available with ArcGIS Desktop.

Specified by:
destroy in interface IDataWindow2
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.