|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.carto.ILayerProxy com.esri.arcgis.carto.IGroupLayerProxy
public class IGroupLayerProxy
Provides access to members that control a collection of layers that behaves like a single layer.
The IGroupLayer interface provides methods for managing the contents of GroupLayers. Use the ILayer interface to set properties for the GroupLayer, or use the appropriate interface to adjust properties of the constituent layers.
A group layer is a special case of a composite layer. Custom layer implementations of IGroupLayer are rarely needed, but when done it is importat to implement ICompositeLayer as well.
IGroupLayer
,
ICompositeLayer
,
GroupLayer
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IGroupLayerProxy()
|
|
IGroupLayerProxy(Object obj)
|
protected |
IGroupLayerProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
add(ILayer layer)
Adds a layer to the end of the group. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
clear()
Removes all layers from the group. |
void |
delete(ILayer layer)
Removes the specified layer from the group. |
boolean |
isExpanded()
Indicates if the group's entry is expanded in the TOC. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setExpanded(boolean expanded)
Indicates if the group's entry is expanded in the TOC. |
Methods inherited from class com.esri.arcgis.carto.ILayerProxy |
---|
draw, getAreaOfInterest, getMaximumScale, getMinimumScale, getName, getSupportedDrawPhases, getTipText, isCached, isShowTips, isValid, isVisible, setCached, setMaximumScale, setMinimumScale, setName, setShowTips, setSpatialReferenceByRef, setVisible |
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 |
Methods inherited from interface com.esri.arcgis.carto.ILayer |
---|
draw, getAreaOfInterest, getMaximumScale, getMinimumScale, getName, getSupportedDrawPhases, getTipText, isCached, isShowTips, isValid, isVisible, setCached, setMaximumScale, setMinimumScale, setName, setShowTips, setSpatialReferenceByRef, setVisible |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IGroupLayerProxy()
public IGroupLayerProxy(Object obj) throws IOException
IOException
protected IGroupLayerProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class ILayerProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class ILayerProxy
IOException
public void add(ILayer layer) throws IOException, AutomationException
Adds the specified layer to the GroupLayer.
add
in interface IGroupLayer
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(ILayer layer) throws IOException, AutomationException
Removes the specified Layer from the GroupLayer.
delete
in interface IGroupLayer
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
Removes all constituent layers from the GroupLayer.
clear
in interface IGroupLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isExpanded() throws IOException, AutomationException
Sets whether the GroupLayer is to be shown in expanded or collapsed view in the TOC.
isExpanded
in interface IGroupLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExpanded(boolean expanded) throws IOException, AutomationException
Sets whether the GroupLayer is to be shown in expanded or collapsed view in the TOC.
setExpanded
in interface IGroupLayer
expanded
- The expanded (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 |