com.esri.arcgis.display
Class IAppDisplayProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.display.IDisplayProxy
          extended bycom.esri.arcgis.display.IScreenDisplayProxy
              extended bycom.esri.arcgis.display.IAppDisplayProxy
All Implemented Interfaces:
java.io.Externalizable, IAppDisplay, IDisplay, IScreenDisplay, java.io.Serializable

public class IAppDisplayProxy
extends IScreenDisplayProxy
implements IAppDisplay, java.io.Serializable

Provides access to members that control the Mx Display.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IAppDisplayProxy()
          For internal use only
  IAppDisplayProxy(java.lang.Object obj)
           
protected IAppDisplayProxy(java.lang.Object obj, java.lang.String iid)
           
  IAppDisplayProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IAppDisplayProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 int getCount()
          The number of ScreenDisplays associated with the application.
 IScreenDisplay getFocusScreen()
          The ScreenDisplay associated with the window the mouse is over.
 IScreenDisplay getMainScreen()
          The ScreenDisplay associated with the main application window.
 IScreenDisplay getScreenDisplay(int idx)
          The nth ScreenDisplay associated with the application.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void setMainScreenByRef(IScreenDisplay mainScreen)
          The ScreenDisplay associated with the main application window.
 
Methods inherited from class com.esri.arcgis.display.IScreenDisplayProxy
addCache, doScroll, drawCache, getActiveCache, getCacheCount, getCacheMemDC, getCancelTracker, getHWnd, getWindowDC, invalidate, isCacheDirty, isFirstCacheTransparent, isFramed, isScaleContents, isSuppressResize, isUseScrollbars, panMoveTo, panStart, panStop, removeAllCaches, removeCache, rotateMoveTo, rotateStart, rotateStop, rotateTimer, setActiveCache, setCancelTrackerByRef, setHWnd, setIsFirstCacheTransparent, setIsFramed, setScaleContents, setScrollbarHandles, setSuppressResize, setUseScrollbars, startRecording, stopRecording, trackPan, trackRotate, updateWindow
 
Methods inherited from class com.esri.arcgis.display.IDisplayProxy
drawMultipoint, drawPoint, drawPolygon, drawPolyline, drawRectangle, drawText, finishDrawing, getClipEnvelope, getClipEnvelopes, getClipGeometry, getDisplayTransformation, getFilter, getHDC, getHPalette, getIlluminationProps, isSuppressEvents, progress, setClipGeometry, setDisplayTransformation, setFilterByRef, setHPalette, setIlluminationProps, setSuppressEvents, setSymbol, startDrawing
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, 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.display.IScreenDisplay
addCache, doScroll, drawCache, getActiveCache, getCacheCount, getCacheMemDC, getCancelTracker, getHWnd, getWindowDC, invalidate, isCacheDirty, isFirstCacheTransparent, isFramed, isScaleContents, isSuppressResize, isUseScrollbars, panMoveTo, panStart, panStop, removeAllCaches, removeCache, rotateMoveTo, rotateStart, rotateStop, rotateTimer, setActiveCache, setCancelTrackerByRef, setHWnd, setIsFirstCacheTransparent, setIsFramed, setScaleContents, setScrollbarHandles, setSuppressResize, setUseScrollbars, startRecording, stopRecording, trackPan, trackRotate, updateWindow
 
Methods inherited from interface com.esri.arcgis.display.IDisplay
drawMultipoint, drawPoint, drawPolygon, drawPolyline, drawRectangle, drawText, finishDrawing, getClipEnvelope, getClipEnvelopes, getClipGeometry, getDisplayTransformation, getFilter, getHDC, getHPalette, getIlluminationProps, isSuppressEvents, progress, setClipGeometry, setDisplayTransformation, setFilterByRef, setHPalette, setIlluminationProps, setSuppressEvents, setSymbol, startDrawing
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IAppDisplayProxy

public IAppDisplayProxy(java.lang.String CLSID,
                        java.lang.String host,
                        AuthInfo authInfo)
                 throws java.net.UnknownHostException,
                        java.io.IOException

IAppDisplayProxy

public IAppDisplayProxy()
For internal use only


IAppDisplayProxy

public IAppDisplayProxy(java.lang.Object obj)
                 throws java.io.IOException

IAppDisplayProxy

protected IAppDisplayProxy(java.lang.Object obj,
                           java.lang.String iid)
                    throws java.io.IOException

IAppDisplayProxy

protected IAppDisplayProxy(java.lang.String CLSID,
                           java.lang.String iid,
                           java.lang.String host,
                           AuthInfo authInfo)
                    throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class IScreenDisplayProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class IScreenDisplayProxy
Throws:
java.io.IOException

setMainScreenByRef

public void setMainScreenByRef(IScreenDisplay mainScreen)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IAppDisplay
The ScreenDisplay associated with the main application window. Set this property before using the other properties and methods.

Specified by:
setMainScreenByRef in interface IAppDisplay
Parameters:
mainScreen - A reference to a com.esri.arcgis.display.IScreenDisplay (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getMainScreen

public IScreenDisplay getMainScreen()
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: IAppDisplay
The ScreenDisplay associated with the main application window. Set this property before using the other properties and methods.

Supported Platforms

Windows, Solaris, Linux

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

getFocusScreen

public IScreenDisplay getFocusScreen()
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: IAppDisplay
The ScreenDisplay associated with the window the mouse is over. May be a lens window or the main window.

Supported Platforms

Windows, Solaris, Linux

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

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IAppDisplay
The number of ScreenDisplays associated with the application.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCount in interface IAppDisplay
Returns:
The count
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getScreenDisplay

public IScreenDisplay getScreenDisplay(int idx)
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: IAppDisplay
The nth ScreenDisplay associated with the application.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getScreenDisplay in interface IAppDisplay
Parameters:
idx - The idx (in)
Returns:
A reference to a com.esri.arcgis.display.IScreenDisplay
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.