com.esri.arcgis.carto
Interface IFeatureLayer2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CadAnnotationLayer, CadastralFabricSubLayer, CadFeatureLayer, CoverageAnnotationLayer, DimensionLayer, FDOGraphicsLayer, FeatureLayer, GdbRasterCatalogLayer, IFeatureLayer2Proxy, TemporalFeatureLayer

public interface IFeatureLayer2
extends java.io.Serializable

COM Interface 'IFeatureLayer2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to additional members that control common aspects of a feature layer.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID95e82d50_e720_48b5_808d_e45fa9cf1218
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void expandRegionForSymbols(IDisplay display, IGeometry region)
          Expands the given geometry by an amount that will include the layer's symbology for the given display.
 java.lang.String getDataSourceType()
          Data source type.
 java.lang.String getDisplayField()
          Primary display field.
 IFeatureClass getFeatureClass()
          The layer's feature class.
 int getShapeType()
          The layer's shape type.
 boolean isScaleSymbols()
          Indicates if symbols are scaled for the layer.
 boolean isSelectable()
          Indicates if layer is selectable.
 IFeatureCursor search(IQueryFilter queryFilter, boolean recycling)
          Creates a cursor based upon the search criteria.
 void setDataSourceType(java.lang.String text)
          Data source type.
 void setDisplayField(java.lang.String fieldName)
          Primary display field.
 void setFeatureClassByRef(IFeatureClass fclass)
          The layer's feature class.
 void setScaleSymbols(boolean scale)
          Indicates if symbols are scaled for the layer.
 void setSelectable(boolean value)
          Indicates if layer is selectable.
 

Field Detail

IID95e82d50_e720_48b5_808d_e45fa9cf1218

static final int IID95e82d50_e720_48b5_808d_e45fa9cf1218
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getFeatureClass

IFeatureClass getFeatureClass()
                              throws java.io.IOException,
                                     AutomationException
The layer's feature class.

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

setFeatureClassByRef

void setFeatureClassByRef(IFeatureClass fclass)
                          throws java.io.IOException,
                                 AutomationException
The layer's feature class.

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

getDataSourceType

java.lang.String getDataSourceType()
                                   throws java.io.IOException,
                                          AutomationException
Data source type.

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

setDataSourceType

void setDataSourceType(java.lang.String text)
                       throws java.io.IOException,
                              AutomationException
Data source type.

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

getDisplayField

java.lang.String getDisplayField()
                                 throws java.io.IOException,
                                        AutomationException
Primary display field.

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

setDisplayField

void setDisplayField(java.lang.String fieldName)
                     throws java.io.IOException,
                            AutomationException
Primary display field.

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

isSelectable

boolean isSelectable()
                     throws java.io.IOException,
                            AutomationException
Indicates if layer is selectable.

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

setSelectable

void setSelectable(boolean value)
                   throws java.io.IOException,
                          AutomationException
Indicates if layer is selectable.

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

search

IFeatureCursor search(IQueryFilter queryFilter,
                      boolean recycling)
                      throws java.io.IOException,
                             AutomationException
Creates a cursor based upon the search criteria.

Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isScaleSymbols

boolean isScaleSymbols()
                       throws java.io.IOException,
                              AutomationException
Indicates if symbols are scaled for the layer.

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

setScaleSymbols

void setScaleSymbols(boolean scale)
                     throws java.io.IOException,
                            AutomationException
Indicates if symbols are scaled for the layer.

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

getShapeType

int getShapeType()
                 throws java.io.IOException,
                        AutomationException
The layer's shape type.

Returns:
A com.esri.arcgis.geometry.esriGeometryType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

expandRegionForSymbols

void expandRegionForSymbols(IDisplay display,
                            IGeometry region)
                            throws java.io.IOException,
                                   AutomationException
Expands the given geometry by an amount that will include the layer's symbology for the given display.

Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
region - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.