|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBasicMap2
Provides access to members that control the basic map.
Method Summary | |
---|---|
void |
addLayer(ILayer pLayer)
Adds a layer to the map. |
void |
addLayers(IEnumLayer pLayers,
boolean autoArrange)
Adds multiple layers to the map, arranging them nicely if specified. |
void |
clearLayers()
Removes all layers from the map. |
void |
clearSelection()
Clears the map selection. |
void |
deleteLayer(ILayer pLayer)
Deletes a layer from the map. |
ILayer |
getActiveGraphicsLayer()
The active graphics layer. |
IGraphicsLayer |
getBasicGraphicsLayer()
The basic graphics layer. |
String |
getCopyrightText()
Copyright information associated with the map. |
String |
getDescription()
Description of the map. |
ISelection |
getFeatureSelection()
The map's feature selection. |
ILayer |
getLayer(int index)
The layer at the given index. |
int |
getLayerCount()
Number of layers in the map. |
IEnumLayer |
getLayers(IUID uid,
boolean recursive)
The layers in the map of the type specified in the uid. |
String |
getName()
Name of the map. |
int |
getSelectionCount()
Number of selected features in the map. |
ISpatialReference |
getSpatialReference()
The spatial reference of the map. |
void |
selectByShape(IGeometry shape,
ISelectionEnvironment env,
boolean justOne)
Selects features in the map given a shape and a selection environment (optional). |
void |
setActiveGraphicsLayerByRef(ILayer ppGraphicsLayer)
The active graphics layer. |
void |
setAreaOfInterest(IEnvelope rhs1)
Area of interest for the map. |
void |
setCopyrightText(String copyright)
Copyright information associated with the map. |
void |
setDescription(String pDescr)
Description of the map. |
void |
setFeatureSelectionByRef(ISelection ppSelection)
The map's feature selection. |
void |
setName(String pName)
Name of the map. |
void |
setSpatialReferenceByRef(ISpatialReference ppSpatialRef)
The spatial reference of the map. |
Method Detail |
---|
String getCopyrightText() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCopyrightText(String copyright) throws IOException, AutomationException
copyright
- The copyright (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setName(String pName) throws IOException, AutomationException
pName
- The pName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDescription() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDescription(String pDescr) throws IOException, AutomationException
pDescr
- The pDescr (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAreaOfInterest(IEnvelope rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getLayerCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayer getLayer(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumLayer getLayers(IUID uid, boolean recursive) throws IOException, AutomationException
uid
- A reference to a com.esri.arcgis.system.IUID (in, optional, pass 0 if not required)recursive
- The recursive (in, optional, pass true if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISpatialReference getSpatialReference() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSpatialReferenceByRef(ISpatialReference ppSpatialRef) throws IOException, AutomationException
ppSpatialRef
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLayer(ILayer pLayer) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLayers(IEnumLayer pLayers, boolean autoArrange) throws IOException, AutomationException
pLayers
- A reference to a com.esri.arcgis.carto.IEnumLayer (in)autoArrange
- The autoArrange (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteLayer(ILayer pLayer) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearLayers() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGraphicsLayer getBasicGraphicsLayer() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayer getActiveGraphicsLayer() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setActiveGraphicsLayerByRef(ILayer ppGraphicsLayer) throws IOException, AutomationException
ppGraphicsLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSelectionCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearSelection() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISelection getFeatureSelection() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFeatureSelectionByRef(ISelection ppSelection) throws IOException, AutomationException
ppSelection
- A reference to a com.esri.arcgis.carto.ISelection (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void selectByShape(IGeometry shape, ISelectionEnvironment env, boolean justOne) throws IOException, AutomationException
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)env
- A reference to a com.esri.arcgis.carto.ISelectionEnvironment (in)justOne
- The justOne (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 |