com.esri.arcgis.display
Class IAppDisplayProxy

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

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

Internal use class Proxy for COM Interface 'IAppDisplay'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to members that control the Mx Display.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.display.IAppDisplay
IID, IID534e08d6_e65a_11d0_8681_0000f8751720
 
Fields inherited from interface com.esri.arcgis.display.IScreenDisplay
IIDe6bdb004_4d35_11d0_98be_00805f7ced21
 
Fields inherited from interface com.esri.arcgis.display.IDisplay
IIDe6bdb002_4d35_11d0_98be_00805f7ced21
 
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, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IAppDisplayProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 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)
           
 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, 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.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

noncastable

public boolean noncastable
Constructor Detail

IAppDisplayProxy

public IAppDisplayProxy(java.lang.String CLSID,
                        java.lang.String host,
                        com.esri.arcgis.interop.AuthInfo authInfo)
                 throws java.net.UnknownHostException,
                        java.io.IOException
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
Throws:
java.io.IOException

IAppDisplayProxy

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

IAppDisplayProxy

protected IAppDisplayProxy(java.lang.String CLSID,
                           java.lang.String iid,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.io.IOException
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
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
Overrides:
removeListener in class IScreenDisplayProxy
Throws:
java.io.IOException

setMainScreenByRef

public void setMainScreenByRef(IScreenDisplay mainScreen)
                        throws java.io.IOException,
                               AutomationException
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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMainScreen

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

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
The ScreenDisplay associated with the window the mouse is over. May be a lens window or the main window.

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
The number of ScreenDisplays associated with the application.

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

getScreenDisplay

public IScreenDisplay getScreenDisplay(int idx)
                                throws java.io.IOException,
                                       AutomationException
The nth ScreenDisplay associated with the application.

Specified by:
getScreenDisplay in interface IAppDisplay
Parameters:
idx - The idx (in)
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.