|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.display.ScreenDisplay
Display class for drawing to window.
The ScreenDisplay object is a display device that is associated with a window. In addition to managing the display attributes for the screen, a ScreenDisplay also manages other issues specific to windows including backing stores (caches), scrolling, and invalidation.
Several objects manage (CoCreate) a ScreenDisplay object to help control their associated window. For example, each active view, Map and PageLayout, has its own associated ScreenDisplay and so does the MapInsetWindow. The AppDisplay object does not instantiate a new ScreenDisplay object; instead, this object implements the IScreenDisplay interface which is also what the ScreenDisplay object does.
A reference to a ScreenDisplay object is typically obtained via IActiveView::ScreenDisplay for the active views or ILensWindow::ScreenDisplay for the MapInsetWindow.
The ScreenDisplay object is CoCreateable; one case when you may have to create a new ScreenDisplay object, is when creating a custom active view.
The ScreenDisplay object listens for and reacts to the following keyboard and mouse actions:
Mouse-Wheel: Pan up and down the display
Cntrl Mouse-Wheel : Zoom in and out of the display
Page Up Key : Pan up the display
Page Down Key : Pan down the display
Home Key : Pan to the far left of the display extent
End Key : Pan to the far right of the display extent
IActiveView,
Serialized Form| Constructor Summary | |
ScreenDisplay()
Constructs a ScreenDisplay using ArcGIS Engine. |
|
ScreenDisplay(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
short |
addCache()
Creates a new cache and return its ID. |
void |
addIDisplayEventsListener(IDisplayEvents theListener)
|
void |
boundsUpdated(ITransformEventsBoundsUpdatedEvent theEvent)
Notifies clients when the bounds is updated. |
void |
deviceFrameUpdated(ITransformEventsDeviceFrameUpdatedEvent theEvent)
Notifies clients when the device frame is updated. |
void |
doScroll(int xDelta,
int yDelta,
boolean updateScreen)
Scrolls the screen by the specified amount. |
void |
draw(IGeometry geometry)
Draws the specified shape. |
void |
drawCache(int hDC,
short index,
tagRECT deviceRect,
tagRECT cacheRect)
Draws the specified screen cache to the specified window device context. |
void |
drawMultipoint(IGeometry multipoint)
Draws specified multipoint on the display. |
void |
drawPoint(IGeometry point)
Draws specified point on the display. |
void |
drawPolygon(IGeometry polygon)
Draws specified polygon on the display. |
void |
drawPolyline(IGeometry polyline)
Draws specified line on the display. |
void |
drawRectangle(IEnvelope rectangle)
Draws specified rectangle on the display. |
void |
drawText(IGeometry shape,
java.lang.String text)
Draws specified text on the display. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
Supported Platforms |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
Supported Platforms |
void |
finishDrawing()
Completes drawing. |
void |
finishFeedback()
Ends feedback drawing. |
void |
frameScrolled(int x,
int y)
Call on frame display when container is scrolled. |
short |
getActiveCache()
Screen cache where drawing occurs. |
IConnectionPointContainer |
getAsIConnectionPointContainer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IDisplay |
getAsIDisplay()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IDraw |
getAsIDraw()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IDynamicScreenDisplay |
getAsIDynamicScreenDisplay()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IScreenCacheManager |
getAsIScreenCacheManager()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IScreenDisplay |
getAsIScreenDisplay()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IScreenDisplay2 |
getAsIScreenDisplay2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IScreenDisplayZoom |
getAsIScreenDisplayZoom()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IScreenInvalidate |
getAsIScreenInvalidate()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITransformEvents |
getAsITransformEvents()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
int |
getBackgroundRGB()
The RGB value of the background color. |
short |
getCacheCount()
Number of screen caches. |
void |
getCacheFlags(short cacheID,
int[] flags)
Get special properties of specified cache. |
int |
getCacheMemDC(short index)
Memory device context for the specified screen cache. |
short |
getCacheOrder(short cacheID)
Sets or returns the order of the specified cache. |
ITrackCancel |
getCancelTracker()
Cancel tracker that is associated with the display. |
IEnvelope |
getClipEnvelope()
The bounds of the invalid region. |
ISet |
getClipEnvelopes()
The invalid region as a set of envelopes. |
IGeometry |
getClipGeometry()
User-specified clip shape. |
IGeometry |
getClipRegion()
Clipping region (polygon or envelope). |
static java.lang.String |
getClsid()
|
java.lang.Object |
getCustomProperty()
Custom property. |
IDisplayTransformation |
getDisplayTransformation()
The transformation used by the display. |
void |
getDrawingOffset(int[] x,
int[] y)
The offset between the device origin and the active cache origin. |
IDisplayFilter |
getFilter()
Display filter. |
int |
getHDC()
The device context that the display is currently drawing to. |
int |
getHPalette()
Palette. |
int |
getHWnd()
Associated window handle. |
IIlluminationProps |
getIlluminationProps()
Illumination properties used by the display. |
IArea |
getInvalidArea()
The bounds of the invalid region. |
IEnvelope |
getInvalidEnvelope()
The bounds of the invalid region. |
int |
getWindowDC()
Device context for the associated window. |
int |
hashCode()
the hashcode for this object |
void |
invalidate(IEnvelope rect,
boolean erase,
short cacheIndex)
Cause the specified area of the specified cache to redraw. |
void |
invalidateShape(IGeometry pGeometry,
double symbolSizePoints,
boolean erase,
short cacheIndex)
Cause the specified area of the specified cache to redraw. |
boolean |
isCacheDirty(short cacheIndex)
Indicates if the specified cache needs refreshing. |
boolean |
isDynamicDisplayEnabled()
Indicates if dynamic display is turn on or off. |
boolean |
isFirstCacheTransparent()
Indicates if the bottom cache is transparent. |
boolean |
isFramed()
Indicates if drawing occurs in a frame rather than on the whole window. |
boolean |
isScaleContents()
Indicates if the contents of the screen scale when a resize occurs. |
boolean |
isSuppressEvents()
Indicates if display object suppresses events. |
boolean |
isSuppressResize()
Indicates if display resizing is suppressed. |
boolean |
isUseScrollbars()
Indicates if scrollbars should appear. |
void |
modifyCacheFlags(short cacheID,
int flagsToAdd,
int flagsToRemove)
Set special properties of specified cache. |
void |
panMoveTo(IPoint mouseLocation)
Pans to a new point. |
void |
panStart(IPoint mouseLocation)
Prepares display for panning. |
IEnvelope |
panStop()
Stops panning and returns new visible bounds. |
void |
progress(int vertexCount)
Call frequently during drawing process. |
void |
putCacheOrder(short cacheID,
short order)
Sets or returns the order of the specified cache. |
void |
removeAllCaches()
Removes all caches. |
void |
removeCache(short cacheID)
Removes the specified cache. |
void |
removeIDisplayEventsListener(IDisplayEvents theListener)
|
void |
resolutionUpdated(ITransformEventsResolutionUpdatedEvent theEvent)
Notifies clients when the resolution is updated. |
void |
rotateMoveTo(IPoint pPoint)
Rotates to new point. |
void |
rotateStart(IPoint mousePt,
IPoint centerPt)
Prepares display for rotating. |
double |
rotateStop()
Stops rotating and returns new angle. |
void |
rotateTimer()
Draws the rotated display. |
void |
rotationUpdated(ITransformEventsRotationUpdatedEvent theEvent)
Notifies clients when the rotation angle is updated. |
void |
setActiveCache(short index)
Screen cache where drawing occurs. |
void |
setBackgroundRGB(int rGB)
The RGB value of the background color. |
void |
setCancelTrackerByRef(ITrackCancel cancelTracker)
Cancel tracker that is associated with the display. |
void |
setClipGeometry(IGeometry geometry)
User-specified clip shape. |
void |
setCustomProperty(java.lang.Object customProperty)
Custom property. |
void |
setDisplayTransformation(IDisplayTransformation displayTransformation)
The transformation used by the display. |
void |
setFilterByRef(IDisplayFilter filter)
Display filter. |
void |
setHPalette(int hPalette)
Palette. |
void |
setHWnd(int hWnd)
Associated window handle. |
void |
setIlluminationProps(IIlluminationProps illuminationProps)
Illumination properties used by the display. |
void |
setIsFirstCacheTransparent(boolean flag)
Indicates if the bottom cache is transparent. |
void |
setIsFramed(boolean flag)
Indicates if drawing occurs in a frame rather than on the whole window. |
void |
setScaleContents(boolean flag)
Indicates if the contents of the screen scale when a resize occurs. |
void |
setScrollbarHandles(int hWndHorzScrollbar,
int hWndVertScrollbar)
Optionally specify application supplied scrollbars. |
void |
setSuppressEvents(boolean suppressEvents)
Indicates if display object suppresses events. |
void |
setSuppressResize(boolean suppressResize)
Indicates if display resizing is suppressed. |
void |
setSymbol(ISymbol sym)
Sets the symbol used for drawing. |
void |
setUseScrollbars(boolean flag)
Indicates if scrollbars should appear. |
void |
startDrawing(int hDC,
short cacheID)
Prepare the display for drawing. |
void |
startFeedback()
Prepare the display for drawing selection/rubberbanding. |
void |
startRecording()
Starts recording all output to the recording cache. |
void |
stopRecording()
Stops recording to the recording cache. |
void |
trackPan()
Interactively pans the screen. |
void |
trackRotate()
Interactively rotates the screen. |
void |
trackZoom()
Interactively Zooms the screen. |
void |
unitsUpdated(ITransformEventsUnitsUpdatedEvent theEvent)
Notifies clients when the units are updated. |
void |
updateWindow()
Forces a redraw. |
void |
validate(short cacheIndex)
Clear dirty flag for specified cache. |
void |
visibleBoundsUpdated(ITransformEventsVisibleBoundsUpdatedEvent theEvent)
Notifies clients when the visible bounds is updated. |
void |
zoomMoveTo(IPoint point)
Zooms to a new extent. |
void |
zoomStart(IPoint point)
Prepares display for zooming. |
IEnvelope |
zoomStop()
Stops zooming and returns new visible bounds. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScreenDisplay()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ScreenDisplay(java.lang.Object obj)
throws java.io.IOException
obj to ScreenDisplay. ScreenDisplay theScreenDisplay = (ScreenDisplay) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IScreenDisplay getAsIScreenDisplay()
public IScreenDisplay2 getAsIScreenDisplay2()
public IScreenCacheManager getAsIScreenCacheManager()
public IScreenInvalidate getAsIScreenInvalidate()
public IDisplay getAsIDisplay()
public IDraw getAsIDraw()
public ITransformEvents getAsITransformEvents()
public IConnectionPointContainer getAsIConnectionPointContainer()
public IDynamicScreenDisplay getAsIDynamicScreenDisplay()
public IScreenDisplayZoom getAsIScreenDisplayZoom()
public boolean equals(java.lang.Object o)
public int hashCode()
public void addIDisplayEventsListener(IDisplayEvents theListener)
throws java.io.IOException
java.io.IOException
public void removeIDisplayEventsListener(IDisplayEvents theListener)
throws java.io.IOException
java.io.IOException
public void setHWnd(int hWnd)
throws java.io.IOException,
AutomationException
IScreenDisplay
setHWnd in interface IScreenDisplayhWnd - The hWnd (A COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHWnd()
throws java.io.IOException,
AutomationException
IScreenDisplayThe hWnd property tells ScreenDisplay objects which window to draw in. When a new view (a Map or PageLayout) is created and activated (IActiveView::Activate), a related ScreenDisplay is created and its hWnd is set to that of the main application. Data windows, such as the MapInsetWindow, also have a related ScreenDisplay object and in this case the ScreenDisplay's hWnd property is set so that all drawing will occur in the data window and not the main application window.
Several Windows API calls require an hWnd in order to perform their operation; this property provides the hWnd for the ScreenDisplay object you are currently working with. For example, several of ArcMap's zoom commands use the Windows API function 'GetClientRect' to get the coordinates of the main window's client area. GetClientRect requires the hWnd of the window of interest and in ArcMap's case, IScreenDisplay::hWnd holds this.
getHWnd in interface IScreenDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getWindowDC()
throws java.io.IOException,
AutomationException
IScreenDisplayThis property is a Windows operating environment device context handle. The Windows operating environment manages the system display by assigning a device context for each window in the application. You can use the WindowDC property to refer to the handle for an object's device context.
This property does not provide a value to pass to IDisplay::StartDrawing. Instead, call IDisplay::StartDrawing with a value of 0 for the hDC as this will automatically use the Windows API function GetDC to populate IScreenDisplay::WindowDC with the hDC of the main display and drawing will occur there.
The value of the WindowDC property can change while an application runs, so do not store the value in a variable; instead, use the WindowDC property each time you need it.
getWindowDC in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public short addCache()
throws java.io.IOException,
AutomationException
IScreenDisplayScreenDisplay objects make it possible for clients to create any number of caches. A cache is an off screen bitmap representing the application's window. Instead of drawing directly to the screen, graphics are drawn into caches, then the caches are drawn on the screen. When the application's window is obscured and requires redrawing, it done so from the caches instead of from a database. In this way, caches improve drawing performance - bitmap rendering is faster than reading and displaying data from a database.
In general, a Map object creates three caches: one for all the layers, another if there are annotation or graphics, and a third cache if there is a feature selection. A layer can create its own private cache if it sets ILayer::Cached equal to TRUE. In this case, the Map will create a separate cache for the layer and groups the layers above and below it into different caches.
The AppDisplay object has no implementation for this method.
addCache in interface IScreenDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeCache(short cacheID)
throws java.io.IOException,
AutomationException
IScreenDisplayUse this method to remove a cache that is no longer needed. For example, calling the IActiveView::PartialRefresh method on a Map object will delete the Map's selection cache if one exists and there are no features selected.
The AppDisplay object has no implementation for this method.
removeCache in interface IScreenDisplaycacheID - The cacheID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public short getCacheCount()
throws java.io.IOException,
AutomationException
IScreenDisplayUse this property to loop through all of the available screen caches. For example, if you Invalidate using esriAllScreenCaches, this property is used to loop through all of the caches to invalidate each one.
The AppDisplay object has no implementation for this method.
getCacheCount in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void removeAllCaches()
throws java.io.IOException,
AutomationException
IScreenDisplayUse this property to clear all of the screen caches the current object has. For example, when a Map is deactivated (IActiveView::Deactivate) it uses this property to remove all of its caches.
The AppDisplay object has no implementation for this method.
removeAllCaches in interface IScreenDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCacheMemDC(short index)
throws java.io.IOException,
AutomationException
IScreenDisplayEach cache is an offscreen bitmap. Use this property to retrieve the device context (hDc) for the bitmap associated with a particular cache. With the hDc you can, for example, draw the bitmap (cache) in a particular window using DrawCache.
getCacheMemDC in interface IScreenDisplayindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setActiveCache(short index)
throws java.io.IOException,
AutomationException
IScreenDisplay
setActiveCache in interface IScreenDisplayindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public short getActiveCache()
throws java.io.IOException,
AutomationException
IScreenDisplay
getActiveCache in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setIsFirstCacheTransparent(boolean flag)
throws java.io.IOException,
AutomationException
IScreenDisplay
setIsFirstCacheTransparent in interface IScreenDisplayflag - The flag (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isFirstCacheTransparent()
throws java.io.IOException,
AutomationException
IScreenDisplay
isFirstCacheTransparent in interface IScreenDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void startRecording()
throws java.io.IOException,
AutomationException
IScreenDisplayIn addition to the caches clients create, the ScreenDisplay object also provides a recording cache that accumulates all drawing that happens on the display. This recording cache is used to redraw the application when the application is moved or exposed or when drawing rubber banding.
Note, StartRecording and StopRecording are exposed for developers creating custom applications that draw from multiple caches and need to refresh quickly. If you are working with ArcMap or even the Map object, leave all cache management up to the Map.
Use StartRecording to let the display know exactly what to record. Use DrawCache(esriScreenRecording) to display the recording cache. Use CacheMemDC(esriScreenRecording) to get a handle to the memory device context for the recording bitmap.
The following C++ code excerpt is a drawing sequence example that uses StartRecording.
VARIANT_BOOL isCacheDirty;
m_ipScreen->IsCacheDirty(esriScreenRecording, &isCacheDirty);
if (isCacheDirty) // draw from scratch
{
m_ipScreen->StartRecording();
m_ipScreen->StartDrawing((OLE_HANDLE)hPaintDC, esriNoScreenCache);
DrawContents();
m_ipScreen->FinishDrawing();
m_ipScreen->StopRecording();
}
else // draw from offscreen bitmap
{
m_ipScreen->DrawCache((OLE_HANDLE)hPaintDC, esriScreenRecording, 0, 0);
}
startRecording in interface IScreenDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void stopRecording()
throws java.io.IOException,
AutomationException
IScreenDisplayIn addition to the caches clients create, the ScreenDisplay object also provides a recording cache that accumulates all drawing that happens on the display. This recording cache is used to redraw the application when the application is moved or exposed or when drawing rubber banding.
Note, StartRecording and StopRecording are exposed for developers creating custom applications that draw from multiple caches and need to refresh quickly. If you are working with ArcMap or even the Map object, leave all cache management up to the Map.
Use StartRecording to let the display know exactly what to record. Use DrawCache(esriScreenRecording) to display the recording cache. Use CacheMemDC(esriScreenRecording) to get a handle to the memory device context for the recording bitmap.
The following C++ code excerpt is a drawing sequence example that uses StartRecording.
VARIANT_BOOL isCacheDirty;
m_ipScreen->IsCacheDirty(esriScreenRecording, &isCacheDirty);
if (isCacheDirty) // draw from scratch
{
m_ipScreen->StartRecording();
m_ipScreen->StartDrawing((OLE_HANDLE)hPaintDC, esriNoScreenCache);
DrawContents();
m_ipScreen->FinishDrawing();
m_ipScreen->StopRecording();
}
else // draw from offscreen bitmap
{
m_ipScreen->DrawCache((OLE_HANDLE)hPaintDC, esriScreenRecording, 0, 0);
}
stopRecording in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setUseScrollbars(boolean flag)
throws java.io.IOException,
AutomationException
IScreenDisplay
setUseScrollbars in interface IScreenDisplayflag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseScrollbars()
throws java.io.IOException,
AutomationException
IScreenDisplayIActiveView::ShowScrollBars redirects all its calls to this property.
Changes to this property are not reflected until the active view changes. For example, when in layout view in ArcMap, programmatically changing the PageLayout to not show its scrollbars will have no effect until the next time the active view is set to the PageLayout; calling IActiveView::Refresh has no effect.
ArcMap uses this property to hide the Map's scroll bars when in layout view. Programmatically trying to display a Map's scroll bar in layout view will have no effect; for Map's this setting is only honored in data view and again it requires an active view change before the setting is reflected in the applications window.
isUseScrollbars in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setScrollbarHandles(int hWndHorzScrollbar,
int hWndVertScrollbar)
throws java.io.IOException,
AutomationException
IScreenDisplay
setScrollbarHandles in interface IScreenDisplayhWndHorzScrollbar - The hWndHorzScrollbar (A COM typedef) (in)hWndVertScrollbar - The hWndVertScrollbar (A COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setScaleContents(boolean flag)
throws java.io.IOException,
AutomationException
IScreenDisplay
setScaleContents in interface IScreenDisplayflag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isScaleContents()
throws java.io.IOException,
AutomationException
IScreenDisplayIf a Map's ScaleContents property is set to TRUE, when its display is resized, the area shown stays the same and the scale changes. When set to FALSE, the scale of the Map stays the same and the area shown changes.
The PageLayout object works similarly. If set to TRUE, the contents are stretched when the display is resized. The scale of all maps changes. When set to FALSE, the page remains the same size.
In ArcMap, on the Tools/Options menu, there are check boxes for controlling this property for the data and layout view.
isScaleContents in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSuppressResize(boolean suppressResize)
throws java.io.IOException,
AutomationException
IScreenDisplay
setSuppressResize in interface IScreenDisplaysuppressResize - The suppressResize (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSuppressResize()
throws java.io.IOException,
AutomationException
IScreenDisplay
isSuppressResize in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isFramed()
throws java.io.IOException,
AutomationException
IScreenDisplay
isFramed in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setIsFramed(boolean flag)
throws java.io.IOException,
AutomationException
IScreenDisplay
setIsFramed in interface IScreenDisplayflag - The flag (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ITrackCancel getCancelTracker()
throws java.io.IOException,
AutomationException
IScreenDisplay
getCancelTracker in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCancelTrackerByRef(ITrackCancel cancelTracker)
throws java.io.IOException,
AutomationException
IScreenDisplay
setCancelTrackerByRef in interface IScreenDisplaycancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void invalidate(IEnvelope rect,
boolean erase,
short cacheIndex)
throws java.io.IOException,
AutomationException
IScreenDisplayUse Invalidate to refresh a specific region on the display. For example, if you add a new feature, only the extent of the new feature requires refreshing; the remainder of the display can redraw from cache.
The rect parameter specifies the region to update. Use 'Nothing' in Visual Basic or a zero in C++ to invalidate the entire display.
Erase specifies whether or not the background within the update region is erased when the update region is processed. Usually this is set to TRUE.
CacheIndex controls which cache to update. Use IActiveView::ScreenCacheID to get the cache index for a specific draw phase. The valid draw phases are held in the esriViewDrawPhase enumeration and are as follows:
0 - esriViewNone
1 - esriViewBackground
2 - esriViewGeography
4 - esriViewGeoSelection
8 - esriViewGraphics
16 - esriViewGraphicSelection
32 - esriviewForeground
You can also specify esriAllScreenCaches, esriNoScreenCache, and esriScreenRecording.
Invalidate sets the cache(s) as dirty. Use IsCacheDirty to check the state of a particular cache.
After completion, Invalidate fires the IDisplayEvents::DisplayInvalidated event.
IActiveView::PartialRefresh has similar parameters and itself calls Invalidate. Use this method instead as much as possible as it automatically determines the cache index based on the phase provided.
invalidate in interface IScreenDisplayrect - A reference to a com.esri.arcgis.geometry.IEnvelope (in)erase - The erase (in)cacheIndex - The cacheIndex (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isCacheDirty(short cacheIndex)
throws java.io.IOException,
AutomationException
IScreenDisplay
isCacheDirty in interface IScreenDisplaycacheIndex - The cacheIndex (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void drawCache(int hDC,
short index,
tagRECT deviceRect,
tagRECT cacheRect)
throws java.io.IOException,
AutomationException
IScreenDisplayRedrawing data from scratch is time consuming compared to drawing data that has been cached in an off-screen bitmap. If a particular cache return FALSE for IsCacheDirty, use DrawCache to instantly redraw the bitmap.
Use the CacheMemDC property to get the desired cache's hDC.
drawCache in interface IScreenDisplayhDC - The hDC (A COM typedef) (in)index - The index (in)deviceRect - A Structure: com.esri.arcgis.display.tagRECT (in)cacheRect - A Structure: com.esri.arcgis.display.tagRECT (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void doScroll(int xDelta,
int yDelta,
boolean updateScreen)
throws java.io.IOException,
AutomationException
IScreenDisplayArcMap's scroll bars call this method to scroll the current display. The updateScreen parameter specifies whether or not the display will be refreshed after the scroll.
doScroll in interface IScreenDisplayxDelta - The xDelta (in)yDelta - The yDelta (in)updateScreen - The updateScreen (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void trackPan()
throws java.io.IOException,
AutomationException
IScreenDisplayThere are two approaches to panning - this method, and the group PanStart, PanMoveTo, and PanStop. This method is the easiest to use as it takes care of all the mouse events and refreshing the display when pan is complete.
Call this method in the mouse down event and make certain you have a reference to the correct ScreenDisplay object. For example, if you are in layout view and you want to pan just the focus map, do not use the ScreenDisplay object associated with IMxDocument::ActiveView. Instead, get the focus Map via IMxDocument::FocusMap, and then get its ScreenDisplay.
trackPan in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void panStart(IPoint mouseLocation)
throws java.io.IOException,
AutomationException
IScreenDisplayCall PanStart to initiate panning. The required point parameter specifies the pan's starting point. Call PanMoveTo next to specify a destination point.
The typical sequence for using the pan methods is as follows:
See TrackPan for an alternative panning approach.
panStart in interface IScreenDisplaymouseLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void panMoveTo(IPoint mouseLocation)
throws java.io.IOException,
AutomationException
IScreenDisplayPanMoveTo pans the display by calculating an offset distance between the start point supplied to PanStart and the destination point provided to this method. The recording cache is automatically redrawn each time PanMoveTo is called. Use the envelope PanStop returns to truly refresh the display.
The typical sequence for using the pan methods is as follows:
See TrackPan for an alternative panning approach.
panMoveTo in interface IScreenDisplaymouseLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnvelope panStop()
throws java.io.IOException,
AutomationException
IScreenDisplayPanStop creates an Envelope that should be used to reset the extent of the active view. Because PanMoveTo redraws only the recording cache (bitmap), there are typically blank areas in the display. Call IActiveView::Refresh after calling PanStop to invalidate the entire display.
The typical sequence for using the pan methods is as follows:
See TrackPan for an alternative panning approach.
panStop in interface IScreenDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IActiveView.setExtent(com.esri.arcgis.geometry.IEnvelope)
public void trackRotate()
throws java.io.IOException,
AutomationException
IScreenDisplayThere are two approaches to rotating the display - this method and the group RotateStart, RotateMoveTo, RotateTimer, and RotateStop. This method is the easiest to use as it takes care of all the mouse events automatically, performs the final display rotation, and invalidates the display.
Call this method in the mouse down event and make certain you have a reference to the correct ScreenDisplay object. For example, if you are in layout view and you want to pan just the focus map, do not use the ScreenDisplay object associated with IMxDocument::ActiveView. Instead, get the focus Map via IMxDocument::FocusMap, and then get its ScreenDisplay.
trackRotate in interface IScreenDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rotateStart(IPoint mousePt,
IPoint centerPt)
throws java.io.IOException,
AutomationException
IScreenDisplayCall RotateStart to initiate rotating the display. The required point parameter specifies the starting point of the rotation. Call RotateMoveTo next to specify the rotation destination point, a rotation angle is calculated based on these two points.
The typical sequence for using the rotate methods is as follows:
See TrackRotate for an alternative rotating approach.
rotateStart in interface IScreenDisplaymousePt - A reference to a com.esri.arcgis.geometry.IPoint (in)centerPt - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.Rotate
public void rotateMoveTo(IPoint pPoint)
throws java.io.IOException,
AutomationException
IScreenDisplayRotateMoveTo rotates the display based on the calculated angle between the start point supplied to RotateStart and the destination point provided to this method. Next call RotateTimer to show the rotation degree readout and repaint the display from cache.
The typical sequence for using the rotate methods is as follows:
See TrackRotate for an alternative rotating approach.
rotateMoveTo in interface IScreenDisplaypPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.Rotate
public void rotateTimer()
throws java.io.IOException,
AutomationException
IScreenDisplayRotateTimer shows the rotation degree readout and repaints the display from cache.
The typical sequence for using the rotate methods is as follows:
See TrackRotate for an alternative rotating approach.
rotateTimer in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.Rotate
public double rotateStop()
throws java.io.IOException,
AutomationException
IScreenDisplayRotateStop returns the final rotation angle. You must call IDisplayTransformation::Rotation with the final rotation angle to actually rotate the display.
The typical sequence for using the rotate methods is as follows:
See TrackRotate for an alternative rotating approach.
rotateStop in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.Rotate
public void updateWindow()
throws java.io.IOException,
AutomationException
IScreenDisplayUse UpdateWindow to process pending Windows WM_PAINT messages immediately. This may be the case if you have a routine that takes a long time to execute and you need the window to refresh while the code executes. Typically, no drawing will occur until all your code has been executed and control returns to the ArcMap's message loop and the WM_PAINT message is handled. UpdateWindow forces the window to invalidate by sending a WM_PAINT message directly to the window; the normal ArcMap message queue is bypassed.
See UpdateWindow in MSDN for more information.
updateWindow in interface IScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IDisplayTransformation getDisplayTransformation()
throws java.io.IOException,
AutomationException
IDisplay
getDisplayTransformation in interface IDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDisplayTransformation(IDisplayTransformation displayTransformation)
throws java.io.IOException,
AutomationException
IDisplay
setDisplayTransformation in interface IDisplaydisplayTransformation - A reference to a com.esri.arcgis.display.IDisplayTransformation (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getClipEnvelope()
throws java.io.IOException,
AutomationException
IDisplay
getClipEnvelope in interface IDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISet getClipEnvelopes()
throws java.io.IOException,
AutomationException
IDisplay
getClipEnvelopes in interface IDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IGeometry getClipGeometry()
throws java.io.IOException,
AutomationException
IDisplayUse the ClipGeometry property to shape the area data is drawn in. For example, if you had a map of the United States that contained many layers, you could set the ClipGeometry property on the focus Map's ScreenDisplay object equal to the geometry of a particular state thereby telling the map to only draw the data falling within the particular state's area. The ClipGeometry is used to cookie-cut all data before it is drawn.
See IMap::ClipGeometry for a more information and a sample.
getClipGeometry in interface IDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setClipGeometry(IGeometry geometry)
throws java.io.IOException,
AutomationException
IDisplay
setClipGeometry in interface IDisplaygeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isSuppressEvents()
throws java.io.IOException,
AutomationException
IDisplayFor example, IScreenDisplay::StartDrawing sets SuppressEvents to TRUE and FinishDrawing sets it back to FALSE, this prevents all transform events from firing during the drawing.
SuppressEvents is set to FALSE by default.
isSuppressEvents in interface IDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSuppressEvents(boolean suppressEvents)
throws java.io.IOException,
AutomationException
IDisplay
setSuppressEvents in interface IDisplaysuppressEvents - The suppressEvents (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IDisplayFilter getFilter()
throws java.io.IOException,
AutomationException
IDisplay
getFilter in interface IDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setFilterByRef(IDisplayFilter filter)
throws java.io.IOException,
AutomationException
IDisplay
setFilterByRef in interface IDisplayfilter - A reference to a com.esri.arcgis.display.IDisplayFilter (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHPalette()
throws java.io.IOException,
AutomationException
IDisplay
getHPalette in interface IDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setHPalette(int hPalette)
throws java.io.IOException,
AutomationException
IDisplay
setHPalette in interface IDisplayhPalette - The hPalette (A COM typedef) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void startDrawing(int hDC,
short cacheID)
throws java.io.IOException,
AutomationException
IDisplayStartDrawing and FinishDrawing are used to manage clipping, symbols, and caching. Call StartDrawing and FinishDrawing anytime you want to draw to a device such as a display, printer, or cache (bitmap). However, if you are drawing in response to IActiveViewEvents::AfterDraw, the Map object automatically makes these calls for you.
StartDrawing has two parameters: hDc and cacheID. The hDc parameter specifies the target device where drawing will occur, usually a display, printer, or bitmap. The cacheID parameter activates a specific cache. In most cases, esriNoScreenCache should be used.
Specifying a cache sets it as the screen's active cache. When esriNoScreenCache is used, it sets the display's active cache to zero and drawing occurs directly in the device. Specify a cache when you don't want to draw to a screen directly and you instead want to draw to a cache (bitmap) that may ultimately be copied to the screen. For example, when ArcMap draws geography, it draws it to a specific cache and then the cache is copied to the screen. When the screen repaints, instead of drawing all the data from scratch again, the software checks if the cache is dirty or not and simply redraws the bitmap to save time if it can. When drawing to a cache, the hDc parameter should be the device context of the bitmap, use the IScreenDisplay::CacheMemDC property to get a particular cache's hDC.
Each time you need to change the cache you are drawing to, you must do so inside a new StartDrawing / FinishDrawing block. For example, ArcMap usually creates three caches: one for geography layers, one for graphics and annotation, and one for selections. ArcMap draws each of these phases within a separate StartDrawing / FinishDrawing block.
There are times when may need to draw shapes directly to screen without having them become part of a display cache. For example, drawing moving objects. In these cases, use IScreenDisplay::WindowDC to get the device context of the display and esriNoScreenCache as the cacheID.
If a zero is specified for the hDc parameter, the Windows API function GetDC is used to populate IScreenDisplay::WindowDC with the hDC of the main display and drawing is sent here.
StartDrawing fires the IDisplayEvents::DisplayStarted event.
startDrawing in interface IDisplayhDC - The hDC (A COM typedef) (in)cacheID - The cacheID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHDC()
throws java.io.IOException,
AutomationException
IDisplayReturns the device context specified to StartDrawing. This may be the device context of a display, cache (bitmap), or some other device such as a printer. As StartDrawing is called frequently throughout the drawing pipeline, the hDc property continually changes and is therefore safe to use only within a single StartDrawing / FinishDrawing block.
This property does not provide a value to pass to IDisplay::StartDrawing. Instead, call IDisplay::StartDrawing with a value of 0 for the hDC as this will automatically use the Windows API function GetDC to populate IScreenDisplay::WindowDC with the hDC of the main display and drawing will occur there.
getHDC in interface IDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void finishDrawing()
throws java.io.IOException,
AutomationException
IDisplay
finishDrawing in interface IDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void progress(int vertexCount)
throws java.io.IOException,
AutomationException
IDisplay
progress in interface IDisplayvertexCount - The vertexCount (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void drawPoint(IGeometry point)
throws java.io.IOException,
AutomationException
IDisplayDrawPoint draws a Point object with the symbol that must be specified before hand with the SetSymbol method. All draw methods must be enclosed between the calls to StartDrawing and FinishDrawing unless you are drawing in response to the IActiveViewEvents::AfterDraw event.
drawPoint in interface IDisplaypoint - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawMultipoint(IGeometry multipoint)
throws java.io.IOException,
AutomationException
IDisplay
drawMultipoint in interface IDisplaymultipoint - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawRectangle(IEnvelope rectangle)
throws java.io.IOException,
AutomationException
IDisplay
drawRectangle in interface IDisplayrectangle - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawPolyline(IGeometry polyline)
throws java.io.IOException,
AutomationException
IDisplay
drawPolyline in interface IDisplaypolyline - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void drawPolygon(IGeometry polygon)
throws java.io.IOException,
AutomationException
IDisplay
drawPolygon in interface IDisplaypolygon - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawText(IGeometry shape,
java.lang.String text)
throws java.io.IOException,
AutomationException
IDisplay
drawText in interface IDisplayshape - A reference to a com.esri.arcgis.geometry.IGeometry (in)text - The text (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbol(ISymbol sym)
throws java.io.IOException,
AutomationException
IDisplay
setSymbol in interface IDisplaysym - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IIlluminationProps getIlluminationProps()
throws java.io.IOException,
AutomationException
IDisplay
getIlluminationProps in interface IDisplayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIlluminationProps(IIlluminationProps illuminationProps)
throws java.io.IOException,
AutomationException
IDisplay
setIlluminationProps in interface IDisplayilluminationProps - A reference to a com.esri.arcgis.display.IIlluminationProps (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setBackgroundRGB(int rGB)
throws java.io.IOException,
AutomationException
IScreenDisplay2
setBackgroundRGB in interface IScreenDisplay2rGB - The rGB (A COM typedef) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getBackgroundRGB()
throws java.io.IOException,
AutomationException
IScreenDisplay2
getBackgroundRGB in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getDrawingOffset(int[] x,
int[] y)
throws java.io.IOException,
AutomationException
IScreenDisplay2
getDrawingOffset in interface IScreenDisplay2x - The x (out: use single element array)y - The y (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void validate(short cacheIndex)
throws java.io.IOException,
AutomationException
IScreenDisplay2
validate in interface IScreenDisplay2cacheIndex - The cacheIndex (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void startFeedback()
throws java.io.IOException,
AutomationException
IScreenDisplay2
startFeedback in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void finishFeedback()
throws java.io.IOException,
AutomationException
IScreenDisplay2
finishFeedback in interface IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void frameScrolled(int x,
int y)
throws java.io.IOException,
AutomationException
IScreenDisplay2
frameScrolled in interface IScreenDisplay2x - The x (in)y - The y (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getCacheFlags(short cacheID,
int[] flags)
throws java.io.IOException,
AutomationException
IScreenCacheManager
getCacheFlags in interface IScreenCacheManagercacheID - The cacheID (in)flags - A com.esri.arcgis.display.esriDisplayCacheFlags constant (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void modifyCacheFlags(short cacheID,
int flagsToAdd,
int flagsToRemove)
throws java.io.IOException,
AutomationException
IScreenCacheManager
modifyCacheFlags in interface IScreenCacheManagercacheID - The cacheID (in)flagsToAdd - A com.esri.arcgis.display.esriDisplayCacheFlags constant (in)flagsToRemove - A com.esri.arcgis.display.esriDisplayCacheFlags constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void putCacheOrder(short cacheID,
short order)
throws java.io.IOException,
AutomationException
IScreenCacheManager
putCacheOrder in interface IScreenCacheManagercacheID - The cacheID (in)order - The order (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public short getCacheOrder(short cacheID)
throws java.io.IOException,
AutomationException
IScreenCacheManager
getCacheOrder in interface IScreenCacheManagercacheID - The cacheID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnvelope getInvalidEnvelope()
throws java.io.IOException,
AutomationException
IScreenInvalidate
getInvalidEnvelope in interface IScreenInvalidateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IArea getInvalidArea()
throws java.io.IOException,
AutomationException
IScreenInvalidate
getInvalidArea in interface IScreenInvalidateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void invalidateShape(IGeometry pGeometry,
double symbolSizePoints,
boolean erase,
short cacheIndex)
throws java.io.IOException,
AutomationException
IScreenInvalidate
invalidateShape in interface IScreenInvalidatepGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)symbolSizePoints - The symbolSizePoints (in)erase - The erase (in)cacheIndex - The cacheIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IGeometry geometry)
throws java.io.IOException,
AutomationException
IDraw
draw in interface IDrawgeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getCustomProperty()
throws java.io.IOException,
AutomationException
IDraw
getCustomProperty in interface IDrawAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCustomProperty(java.lang.Object customProperty)
throws java.io.IOException,
AutomationException
IDraw
setCustomProperty in interface IDrawcustomProperty - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getClipRegion()
throws java.io.IOException,
AutomationException
IDraw
getClipRegion in interface IDrawjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void boundsUpdated(ITransformEventsBoundsUpdatedEvent theEvent)
throws java.io.IOException,
AutomationException
ITransformEvents
boundsUpdated in interface ITransformEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void visibleBoundsUpdated(ITransformEventsVisibleBoundsUpdatedEvent theEvent)
throws java.io.IOException,
AutomationException
ITransformEvents
visibleBoundsUpdated in interface ITransformEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void deviceFrameUpdated(ITransformEventsDeviceFrameUpdatedEvent theEvent)
throws java.io.IOException,
AutomationException
ITransformEvents
deviceFrameUpdated in interface ITransformEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void resolutionUpdated(ITransformEventsResolutionUpdatedEvent theEvent)
throws java.io.IOException,
AutomationException
ITransformEvents
resolutionUpdated in interface ITransformEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void rotationUpdated(ITransformEventsRotationUpdatedEvent theEvent)
throws java.io.IOException,
AutomationException
ITransformEvents
rotationUpdated in interface ITransformEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void unitsUpdated(ITransformEventsUnitsUpdatedEvent theEvent)
throws java.io.IOException,
AutomationException
ITransformEvents
unitsUpdated in interface ITransformEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws java.io.IOException,
AutomationException
IConnectionPointContainerIConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws java.io.IOException,
AutomationException
IConnectionPointContainerIConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint in interface IConnectionPointContainerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isDynamicDisplayEnabled()
throws java.io.IOException,
AutomationException
IDynamicScreenDisplay
isDynamicDisplayEnabled in interface IDynamicScreenDisplayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void zoomStart(IPoint point)
throws java.io.IOException,
AutomationException
IScreenDisplayZoom
zoomStart in interface IScreenDisplayZoompoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomMoveTo(IPoint point)
throws java.io.IOException,
AutomationException
IScreenDisplayZoom
zoomMoveTo in interface IScreenDisplayZoompoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope zoomStop()
throws java.io.IOException,
AutomationException
IScreenDisplayZoom
zoomStop in interface IScreenDisplayZoomjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void trackZoom()
throws java.io.IOException,
AutomationException
IScreenDisplayZoom
trackZoom in interface IScreenDisplayZoomAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||