com.esri.arcgis.display
Interface IAppDisplay

All Superinterfaces:
IDisplay, IScreenDisplay, java.io.Serializable
All Known Implementing Classes:
IAppDisplayProxy

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

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.

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.

Supported Platforms

Windows, Solaris, Linux

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.

Supported Platforms

Windows, Solaris, Linux

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.

Supported Platforms

Windows, Solaris, Linux

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.

Supported Platforms

Windows, Solaris, Linux

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.