| 
 | |||||||||
| 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.carto.IGraphicsLayerProxy
public class IGraphicsLayerProxy
Provides access to members that control the Graphics Layer.
A graphics layer can be associated with another layer in the map; when that other layer changes visibility, the graphics layer can change visibility also. Use the IGraphicsLayer interface to manage this.
The IGraphicsLayer interface also has methods to activate and deactivate the graphics layer. When a graphics layer is active, it is the current annotation target.
IMap, 
Serialized Form| Field Summary | |
|---|---|
|  boolean | noncastable | 
| Fields inherited from class com.esri.arcgis.interop.Dispatch | 
|---|
| DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef | 
| Constructor Summary | |
|---|---|
|   | IGraphicsLayerProxy() | 
|   | IGraphicsLayerProxy(Object obj) | 
| protected  | IGraphicsLayerProxy(Object obj,
                    String iid) | 
| Method Summary | |
|---|---|
|  void | activate(IScreenDisplay containerScreen)Prepare to display graphic on screen. | 
|  void | addListener(String iidStr,
            Object theListener,
            Object theSource) | 
|  void | deactivate()ActiveView that graphics are displayed on is no longer visible. | 
|  ILayer | getAssociatedLayer()Layer that is associated with this graphics layer. | 
|  boolean | isUseAssociatedLayerVisibility()Indicates if the layer that is associated with this graphics layer controls the visibility. | 
|  void | removeListener(String iidStr,
               Object theListener) | 
|  void | setAssociatedLayerByRef(ILayer layer)Layer that is associated with this graphics layer. | 
|  void | setUseAssociatedLayerVisibility(boolean useLayer)Indicates if the layer that is associated with this graphics layer controls the visibility. | 
| 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 | 
|---|
public boolean noncastable
| Constructor Detail | 
|---|
public IGraphicsLayerProxy()
public IGraphicsLayerProxy(Object obj)
                    throws IOException
IOException
protected IGraphicsLayerProxy(Object obj,
                              String iid)
                       throws IOException
IOException| Method Detail | 
|---|
public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void activate(IScreenDisplay containerScreen)
              throws IOException,
                     AutomationException
activate in interface IGraphicsLayercontainerScreen - A reference to a com.esri.arcgis.display.IScreenDisplay  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deactivate()
                throws IOException,
                       AutomationException
deactivate in interface IGraphicsLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseAssociatedLayerVisibility()
                                       throws IOException,
                                              AutomationException
isUseAssociatedLayerVisibility in interface IGraphicsLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseAssociatedLayerVisibility(boolean useLayer)
                                     throws IOException,
                                            AutomationException
setUseAssociatedLayerVisibility in interface IGraphicsLayeruseLayer - The useLayer  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILayer getAssociatedLayer()
                          throws IOException,
                                 AutomationException
getAssociatedLayer in interface IGraphicsLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAssociatedLayerByRef(ILayer layer)
                             throws IOException,
                                    AutomationException
setAssociatedLayerByRef in interface IGraphicsLayerlayer - A reference to a com.esri.arcgis.carto.ILayer  (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 | ||||||||