com.esri.arcgis.carto
Interface ICompositeGraphicsLayer2

All Superinterfaces:
ICompositeGraphicsLayer, IGraphicsLayer, Serializable
All Known Implementing Classes:
CompositeGraphicsLayer

public interface ICompositeGraphicsLayer2
extends ICompositeGraphicsLayer, Serializable

Provides access to members that control a collection of graphics layers that behave like single layer.

Remarks

The purpose of the DrawDefault property of ICompositeGraphicsLayer2 is to draw only the default layer of the Composite Graphics Layer. If you subsequently add other layers to it using the ICompositeGraphicsLayer::AddLayer method they will not be drawn. However, every layer will draw if you call ILayer::Draw.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void drawDefault(int drawPhase, IDisplay display, ITrackCancel trackCancel)
          Draws the default graphics layer.
 
Methods inherited from interface com.esri.arcgis.carto.ICompositeGraphicsLayer
addLayer, deleteLayer, findLayer
 
Methods inherited from interface com.esri.arcgis.carto.IGraphicsLayer
activate, deactivate, getAssociatedLayer, isUseAssociatedLayerVisibility, setAssociatedLayerByRef, setUseAssociatedLayerVisibility
 

Method Detail

drawDefault

void drawDefault(int drawPhase,
                 IDisplay display,
                 ITrackCancel trackCancel)
                 throws IOException,
                        AutomationException
Draws the default graphics layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
drawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.