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, Externalizable, Serializable

public class IAppDisplayProxy
extends IScreenDisplayProxy
implements IAppDisplay, Serializable

Provides access to members that control the Mx Display.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IAppDisplayProxy()
           
  IAppDisplayProxy(Object obj)
           
protected IAppDisplayProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, 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 readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setMainScreenByRef(IScreenDisplay mainScreen)
          The ScreenDisplay associated with the main application window.
 void writeExternal(ObjectOutput out)
           
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
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
 

Constructor Detail

IAppDisplayProxy

public IAppDisplayProxy()

IAppDisplayProxy

public IAppDisplayProxy(Object obj)
                 throws IOException
Throws:
IOException

IAppDisplayProxy

protected IAppDisplayProxy(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 IScreenDisplayProxy
Throws:
IOException

removeListener

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

setMainScreenByRef

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getMainScreen

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMainScreen in interface IAppDisplay
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.

getFocusScreen

public IScreenDisplay getFocusScreen()
                              throws IOException,
                                     AutomationException
The ScreenDisplay associated with the window the mouse is over. May be a lens window or the main window.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFocusScreen in interface IAppDisplay
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.

getCount

public int getCount()
             throws IOException,
                    AutomationException
The number of ScreenDisplays associated with the application.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getScreenDisplay

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

Product Availability

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

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

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException