com.esri.arcgis.display
Interface IAppDisplay

All Superinterfaces:
IDisplay, IScreenDisplay, Serializable
All Known Implementing Classes:
IAppDisplayProxy

public interface IAppDisplay
extends IScreenDisplay, 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


Method Summary
 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 setMainScreenByRef(IScreenDisplay mainScreen)
          The ScreenDisplay associated with the main application window.
 
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
 

Method Detail

setMainScreenByRef

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

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

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

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

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

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

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScreenDisplay

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.

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.