|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IScreenCacheManager
Provides access to a ScreenDisplay's caches.
| Method Summary | |
|---|---|
short |
addCache()
Creates a new cache and return its ID. |
void |
drawCache(int hDC,
short index,
tagRECT deviceRect,
tagRECT cacheRect)
Draws the specified screen cache to the specified window device context. |
short |
getActiveCache()
Screen cache where drawing occurs. |
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. |
boolean |
isCacheDirty(short cacheIndex)
Indicates if the specified cache needs refreshing. |
boolean |
isFirstCacheTransparent()
Indicates if the bottom cache is transparent. |
void |
modifyCacheFlags(short cacheID,
int flagsToAdd,
int flagsToRemove)
Set special properties of specified cache. |
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 |
setActiveCache(short index)
Screen cache where drawing occurs. |
void |
setIsFirstCacheTransparent(boolean flag)
Indicates if the bottom cache is transparent. |
void |
startRecording()
Starts recording all output to the recording cache. |
void |
stopRecording()
Stops recording to the recording cache. |
| Method Detail |
|---|
short addCache()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void removeCache(short cacheID)
throws IOException,
AutomationException
cacheID - The cacheID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
short getCacheCount()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void removeAllCaches()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getCacheMemDC(short index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setActiveCache(short index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
short getActiveCache()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setIsFirstCacheTransparent(boolean flag)
throws IOException,
AutomationException
flag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isFirstCacheTransparent()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getCacheFlags(short cacheID,
int[] flags)
throws IOException,
AutomationException
cacheID - The cacheID (in)flags - A com.esri.arcgis.display.esriDisplayCacheFlags constant (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void modifyCacheFlags(short cacheID,
int flagsToAdd,
int flagsToRemove)
throws IOException,
AutomationException
cacheID - The cacheID (in)flagsToAdd - A com.esri.arcgis.display.esriDisplayCacheFlags constant (in)flagsToRemove - A com.esri.arcgis.display.esriDisplayCacheFlags constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void putCacheOrder(short cacheID,
short order)
throws IOException,
AutomationException
cacheID - The cacheID (in)order - The order (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
short getCacheOrder(short cacheID)
throws IOException,
AutomationException
cacheID - The cacheID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void startRecording()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void stopRecording()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isCacheDirty(short cacheIndex)
throws IOException,
AutomationException
cacheIndex - The cacheIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void drawCache(int hDC,
short index,
tagRECT deviceRect,
tagRECT cacheRect)
throws IOException,
AutomationException
hDC - The hDC (A COM typedef) (in)index - The index (in)deviceRect - A Structure: com.esri.arcgis.system.tagRECT (in)cacheRect - A Structure: com.esri.arcgis.system.tagRECT (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||