com.esri.arcgis.arcmapui
Class ILensWindowProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcmapui.IDataWindowProxy
          extended by com.esri.arcgis.arcmapui.ILensWindowProxy
All Implemented Interfaces:
IDataWindow, ILensWindow, Externalizable, Serializable
Direct Known Subclasses:
IMapInsetWindowProxy

public class ILensWindowProxy
extends IDataWindowProxy
implements ILensWindow, Serializable

Provides access to members that control the Lens Window.

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
  ILensWindowProxy()
           
  ILensWindowProxy(Object obj)
           
protected ILensWindowProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IScreenDisplay getScreenDisplay()
          The screen display used by this window.
 boolean isLive()
          Indicates if the window shows a live view of what's under it or a snapshot.
 boolean isUpdateWhileDragging()
          Indicates if the window is redrawn as it's moved or not.
 void removeListener(String iidStr, Object theListener)
           
 void setIsLive(boolean isLive)
          Indicates if the window shows a live view of what's under it or a snapshot.
 void setUpdateWhileDragging(boolean updateWhileDragging)
          Indicates if the window is redrawn as it's moved or not.
 
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

ILensWindowProxy

public ILensWindowProxy()

ILensWindowProxy

public ILensWindowProxy(Object obj)
                 throws IOException
Throws:
IOException

ILensWindowProxy

protected ILensWindowProxy(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

getScreenDisplay

public IScreenDisplay getScreenDisplay()
                                throws IOException,
                                       AutomationException
The screen display used by this window.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getScreenDisplay in interface ILensWindow
Returns:
A reference to a com.esri.arcgis.display.IScreenDisplay
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUpdateWhileDragging

public boolean isUpdateWhileDragging()
                              throws IOException,
                                     AutomationException
Indicates if the window is redrawn as it's moved or not.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setUpdateWhileDragging

public void setUpdateWhileDragging(boolean updateWhileDragging)
                            throws IOException,
                                   AutomationException
Indicates if the window is redrawn as it's moved or not.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

isLive

public boolean isLive()
               throws IOException,
                      AutomationException
Indicates if the window shows a live view of what's under it or a snapshot.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setIsLive

public void setIsLive(boolean isLive)
               throws IOException,
                      AutomationException
Indicates if the window shows a live view of what's under it or a snapshot.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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