com.esri.arcgis.display
Class IScreenCacheManagerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.display.IScreenCacheManagerProxy
All Implemented Interfaces:
IScreenCacheManager, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IScreenCacheManager'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to a ScreenDisplay's caches.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

public class IScreenCacheManagerProxy
extends com.esri.arcgis.interop.Dispatch
implements IScreenCacheManager, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.display.IScreenCacheManager
IID, IID7b3572f2_57a7_46b3_af86_9c9bca1c8f15
 
Constructor Summary
  IScreenCacheManagerProxy()
          Deprecated. For internal use only
  IScreenCacheManagerProxy(java.lang.Object obj)
          Deprecated.  
protected IScreenCacheManagerProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IScreenCacheManagerProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IScreenCacheManagerProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 short addCache()
          Deprecated. Creates a new cache and return its ID.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void drawCache(int hDC, short index, tagRECT deviceRect, tagRECT cacheRect)
          Deprecated. Draws the specified screen cache to the specified window device context.
 short getActiveCache()
          Deprecated. Screen cache where drawing occurs.
 short getCacheCount()
          Deprecated. Number of screen caches.
 void getCacheFlags(short cacheID, int[] flags)
          Deprecated. Get special properties of specified cache.
 int getCacheMemDC(short index)
          Deprecated. Memory device context for the specified screen cache.
 short getCacheOrder(short cacheID)
          Deprecated. Sets or returns the order of the specified cache.
 boolean isCacheDirty(short cacheIndex)
          Deprecated. Indicates if the specified cache needs refreshing.
 boolean isFirstCacheTransparent()
          Deprecated. Indicates if the bottom cache is transparent.
 void modifyCacheFlags(short cacheID, int flagsToAdd, int flagsToRemove)
          Deprecated. Set special properties of specified cache.
 void putCacheOrder(short cacheID, short order)
          Deprecated. Sets or returns the order of the specified cache.
 void removeAllCaches()
          Deprecated. Removes all caches.
 void removeCache(short cacheID)
          Deprecated. Removes the specified cache.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setActiveCache(short index)
          Deprecated. Screen cache where drawing occurs.
 void setIsFirstCacheTransparent(boolean flag)
          Deprecated. Indicates if the bottom cache is transparent.
 void startRecording()
          Deprecated. Starts recording all output to the recording cache.
 void stopRecording()
          Deprecated. Stops recording to the recording cache.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IScreenCacheManagerProxy

public IScreenCacheManagerProxy(java.lang.String CLSID,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.net.UnknownHostException,
                                java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IScreenCacheManagerProxy

public IScreenCacheManagerProxy()
Deprecated. 
For internal use only


IScreenCacheManagerProxy

public IScreenCacheManagerProxy(java.lang.Object obj)
                         throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IScreenCacheManagerProxy

protected IScreenCacheManagerProxy(java.lang.Object obj,
                                   java.lang.String iid)
                            throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IScreenCacheManagerProxy

protected IScreenCacheManagerProxy(java.lang.String CLSID,
                                   java.lang.String iid,
                                   java.lang.String host,
                                   com.esri.arcgis.interop.AuthInfo authInfo)
                            throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

addCache

public short addCache()
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Creates a new cache and return its ID. The ID can be specified to StartDrawing to direct output to the cache. It can also be used with a number of other methods such as DrawCache and Invalidate.

Specified by:
addCache in interface IScreenCacheManager
Returns:
The cacheID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeCache

public void removeCache(short cacheID)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Removes the specified cache.

Specified by:
removeCache in interface IScreenCacheManager
Parameters:
cacheID - The cacheID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheCount

public short getCacheCount()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Number of screen caches.

Specified by:
getCacheCount in interface IScreenCacheManager
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAllCaches

public void removeAllCaches()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Removes all caches.

Specified by:
removeAllCaches in interface IScreenCacheManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheMemDC

public int getCacheMemDC(short index)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Memory device context for the specified screen cache.

Specified by:
getCacheMemDC in interface IScreenCacheManager
Parameters:
index - The index (in)
Returns:
The hDC (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveCache

public void setActiveCache(short index)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Screen cache where drawing occurs. Use rarely. Change cache inside StartDrawing/FinishDrawing sequence.

Specified by:
setActiveCache in interface IScreenCacheManager
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveCache

public short getActiveCache()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Screen cache where drawing occurs. Use rarely. Change cache inside StartDrawing/FinishDrawing sequence.

Specified by:
getActiveCache in interface IScreenCacheManager
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsFirstCacheTransparent

public void setIsFirstCacheTransparent(boolean flag)
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
Indicates if the bottom cache is transparent.

Specified by:
setIsFirstCacheTransparent in interface IScreenCacheManager
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFirstCacheTransparent

public boolean isFirstCacheTransparent()
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
Indicates if the bottom cache is transparent.

Specified by:
isFirstCacheTransparent in interface IScreenCacheManager
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheFlags

public void getCacheFlags(short cacheID,
                          int[] flags)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Get special properties of specified cache.

Specified by:
getCacheFlags in interface IScreenCacheManager
Parameters:
cacheID - The cacheID (in)
flags - A com.esri.arcgis.display.esriDisplayCacheFlags constant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

modifyCacheFlags

public void modifyCacheFlags(short cacheID,
                             int flagsToAdd,
                             int flagsToRemove)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Set special properties of specified cache.

Specified by:
modifyCacheFlags in interface IScreenCacheManager
Parameters:
cacheID - The cacheID (in)
flagsToAdd - A com.esri.arcgis.display.esriDisplayCacheFlags constant (in)
flagsToRemove - A com.esri.arcgis.display.esriDisplayCacheFlags constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putCacheOrder

public void putCacheOrder(short cacheID,
                          short order)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Sets or returns the order of the specified cache. Client's that use multiple caches may assign an order to them. Bottom cache is 0 and top cache is n.

Specified by:
putCacheOrder in interface IScreenCacheManager
Parameters:
cacheID - The cacheID (in)
order - The order (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheOrder

public short getCacheOrder(short cacheID)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Sets or returns the order of the specified cache. Client's that use multiple caches can assign an order to them. Bottom cache is 0 and top cache is n.

Specified by:
getCacheOrder in interface IScreenCacheManager
Parameters:
cacheID - The cacheID (in)
Returns:
The order
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startRecording

public void startRecording()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Starts recording all output to the recording cache.

Specified by:
startRecording in interface IScreenCacheManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopRecording

public void stopRecording()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Stops recording to the recording cache.

Specified by:
stopRecording in interface IScreenCacheManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCacheDirty

public boolean isCacheDirty(short cacheIndex)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Indicates if the specified cache needs refreshing.

Specified by:
isCacheDirty in interface IScreenCacheManager
Parameters:
cacheIndex - The cacheIndex (in)
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawCache

public void drawCache(int hDC,
                      short index,
                      tagRECT deviceRect,
                      tagRECT cacheRect)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Draws the specified screen cache to the specified window device context. Pass an empty rectangle to copy the full bitmap to the DC origin.

Specified by:
drawCache in interface IScreenCacheManager
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.