|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.display.IDisplayProxy
com.esri.arcgis.display.IScreenDisplay2Proxy
Provides access to additional members that control the Screen Display.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IScreenDisplay2Proxy()
For internal use only |
|
IScreenDisplay2Proxy(java.lang.Object obj)
|
protected |
IScreenDisplay2Proxy(java.lang.Object obj,
java.lang.String iid)
|
|
IScreenDisplay2Proxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IScreenDisplay2Proxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
short |
addCache()
Creates a new cache and return its ID. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
void |
doScroll(int xDelta,
int yDelta,
boolean updateScreen)
Scrolls the screen by the specified amount. |
void |
drawCache(int hDC,
short index,
tagRECT deviceRect,
tagRECT cacheRect)
Draws the specified screen cache to the specified window device context. |
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. |
int |
getBackgroundRGB()
The RGB value of the background color. |
short |
getCacheCount()
Number of screen caches. |
int |
getCacheMemDC(short index)
Memory device context for the specified screen cache. |
ITrackCancel |
getCancelTracker()
Cancel tracker that is associated with the display. |
void |
getDrawingOffset(int[] x,
int[] y)
The offset between the device origin and the active cache origin. |
int |
getHWnd()
Associated window handle. |
int |
getWindowDC()
Device context for the associated window. |
void |
invalidate(IEnvelope rect,
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 |
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 |
isSuppressResize()
Indicates if display resizing is suppressed. |
boolean |
isUseScrollbars()
Indicates if scrollbars should appear. |
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 |
removeAllCaches()
Removes all caches. |
void |
removeCache(short cacheID)
Removes the specified cache. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
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 |
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 |
setHWnd(int hWnd)
Associated window handle. |
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 |
setSuppressResize(boolean suppressResize)
Indicates if display resizing is suppressed. |
void |
setUseScrollbars(boolean flag)
Indicates if scrollbars should appear. |
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 |
updateWindow()
Forces a redraw. |
void |
validate(short cacheIndex)
Clear dirty flag for specified cache. |
| 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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
public static final java.lang.Class targetClass
| Constructor Detail |
public IScreenDisplay2Proxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IScreenDisplay2Proxy()
public IScreenDisplay2Proxy(java.lang.Object obj)
throws java.io.IOException
protected IScreenDisplay2Proxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IScreenDisplay2Proxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class IDisplayProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IDisplayProxyjava.io.IOException
public void setHWnd(int hWnd)
throws java.io.IOException,
AutomationException
IScreenDisplay2
setHWnd in interface IScreenDisplay2hWnd - 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
IScreenDisplay2
getHWnd in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getWindowDC()
throws java.io.IOException,
AutomationException
IScreenDisplay2This 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 IScreenDisplay2::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 IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short addCache()
throws java.io.IOException,
AutomationException
IScreenDisplay2
addCache in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void removeCache(short cacheID)
throws java.io.IOException,
AutomationException
IScreenDisplay2
removeCache in interface IScreenDisplay2cacheID - 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
IScreenDisplay2
getCacheCount in interface IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAllCaches()
throws java.io.IOException,
AutomationException
IScreenDisplay2
removeAllCaches in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getCacheMemDC(short index)
throws java.io.IOException,
AutomationException
IScreenDisplay2
getCacheMemDC in interface IScreenDisplay2index - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setActiveCache(short index)
throws java.io.IOException,
AutomationException
IScreenDisplay2
setActiveCache in interface IScreenDisplay2index - 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
IScreenDisplay2
getActiveCache in interface IScreenDisplay2AutomationException - 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
IScreenDisplay2
setIsFirstCacheTransparent in interface IScreenDisplay2flag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFirstCacheTransparent()
throws java.io.IOException,
AutomationException
IScreenDisplay2
isFirstCacheTransparent in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void startRecording()
throws java.io.IOException,
AutomationException
IScreenDisplay2
startRecording in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void stopRecording()
throws java.io.IOException,
AutomationException
IScreenDisplay2
stopRecording in interface IScreenDisplay2AutomationException - 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
IScreenDisplay2
setUseScrollbars in interface IScreenDisplay2flag - 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
IScreenDisplay2
isUseScrollbars in interface IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setScrollbarHandles(int hWndHorzScrollbar,
int hWndVertScrollbar)
throws java.io.IOException,
AutomationException
IScreenDisplay2
setScrollbarHandles in interface IScreenDisplay2hWndHorzScrollbar - 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
IScreenDisplay2
setScaleContents in interface IScreenDisplay2flag - The flag (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isScaleContents()
throws java.io.IOException,
AutomationException
IScreenDisplay2
isScaleContents in interface IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSuppressResize(boolean suppressResize)
throws java.io.IOException,
AutomationException
IScreenDisplay2
setSuppressResize in interface IScreenDisplay2suppressResize - 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
IScreenDisplay2
isSuppressResize in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isFramed()
throws java.io.IOException,
AutomationException
IScreenDisplay2
isFramed in interface IScreenDisplay2AutomationException - 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
IScreenDisplay2
setIsFramed in interface IScreenDisplay2flag - 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
IScreenDisplay2
getCancelTracker in interface IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCancelTrackerByRef(ITrackCancel cancelTracker)
throws java.io.IOException,
AutomationException
IScreenDisplay2
setCancelTrackerByRef in interface IScreenDisplay2cancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void invalidate(IEnvelope rect,
boolean erase,
short cacheIndex)
throws java.io.IOException,
AutomationException
IScreenDisplay2
invalidate in interface IScreenDisplay2rect - 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
IScreenDisplay2
isCacheDirty in interface IScreenDisplay2cacheIndex - 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
IScreenDisplay2
drawCache in interface IScreenDisplay2hDC - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void doScroll(int xDelta,
int yDelta,
boolean updateScreen)
throws java.io.IOException,
AutomationException
IScreenDisplay2
doScroll in interface IScreenDisplay2xDelta - 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
IScreenDisplay2
trackPan in interface IScreenDisplay2AutomationException - 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
IScreenDisplay2
panStart in interface IScreenDisplay2mouseLocation - 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 panMoveTo(IPoint mouseLocation)
throws java.io.IOException,
AutomationException
IScreenDisplay2
panMoveTo in interface IScreenDisplay2mouseLocation - 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 panStop()
throws java.io.IOException,
AutomationException
IScreenDisplay2
panStop in interface IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void trackRotate()
throws java.io.IOException,
AutomationException
IScreenDisplay2
trackRotate in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void rotateStart(IPoint mousePt,
IPoint centerPt)
throws java.io.IOException,
AutomationException
IScreenDisplay2
rotateStart in interface IScreenDisplay2mousePt - A reference to a com.esri.arcgis.geometry.IPoint (in)centerPt - 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 rotateMoveTo(IPoint pPoint)
throws java.io.IOException,
AutomationException
IScreenDisplay2
rotateMoveTo in interface IScreenDisplay2pPoint - 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 rotateTimer()
throws java.io.IOException,
AutomationException
IScreenDisplay2
rotateTimer in interface IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double rotateStop()
throws java.io.IOException,
AutomationException
IScreenDisplay2
rotateStop in interface IScreenDisplay2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void updateWindow()
throws java.io.IOException,
AutomationException
IScreenDisplay2
updateWindow in interface IScreenDisplay2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||