com.esri.arcgis.datasourcesfile
Interface IGPLayer

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPCompositeLayer, GPFeatureLayer, GPGALayer, GPGroupLayer, GPNALayer, GPNetworkDatasetLayer, GPRasterCatalogLayer, GPRasterLayer, GPTerrainLayer, GPTinLayer, GPTopologyLayer

public interface IGPLayer
extends Serializable

Provides access to the GP Layer Type.

Product Availability

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


Method Summary
 IEnvelope getAreaOfInterest()
          The default area of interest for the layer.
 IDataElement getDataElement()
          The data element of the layer.
 String getNameString()
          The name string.
 void setAOICoords(double xMin, double yMin, double xMax, double yMax)
          The set Extent of the feature layer.
 void setAreaOfInterestByRef(IEnvelope ppExtent)
          The default area of interest for the layer.
 void setDataElementByRef(IDataElement ppDataElement)
          The data element of the layer.
 void setNameString(String pNamestring)
          The name string.
 

Method Detail

getNameString

String getNameString()
                     throws IOException,
                            AutomationException
The name string.

Product Availability

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

Returns:
The pNamestring
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNameString

void setNameString(String pNamestring)
                   throws IOException,
                          AutomationException
The name string.

Product Availability

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

Parameters:
pNamestring - The pNamestring (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAreaOfInterest

IEnvelope getAreaOfInterest()
                            throws IOException,
                                   AutomationException
The default area of interest for the layer.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAreaOfInterestByRef

void setAreaOfInterestByRef(IEnvelope ppExtent)
                            throws IOException,
                                   AutomationException
The default area of interest for the layer.

Product Availability

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

Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAOICoords

void setAOICoords(double xMin,
                  double yMin,
                  double xMax,
                  double yMax)
                  throws IOException,
                         AutomationException
The set Extent of the feature layer.

Product Availability

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

Parameters:
xMin - The xMin (in)
yMin - The yMin (in)
xMax - The xMax (in)
yMax - The yMax (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataElement

IDataElement getDataElement()
                            throws IOException,
                                   AutomationException
The data element of the layer.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geodatabase.IDataElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDataElementByRef

void setDataElementByRef(IDataElement ppDataElement)
                         throws IOException,
                                AutomationException
The data element of the layer.

Product Availability

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

Parameters:
ppDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.