com.esri.arcgis.carto
Class RasterLayer

java.lang.Object
  extended bycom.esri.arcgis.carto.RasterLayer
All Implemented Interfaces:
java.util.EventListener, IAttributeTable, IClass, IConnectionPointContainer, IDataLayer, IDataLayer2, IDataset, IDisplayAdmin, IDisplayAdmin2, IDisplayRelationshipClass, IDisplayTable, IGeoDataset, IGeoReference, IIdentify, ILayer, ILayerDrawingProperties, ILayerEffects, ILayerExtensions, ILayerFields, ILayerGeneralProperties, ILayerInfo, ILayerPosition, ILegendInfo, IObjectClass, IPersist, IPersistStream, IPublishLayer, IRasterDataManagementEvents, IRasterLayer, IRasterSpatialSelection, IRelationshipClassCollection, IRelationshipClassCollectionEdit, ITable, ITableFields, ITableSelection, ITemporaryLayer, java.io.Serializable

public class RasterLayer
extends java.lang.Object
implements IRasterLayer, IGeoDataset, ILegendInfo, IPersistStream, IIdentify, ILayerInfo, IDataLayer, IDataLayer2, ILayerEffects, IDisplayAdmin, IDisplayAdmin2, IGeoReference, IDisplayTable, ITableSelection, IClass, ITable, IObjectClass, ILayerFields, ITableFields, IDisplayRelationshipClass, IRelationshipClassCollection, IRelationshipClassCollectionEdit, ILayerExtensions, ILayerDrawingProperties, ILayerGeneralProperties, ILayerPosition, IAttributeTable, IConnectionPointContainer, IDataset, IPublishLayer, IRasterSpatialSelection, IRasterDataManagementEvents, ITemporaryLayer

Raster layer source and display options.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Remarks

RasterLayer object can be initialized from a file on disk, a Raster object or a RasterDataset object.

A RasterLayer can be retrieved from IMap::Layer property also, if the Map contains a raster layer.

See Also:
IRasterLayer, Serialized Form

Constructor Summary
RasterLayer()
          Constructs a RasterLayer using ArcGIS Engine.
RasterLayer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 void addExtension(java.lang.Object ext)
          Adds a new extension.
 void addField(IField field)
          Adds a field to this object class.
 void addIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
           
 void addILayerEventsListener(ILayerEvents theListener)
           
 void addIndex(IIndex index)
          Adds an index to this object class.
 void addRelationshipClass(IRelationshipClass relationshipClass)
          Adds the specified memory relationship class to a standalone table or layer.
 void addRow(IRow row)
          Adds a row to the selection set (honoring the current combination method).
 boolean canCopy()
          True if this dataset can be copied.
 boolean canDelete()
          True if this dataset can be deleted.
 boolean canRename()
          True if this dataset can be renamed.
 void clear()
          Clears the selection.
 boolean connect(IName pOptRepairName)
          Connects the layer to its data source.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 void createFromDataset(IRasterDataset rasterDataset)
          Creates a layer from a RasterDataset object.
 void createFromFilePath(java.lang.String filePath)
          Creates a layer from a file path to raster data.
 void createFromRaster(IRaster raster)
          Creates a layer from a Raster object.
 IRow createRow()
          Creates a row in the database with a system assigned object ID and null property values.
 IRowBuffer createRowBuffer()
          Creates a row buffer that can be used with an insert cursor.
 void delete()
          Deletes this dataset.
 void deleteField(IField field)
          Deletes a field from this object class.
 void deleteIndex(IIndex index)
          Deletes an index from this object class.
 void deleteSearchedRows(IQueryFilter queryFilter)
          Delete the Rows in the database selected by the specified query.
 void disconnect()
          Disconnects the data from the layer.
 void displayRelationshipClass(IRelationshipClass relClass, int joinType)
          Sets a join based on the specified relationship class and join type.
 void draw(int drawPhase, IDisplay display, ITrackCancel trackCancel)
          Draws the layer to the specified display for the given draw phase.
 void drawSpatialSelection(IDisplay pDisplay, ITrackCancel pTrackCancel)
          Draws the current spatial selection.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          Supported Platforms
 boolean equals(java.lang.Object o)
          Compare this object with another
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          Supported Platforms
 int findField(java.lang.String name)
          The index of the field with the specified name.
 IEnumRelationshipClass findRelationshipClasses(IObjectClass objectClass, int role)
          Finds all relationship classes in the collection that reference the given object class in the specified role.
 void flip()
          Flip operation of layer.
 java.lang.String getAliasName()
          The alias name of the object class.
 IEnvelope getAreaOfInterest()
          The default area of interest for the layer.
 IAttributeTable getAsIAttributeTable()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IClass getAsIClass()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IConnectionPointContainer getAsIConnectionPointContainer()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IDataLayer getAsIDataLayer()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IDataLayer2 getAsIDataLayer2()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IDataset getAsIDataset()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IDisplayAdmin getAsIDisplayAdmin()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IDisplayAdmin2 getAsIDisplayAdmin2()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IDisplayRelationshipClass getAsIDisplayRelationshipClass()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IDisplayTable getAsIDisplayTable()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IGeoDataset getAsIGeoDataset()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IGeoReference getAsIGeoReference()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IIdentify getAsIIdentify()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILayerDrawingProperties getAsILayerDrawingProperties()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILayerEffects getAsILayerEffects()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILayerExtensions getAsILayerExtensions()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILayerFields getAsILayerFields()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILayerGeneralProperties getAsILayerGeneralProperties()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILayerInfo getAsILayerInfo()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILayerPosition getAsILayerPosition()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ILegendInfo getAsILegendInfo()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IObjectClass getAsIObjectClass()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IPersistStream getAsIPersistStream()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IPublishLayer getAsIPublishLayer()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IRasterDataManagementEvents getAsIRasterDataManagementEvents()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IRasterLayer getAsIRasterLayer()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IRasterSpatialSelection getAsIRasterSpatialSelection()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IRelationshipClassCollection getAsIRelationshipClassCollection()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IRelationshipClassCollectionEdit getAsIRelationshipClassCollectionEdit()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITable getAsITable()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITableFields getAsITableFields()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITableSelection getAsITableSelection()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITemporaryLayer getAsITemporaryLayer()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 ITable getAttributeTable()
          The attribute table.
 int getBandCount()
          Number of bands in the layer.
 short getBrightness()
          Layer brightness in percent (-100 - 100).
 java.lang.String getBrowseName()
          The browse name of the dataset.
 java.lang.String getCategory()
          The category of the dataset.
 void getClassID(GUID[] pClassID)
          Supported Platforms
static java.lang.String getClsid()
           
 IUID getCLSID()
          The GUID for the COM Class (CoClass) corresponding to instances of this object class.
 int getColumnCount()
          Number of columns in the layer.
 short getContrast()
          Layer contrast in percent (-100 - 100).
 java.lang.String getDataDetails(java.lang.String bsPadding)
          Details of the layer's data.
 IEnvelope getDataFrameExtent()
          Extent of the dataframe that contains the layer.
 IName getDataSourceName()
          Name of the data object for the layer.
 int getDisplayResolutionFactor()
          Display resolution factor.
 ISelectionSet getDisplaySelectionSet()
          The selected set of rows from the display table.
 ITable getDisplayTable()
          The display table.
 IUID getEXTCLSID()
          The GUID for the COM Class (CoClass) corresponding to the class extension for this object class.
 java.lang.Object getExtension()
          The extension for this object class.
 java.lang.Object getExtension(int index)
          The extension at the specified index.
 int getExtensionCount()
          Number of extensions.
 IPropertySet getExtensionProperties()
          The extension properties for this object class.
 IEnvelope getExtent()
          The extent of the GeoDataset.
 IField getField(int index)
          The field at the specified index.
 int getFieldCount()
          The number of fields.
 IFieldInfo getFieldInfo(int index)
          Extended field information for the field at the specified index.
 IFields getFields()
          The fields collection for this object class.
 java.lang.String getFilePath()
          Filepath of the data source.
 IName getFullName()
          The associated name object.
 IIndexes getIndexes()
          The indexes collection for this object class.
 int getJoinType()
          Join type for the most recent join performed.
 int getLargeImage()
          Large image that represents the layer.
 int getLargeSelectedImage()
          Large image that represents the layer when it is selected.
 double getLastMaximumScale()
          Last maximum scale setting used by layer.
 double getLastMinimumScale()
          Last minimum scale setting used by layer.
 double getLayerWeight()
          Default layer position.
 ILegendGroup getLegendGroup(int index)
          Legend group at the specified index.
 int getLegendGroupCount()
          Number of legend groups contained by the object.
 ILegendItem getLegendItem()
          Optional.
 IRasterDataset getMaskRasterDataset()
          Reference to the current selection dataset.
 double getMaximumScale()
          Maximum scale (representative fraction) at which the layer will display.
 double getMinimumScale()
          Minimum scale (representative fraction) at which the layer will display.
 java.lang.String getName()
          The name of the Dataset.
 int getObjectClassID()
          The unique ID for the object class.
 java.lang.String getOIDFieldName()
          The name of the field corresponding to the OID.
 int getPrimaryField()
          Layer's primary field.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 java.lang.String getPublishingDescription()
          The layer description reported to the publisher.
 IRaster getRaster()
          Layer's Raster object.
 IRelationshipClass getRelationshipClass()
          Relationship class that defines how the tables are joined.
 IEnumRelationshipClass getRelationshipClasses()
          The memory relationship classes.
 IEnumRelationshipClass getRelationshipClasses(int role)
          The relationship classes in which this object class participates in for the specified role.
 java.lang.String getRelativeBase()
          Base path used when storing relative path names.
 IRasterRenderer getRenderer()
          Layer's renderer.
 IRow getRow(int oID)
          The row from the database with the specified object ID.
 int getRowCount()
          Number of rows in the layer.
 ICursor getRows(java.lang.Object oids, boolean recycling)
          The cursor of rows based on a set of object ids.
 ISelectionSet getSelectionSet()
          The selected set of rows.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          Supported Platforms
 int getSmallImage()
          Small image that represents the layer.
 int getSmallSelectedImage()
          Small image that represents the layer when it is selected.
 ISpatialReference getSpatialReference()
          The spatial reference of the GeoDataset.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 int getSupportedDrawPhases()
          Supported draw phases.
 java.lang.String getTipText(double x, double y, double tolerance)
          Map tip text at the specified location.
 short getTransparency()
          Layer transparency in percent (0-100).
 int getType()
          The type of the Dataset.
 IEnvelope getVisibleExtent()
          Visible extent of the layer in the data frame.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 int hashCode()
          the hashcode for this object
 IArray identify(IGeometry pGeom)
          Identifies objects at the specified location.
 java.lang.String ILayerGeneralProperties_getLayerDescription()
          Description for the layer.
 void init(boolean bInit, java.lang.String fileFullName, int fileFormat)
          Create or remove the selection dataset.
 ICursor insert(boolean useBuffering)
          Returns a cursor that can be used to insert new Rows.
 boolean inWorkspace(IWorkspace workspace)
          Returns TRUE if the layer is in the specified workspace.
 boolean isCached()
          Indicates if the layer needs its own display cache.
 boolean isCanGeoRef()
          Indicates if layer can be georeferenced.
 boolean isDataSourceSupported(IName name)
          Indicates if the specified data object name is supported by the layer.
 boolean isDataValid()
          Indicates if the data for the layer is currently valid.
 void isDirty()
          Supported Platforms
 boolean isDoesBlending()
          Indicates whether the drawing object blends its output with the background.
 boolean isDrawingPropsDirty()
          Indicates if the layer drawing properties are dirty.
 boolean isHasOID()
          Indicates if the class has an object identity (OID) field.
 boolean isPyramidPresent()
          Indicates if pyramids are present for the layer.
 boolean isRequiresBanding()
          Indicates whether the output from the drawing object requires banding.
 boolean isShowResolution()
          Indicates if the raster resolution should be displayed in the Table of Contents.
 boolean isShowTips()
          Indicates if the layer shows map tips.
 boolean isSupportsBrightnessChange()
          Indicates if the layer supports brightness changes.
 boolean isSupportsContrastChange()
          Indicates if the layer supports contrast changes.
 boolean isSupportsInteractive()
          Indicates if the layer supports interactive effects changes.
 boolean isSupportsPublishing()
          Indicates if the layer supports the publishing process.
 boolean isSupportsTransparency()
          Indicates if the layer supports transparency.
 boolean isSymbolsAreGraduated()
          Indicates if symbols are graduated.
 boolean isTemporary()
          Indicates if the layer is a temporary layer.
 boolean isUsesFilter()
          Indicates if the current object draws using a filter.
 boolean isValid()
          Indicates if the layer is currently valid.
 boolean isVisible()
          Indicates if the layer is currently visible.
 ICursor ITable_search(IQueryFilter queryFilter, boolean recycling)
          An object cursor that can be used to fetch row objects selected by the specified query.
 void load(IStream pstm)
          Supported Platforms
 void maskDrawPolyRect(ITrackCancel trackCancel, java.lang.Object vRects, int op)
          Perform the mask operation with the given array of rectangles.
 void maskReadBitmap(ITrackCancel trackCancel, tagRECT pRect, java.lang.Object vBytes, boolean byBits)
          Read pixels from selection.
 void maskWriteBitmap(ITrackCancel trackCancel, tagRECT pRect, int op, java.lang.Object vBytes, boolean byBits)
          Perform the mask operation with bitmask.
 void mirror()
          Mirror operation of layer.
 void onEvent(IRasterDataManagementEventsOnEventEvent theEvent)
          Performs operation on the raster data management event.
 IPointCollection pointsTransform(IPointCollection inPoints, boolean isForward)
          Transform operation of Raster.
 void prepareForPublishing()
          Prepare the layer for the publishing process.
 void rectify(java.lang.String fullpath, java.lang.String format)
          Save transformed result to a new dataset.
 void register()
          Save transformation parameters and tie-points.
 void removeAllRelationshipClasses()
          Removes all memory relationship classes from a standalone table or layer.
 void removeExtension(int index)
          Removes the specified extension.
 void removeIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
           
 void removeILayerEventsListener(ILayerEvents theListener)
           
 void removeRelationshipClass(IRelationshipClass relationshipClass)
          Removes the specified memory relationship class from a standalone table or layer.
 void rename(java.lang.String name)
          Renames this Dataset.
 void reScale(double xScale, double yScale)
          ReScale operation of layer.
 void reset()
          Reset operation of layer.
 void rotate(IPoint ipPivotPoint, double angle)
          Rotate operation of layer.
 int rowCount(IQueryFilter queryFilter)
          The number of Rows selected by the specified query.
 void save(IStream pstm, int fClearDirty)
          Supported Platforms
 ICursor searchDisplayTable(IQueryFilter pQueryFilter, boolean recycling)
          Creates a cursor from the display table based upon the search criteria.
 ISelectionSet select(IQueryFilter queryFilter, int selType, int selOption, IWorkspace selectionContainer)
          A selection that contains the object ids selected by the specified query.
 ISelectionSet selectDisplayTable(IQueryFilter pQueryFilter, int selType, int selOption, IWorkspace pSelWorkspace)
          Creates a selection set from the display table based upon the search criteria.
 void selectionChanged()
          Fires the layer update event.
 void selectRows(IQueryFilter filter, int method, boolean justOne)
          Selects rows based upon the specified criteria and combination method.
 void setBrightness(short brightnessValue)
          Layer brightness in percent (-100 - 100).
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 void setCached(boolean cached)
          Indicates if the layer needs its own display cache.
 void setContrast(short contrastValue)
          Layer contrast in percent (-100 - 100).
 void setDataSourceName(IName name)
          Name of the data object for the layer.
 void setDisplayResolutionFactor(int pnFactor)
          Display resolution factor.
 void setDrawingPropsDirty(boolean dirty)
          Indicates if the layer drawing properties are dirty.
 void setLayerDescription(java.lang.String text)
          Description for the layer.
 void setLayerWeight(double layerWeight)
          Default layer position.
 void setMaskRasterDatasetByRef(IRasterDataset ppRasterDataset)
          Reference to the current selection dataset.
 void setMaximumScale(double maxScale)
          Maximum scale (representative fraction) at which the layer will display.
 void setMinimumScale(double minScale)
          Minimum scale (representative fraction) at which the layer will display.
 void setName(java.lang.String name)
          Layer name.
 void setPrimaryField(int pnField)
          Layer's primary field.
 void setPyramidPresent(boolean pbPyramidPresent)
          Indicates if pyramids are present for the layer.
 void setRelativeBase(java.lang.String basePath)
          Base path used when storing relative path names.
 void setRendererByRef(IRasterRenderer renderer)
          Layer's renderer.
 void setSelectionSetByRef(ISelectionSet selectionSet)
          The selected set of rows.
 void setShowResolution(boolean b)
          Indicates if the raster resolution should be displayed in the Table of Contents.
 void setShowTips(boolean show)
          Indicates if the layer shows map tips.
 void setSpatialReferenceByRef(ISpatialReference rhs1)
          Spatial reference for the layer.
 void setSupportsInteractive(boolean supported)
          Indicates if the layer supports interactive effects changes.
 void setSymbolsAreGraduated(boolean symbolsAreGraduated)
          Indicates if symbols are graduated.
 void setTemporary(boolean temporary)
          Indicates if the layer is a temporary layer.
 void setTransparency(short alpha)
          Layer transparency in percent (0-100).
 void setVisible(boolean visible)
          Indicates if the layer is currently visible.
 void setVisibleExtent(IEnvelope ppVisibleExtent)
          Visible extent of the layer in the data frame.
 void shift(double deltaX, double deltaY)
          Shift operation of layer.
 void twoPointsAdjust(IPointCollection fromPoints, IPointCollection toPoints)
          Two points adjust operation of layer.
 ICursor update(IQueryFilter queryFilter, boolean recycling)
          Returns a cursor that can be used to update Rows selected by the specified query.
 void updateSearchedRows(IQueryFilter queryFilter, IRowBuffer buffer)
          Update the Rows in the database selected by the specified query.
 void warp(IPointCollection fromPoints, IPointCollection toPoints, int order)
          Warp operation of layer.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterLayer

public RasterLayer()
            throws java.io.IOException,
                   java.net.UnknownHostException
Constructs a RasterLayer using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RasterLayer

public RasterLayer(java.lang.Object obj)
            throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a RasterLayer using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterLayer.
RasterLayer theRasterLayer = (RasterLayer) obj;

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()

getAsIRasterLayer

public IRasterLayer getAsIRasterLayer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIGeoDataset

public IGeoDataset getAsIGeoDataset()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsILegendInfo

public ILegendInfo getAsILegendInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIPersistStream

public IPersistStream getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIIdentify

public IIdentify getAsIIdentify()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsILayerInfo

public ILayerInfo getAsILayerInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIDataLayer

public IDataLayer getAsIDataLayer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIDataLayer2

public IDataLayer2 getAsIDataLayer2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsILayerEffects

public ILayerEffects getAsILayerEffects()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIDisplayAdmin

public IDisplayAdmin getAsIDisplayAdmin()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIDisplayAdmin2

public IDisplayAdmin2 getAsIDisplayAdmin2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIGeoReference

public IGeoReference getAsIGeoReference()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIDisplayTable

public IDisplayTable getAsIDisplayTable()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsITableSelection

public ITableSelection getAsITableSelection()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIClass

public IClass getAsIClass()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsITable

public ITable getAsITable()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIObjectClass

public IObjectClass getAsIObjectClass()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsILayerFields

public ILayerFields getAsILayerFields()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsITableFields

public ITableFields getAsITableFields()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIDisplayRelationshipClass

public IDisplayRelationshipClass getAsIDisplayRelationshipClass()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIRelationshipClassCollection

public IRelationshipClassCollection getAsIRelationshipClassCollection()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIRelationshipClassCollectionEdit

public IRelationshipClassCollectionEdit getAsIRelationshipClassCollectionEdit()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsILayerExtensions

public ILayerExtensions getAsILayerExtensions()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsILayerDrawingProperties

public ILayerDrawingProperties getAsILayerDrawingProperties()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsILayerGeneralProperties

public ILayerGeneralProperties getAsILayerGeneralProperties()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsILayerPosition

public ILayerPosition getAsILayerPosition()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIAttributeTable

public IAttributeTable getAsIAttributeTable()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIConnectionPointContainer

public IConnectionPointContainer getAsIConnectionPointContainer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIDataset

public IDataset getAsIDataset()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIPublishLayer

public IPublishLayer getAsIPublishLayer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIRasterSpatialSelection

public IRasterSpatialSelection getAsIRasterSpatialSelection()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIRasterDataManagementEvents

public IRasterDataManagementEvents getAsIRasterDataManagementEvents()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsITemporaryLayer

public ITemporaryLayer getAsITemporaryLayer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

public boolean equals(java.lang.Object o)
Compare this object with another


hashCode

public int hashCode()
the hashcode for this object


addILayerEventsListener

public void addILayerEventsListener(ILayerEvents theListener)
                             throws java.io.IOException
Throws:
java.io.IOException

removeILayerEventsListener

public void removeILayerEventsListener(ILayerEvents theListener)
                                throws java.io.IOException
Throws:
java.io.IOException

addIGeoReferenceEventsListener

public void addIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
                                    throws java.io.IOException
Throws:
java.io.IOException

removeIGeoReferenceEventsListener

public void removeIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
                                       throws java.io.IOException
Throws:
java.io.IOException

getFilePath

public java.lang.String getFilePath()
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: IRasterLayer
Filepath of the data source.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFilePath in interface IRasterLayer
Returns:
The filePath
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getRaster

public IRaster getRaster()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IRasterLayer
Layer's Raster object.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRaster in interface IRasterLayer
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFromRaster

public void createFromRaster(IRaster raster)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IRasterLayer
Creates a layer from a Raster object.

Supported Platforms

Windows, Solaris, Linux

Specified by:
createFromRaster in interface IRasterLayer
Parameters:
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

createFromDataset

public void createFromDataset(IRasterDataset rasterDataset)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IRasterLayer
Creates a layer from a RasterDataset object.

Supported Platforms

Windows, Solaris, Linux

Specified by:
createFromDataset in interface IRasterLayer
Parameters:
rasterDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

createFromFilePath

public void createFromFilePath(java.lang.String filePath)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IRasterLayer
Creates a layer from a file path to raster data.

Supported Platforms

Windows, Solaris, Linux

Specified by:
createFromFilePath in interface IRasterLayer
Parameters:
filePath - The filePath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRenderer

public IRasterRenderer getRenderer()
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IRasterLayer
Layer's renderer.

Supported Platforms

Windows, Solaris, Linux

Remarks

The Renderer property controls the renderer being used by the layer.

Specified by:
getRenderer in interface IRasterLayer
Returns:
A reference to a com.esri.arcgis.carto.IRasterRenderer
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setRendererByRef

public void setRendererByRef(IRasterRenderer renderer)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IRasterLayer
Layer's renderer.

Specified by:
setRendererByRef in interface IRasterLayer
Parameters:
renderer - A reference to a com.esri.arcgis.carto.IRasterRenderer (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getBandCount

public int getBandCount()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IRasterLayer
Number of bands in the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getBandCount in interface IRasterLayer
Returns:
The bandCount
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getColumnCount

public int getColumnCount()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IRasterLayer
Number of columns in the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getColumnCount in interface IRasterLayer
Returns:
The columnCount
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getRowCount

public int getRowCount()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IRasterLayer
Number of rows in the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRowCount in interface IRasterLayer
Returns:
The rowCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPyramidPresent

public boolean isPyramidPresent()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IRasterLayer
Indicates if pyramids are present for the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isPyramidPresent in interface IRasterLayer
Returns:
The pbPyramidPresent
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPyramidPresent

public void setPyramidPresent(boolean pbPyramidPresent)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IRasterLayer
Indicates if pyramids are present for the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setPyramidPresent in interface IRasterLayer
Parameters:
pbPyramidPresent - The pbPyramidPresent (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getDataFrameExtent

public IEnvelope getDataFrameExtent()
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: IRasterLayer
Extent of the dataframe that contains the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDataFrameExtent in interface IRasterLayer
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisibleExtent

public void setVisibleExtent(IEnvelope ppVisibleExtent)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IRasterLayer
Visible extent of the layer in the data frame.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setVisibleExtent in interface IRasterLayer
Parameters:
ppVisibleExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getVisibleExtent

public IEnvelope getVisibleExtent()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: IRasterLayer
Visible extent of the layer in the data frame.

Supported Platforms

Windows, Solaris, Linux

Remarks

The VisibleExtent specifies a subset of the raster layer to be drawn, which can speed the drawing of the layer.

Specified by:
getVisibleExtent in interface IRasterLayer
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrimaryField

public void setPrimaryField(int pnField)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IRasterLayer
Layer's primary field.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setPrimaryField in interface IRasterLayer
Parameters:
pnField - The pnField (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getPrimaryField

public int getPrimaryField()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IRasterLayer
Layer's primary field.

Supported Platforms

Windows, Solaris, Linux

Remarks

The PrimaryField property controls the field that provides map tips and the field that appears in the left pane of the Identify window. The integer property value represents the column number of the selected field, where the value field equals 1.

Specified by:
getPrimaryField in interface IRasterLayer
Returns:
The pnField
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShowResolution

public void setShowResolution(boolean b)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IRasterLayer
Indicates if the raster resolution should be displayed in the Table of Contents.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setShowResolution in interface IRasterLayer
Parameters:
b - The b (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isShowResolution

public boolean isShowResolution()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IRasterLayer
Indicates if the raster resolution should be displayed in the Table of Contents.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isShowResolution in interface IRasterLayer
Returns:
The b
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDisplayResolutionFactor

public void setDisplayResolutionFactor(int pnFactor)
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: IRasterLayer
Display resolution factor. Factor value is expressed as a percentage between 0 and 100.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDisplayResolutionFactor in interface IRasterLayer
Parameters:
pnFactor - The pnFactor (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getDisplayResolutionFactor

public int getDisplayResolutionFactor()
                               throws java.io.IOException,
                                      AutomationException
Description copied from interface: IRasterLayer
Display resolution factor. Factor value is expressed as a percentage between 0 and 100.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDisplayResolutionFactor in interface IRasterLayer
Returns:
The pnFactor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IDataset
The name of the Dataset.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getName in interface ILayer
Returns:
The name
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: ILayer
Layer name.

Supported Platforms

Windows, Solaris, Linux

Description

Use the Name property to associate a string with the layer.

Specified by:
setName in interface ILayer
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isValid

public boolean isValid()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ILayer
Indicates if the layer is currently valid.

Supported Platforms

Windows, Solaris, Linux

Remarks

The valid property indicates if the layer is currently valid.  Layers that reference feature classes are valid when they hold a reference to a valid feature class.  The property does not however validate the integrity of the feature classes reference to the database. Therefore, in rare situations if a datasource is removed after a layer is initialized, the layer will report itself as valid but query attempts to the data source will error due to the lack of underlying data.

Specified by:
isValid in interface ILayer
Returns:
The valid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAreaOfInterest

public IEnvelope getAreaOfInterest()
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: ILayer
The default area of interest for the layer.

Supported Platforms

Windows, Solaris, Linux

Remarks

Returns the spatial-referenced extent of the layer.

Specified by:
getAreaOfInterest in interface ILayer
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getMinimumScale

public double getMinimumScale()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ILayer
Minimum scale (representative fraction) at which the layer will display.

Supported Platforms

Windows, Solaris, Linux

Remarks

Specifies the minimum scale at which the layer will be displayed. This means that if you zoom out beyond this scale, the layer will not display. For example, specify 1000 to have the layer not display when zoomed out beyond 1:1000.

Specified by:
getMinimumScale in interface ILayer
Returns:
The minScale
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setMinimumScale

public void setMinimumScale(double minScale)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: ILayer
Minimum scale (representative fraction) at which the layer will display.

Supported Platforms

Windows, Solaris, Linux

Description

MinimumScale property specifies the minimum scale at which the layer will be displayed. Assign a Double value to set this property.

Specified by:
setMinimumScale in interface ILayer
Parameters:
minScale - The minScale (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumScale

public double getMaximumScale()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: ILayer
Maximum scale (representative fraction) at which the layer will display.

Supported Platforms

Windows, Solaris, Linux

Remarks

Specifies the maximum scale at which the layer will be displayed. This means that if you zoom in beyond this scale, the layer will not display. For example, specify 500 to have the layer not display when zoomed in beyond 1:500.

Specified by:
getMaximumScale in interface ILayer
Returns:
The maxScale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaximumScale

public void setMaximumScale(double maxScale)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: ILayer
Maximum scale (representative fraction) at which the layer will display.

Supported Platforms

Windows, Solaris, Linux

Description

MaximumScale property specifies the maximum scale at which the layer will be displayed. Assign a Double value to set this property.

Specified by:
setMaximumScale in interface ILayer
Parameters:
maxScale - The maxScale (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

public boolean isVisible()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ILayer
Indicates if the layer is currently visible.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isVisible in interface ILayer
Returns:
The visible
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setVisible

public void setVisible(boolean visible)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ILayer
Indicates if the layer is currently visible.

Supported Platforms

Windows, Solaris, Linux

Description

Use Visible property to set the visibility of the layer. When assigned False, the layer is invisible in the current view.

Specified by:
setVisible in interface ILayer
Parameters:
visible - The visible (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isShowTips

public boolean isShowTips()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: ILayer
Indicates if the layer shows map tips.

Supported Platforms

Windows, Solaris, Linux

Remarks

Indicates whether or not map tips are shown for the layer. If set to True, then map tips will be shown for the layer. You can determine the text that will be shown via TipText. For a FeatureLayer, this text comes from the data for IFeatureLayer::DisplayField.

Specified by:
isShowTips in interface ILayer
Returns:
The show
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setShowTips

public void setShowTips(boolean show)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: ILayer
Indicates if the layer shows map tips.

Supported Platforms

Windows, Solaris, Linux

Description

ShowTips is set to True when the layer shows map tips specified in the TipText property.

Specified by:
setShowTips in interface ILayer
Parameters:
show - The show (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getTipText

public java.lang.String getTipText(double x,
                                   double y,
                                   double tolerance)
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: ILayer
Map tip text at the specified location.

Supported Platforms

Windows, Solaris, Linux

Remarks

The text string that gets displayed as a map tip if ShowTips = True. For a FeatureLayer this comes from the data in IFeatureLayer::DisplayField.

Specified by:
getTipText in interface ILayer
Parameters:
x - The x (in)
y - The y (in)
tolerance - The tolerance (in)
Returns:
The text
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isCached

public boolean isCached()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: ILayer
Indicates if the layer needs its own display cache.

Supported Platforms

Windows, Solaris, Linux

Remarks

This property indicates whether or not the layer requires its own display cache. If this property is True, then the Map will use a separate display cache for the layer so that it can be refreshed indpendently of other layers.

The Map is responsible for cache management. See IScreenDisplay::AddCache for more information on caches.

Specified by:
isCached in interface ILayer
Returns:
The cached
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCached

public void setCached(boolean cached)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ILayer
Indicates if the layer needs its own display cache.

Supported Platforms

Windows, Solaris, Linux

Description

Use Cached property to indicate if the layer needs its own cache for display.

Remarks

Informational property.  Container is responsible for cache management.

Specified by:
setCached in interface ILayer
Parameters:
cached - The cached (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getSupportedDrawPhases

public int getSupportedDrawPhases()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: ILayer
Supported draw phases.

Supported Platforms

Windows, Solaris, Linux

Remarks

Indicates the draw phases supported by the layer (esriDPGeography, esriDPAnnotation, esriDPSelection, or any combination of the three). The supported draw phases are defined by esriDrawPhase. When multiple draw phases are supported, the sum of the constants is used. For example, if SupportedDrawPhases 3 then the layer supports drawing in the geography and annotation phases.

Specified by:
getSupportedDrawPhases in interface ILayer
Returns:
The drawPhases
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference rhs1)
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: ILayer
Spatial reference for the layer.

Specified by:
setSpatialReferenceByRef in interface ILayer
Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

public void draw(int drawPhase,
                 IDisplay display,
                 ITrackCancel trackCancel)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: ILayer
Draws the layer to the specified display for the given draw phase.

Supported Platforms

Windows, Solaris, Linux

Remarks

This method draws the layer to the Display for the specified DrawPhase. Use the TrackCancel object to allow the drawing of the layer to be interrupted by the user.

Specified by:
draw in interface ILayer
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:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
Description copied from interface: IGeoDataset
The spatial reference of the GeoDataset.

Supported Platforms

Windows, Solaris, Linux

Remarks

This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.

Specified by:
getSpatialReference in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGeoDataset
The extent of the GeoDataset.

Supported Platforms

Windows, Solaris, Linux

Remarks

The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.

Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

The red box represents the IGeoDataset extent

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

The red box represents the IGeoDataset extent after some of the features have been deleted

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

The red box represents the IGeoDataset extent after it has been updated

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.

 

Specified by:
getExtent in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getLegendGroupCount

public int getLegendGroupCount()
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: ILegendInfo
Number of legend groups contained by the object.

Supported Platforms

Windows, Solaris, Linux

Remarks

The number of legend groups is determined by the implementation of the renderer, consequently this property is read only. For example, SimpleRenderer has one group, while a BiUniqueValueRenderer has any number of groups.

Specified by:
getLegendGroupCount in interface ILegendInfo
Returns:
The count
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getLegendGroup

public ILegendGroup getLegendGroup(int index)
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: ILegendInfo
Legend group at the specified index.

Supported Platforms

Windows, Solaris, Linux

Remarks

The content and number of legend groups is determined by the implementation of the renderer, consequently this property is read only.

Specified by:
getLegendGroup in interface ILegendInfo
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.ILegendGroup
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLegendItem

public ILegendItem getLegendItem()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: ILegendInfo
Optional. Defines legend formatting for layer rendered with this object.

Supported Platforms

Windows, Solaris, Linux

Remarks

Layer or renderer legend information is further formatted for display in ArcMap legends. A renderer can override this formatting by returning a LegendItem for this property. ESRI renderers typically do not return anything for this property. With this configuration, legend formatting becomes a user or developer choice on the legend object.

Specified by:
getLegendItem in interface ILegendInfo
Returns:
A reference to a com.esri.arcgis.carto.ILegendItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSymbolsAreGraduated

public boolean isSymbolsAreGraduated()
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: ILegendInfo
Indicates if symbols are graduated.

Supported Platforms

Windows, Solaris, Linux

Description

Indicates whether the symbols used for a layer or renderer's legend vary by size.

Remarks

For example the proportional symbol renderer returns True for this property.

You can use this property to distinguish between a layer symbolized with graduated color or graduated symbol type layer symbology. Both of these symbolizations use a ClassBreaksRenderer, but only a graduated symbol symbolization will return True for this property.

Specified by:
isSymbolsAreGraduated in interface ILegendInfo
Returns:
The symbolsAreGraduated
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setSymbolsAreGraduated

public void setSymbolsAreGraduated(boolean symbolsAreGraduated)
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: ILegendInfo
Indicates if symbols are graduated.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setSymbolsAreGraduated in interface ILegendInfo
Parameters:
symbolsAreGraduated - The symbolsAreGraduated (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IPersistStream

Supported Platforms

Windows, Solaris, Linux

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IPersist

Supported Platforms

Windows, Solaris, Linux

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

identify

public IArray identify(IGeometry pGeom)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IIdentify
Identifies objects at the specified location.

Supported Platforms

Windows, Solaris, Linux

Remarks

When the IIdentify interface is on a map layer, the Identify method returns an array of FeatureIdentifyObject objects.

On a FeatureIdentifyObject, you can do a QI to the IIdentifyObj interface to get more information about the identified feature. The IIdentifyObj interface returns the window handle, layer, and name of the feature; it has methods to flash the feature in the display and to display a context menu at the Identify location.

This method performs an identify operation with the provided geometry.  When identifying layers, typically a small envelope is passed in rather than a point to account for differences in the precision of the display and the feature geometry.


 

Specified by:
identify in interface IIdentify
Parameters:
pGeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSmallImage

public int getSmallImage()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ILayerInfo
Small image that represents the layer.

Supported Platforms

Windows, Solaris, Linux

Description

The icon used to represent the layer in ArcCatalog's 'List' and 'Details' views.

Specified by:
getSmallImage in interface ILayerInfo
Returns:
The hBitmap (A COM typedef)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getSmallSelectedImage

public int getSmallSelectedImage()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: ILayerInfo
Small image that represents the layer when it is selected.

Supported Platforms

Windows, Solaris, Linux

Description

The icon used to represent the layer when it is selected in ArcCatalog's 'List' and 'Details' views.

Specified by:
getSmallSelectedImage in interface ILayerInfo
Returns:
The hBitmap (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLargeImage

public int getLargeImage()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ILayerInfo
Large image that represents the layer.

Supported Platforms

Windows, Solaris, Linux

Description

The icon used to represent the layer in ArcCatalog's 'Large Icon' view.

Specified by:
getLargeImage in interface ILayerInfo
Returns:
The hBitmap (A COM typedef)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getLargeSelectedImage

public int getLargeSelectedImage()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: ILayerInfo
Large image that represents the layer when it is selected.

Supported Platforms

Windows, Solaris, Linux

Description

The icon used to represent the layer when it is selected in ArcCatalog's 'Large Icon' view.

Specified by:
getLargeSelectedImage in interface ILayerInfo
Returns:
The hBitmap (A COM typedef)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getDataSourceName

public IName getDataSourceName()
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IDataLayer
Name of the data object for the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDataSourceName in interface IDataLayer
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setDataSourceName

public void setDataSourceName(IName name)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IDataLayer
Name of the data object for the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDataSourceName in interface IDataLayer
Parameters:
name - A reference to a com.esri.arcgis.system.IName (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isDataSourceSupported

public boolean isDataSourceSupported(IName name)
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: IDataLayer
Indicates if the specified data object name is supported by the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDataSourceSupported in interface IDataLayer
Parameters:
name - A reference to a com.esri.arcgis.system.IName (in)
Returns:
The supported
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

connect

public boolean connect(IName pOptRepairName)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IDataLayer
Connects the layer to its data source. An optional name object can be specified to aid in repairing a lost connection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
connect in interface IDataLayer
Parameters:
pOptRepairName - A reference to a com.esri.arcgis.system.IName (in)
Returns:
The succeeded
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getRelativeBase

public java.lang.String getRelativeBase()
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IDataLayer
Base path used when storing relative path names.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelativeBase in interface IDataLayer
Returns:
The basePath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRelativeBase

public void setRelativeBase(java.lang.String basePath)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IDataLayer
Base path used when storing relative path names.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setRelativeBase in interface IDataLayer
Parameters:
basePath - The basePath (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

disconnect

public void disconnect()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IDataLayer2
Disconnects the data from the layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
disconnect in interface IDataLayer2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

inWorkspace

public boolean inWorkspace(IWorkspace workspace)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IDataLayer2
Returns TRUE if the layer is in the specified workspace.

Supported Platforms

Windows, Solaris, Linux

Specified by:
inWorkspace in interface IDataLayer2
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
The inWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportsTransparency

public boolean isSupportsTransparency()
                               throws java.io.IOException,
                                      AutomationException
Description copied from interface: ILayerEffects
Indicates if the layer supports transparency.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isSupportsTransparency in interface ILayerEffects
Returns:
The supported
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportsContrastChange

public boolean isSupportsContrastChange()
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: ILayerEffects
Indicates if the layer supports contrast changes.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isSupportsContrastChange in interface ILayerEffects
Returns:
The supported
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isSupportsBrightnessChange

public boolean isSupportsBrightnessChange()
                                   throws java.io.IOException,
                                          AutomationException
Description copied from interface: ILayerEffects
Indicates if the layer supports brightness changes.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isSupportsBrightnessChange in interface ILayerEffects
Returns:
The supported
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setSupportsInteractive

public void setSupportsInteractive(boolean supported)
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: ILayerEffects
Indicates if the layer supports interactive effects changes.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setSupportsInteractive in interface ILayerEffects
Parameters:
supported - The supported (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isSupportsInteractive

public boolean isSupportsInteractive()
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: ILayerEffects
Indicates if the layer supports interactive effects changes.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isSupportsInteractive in interface ILayerEffects
Returns:
The supported
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTransparency

public short getTransparency()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ILayerEffects
Layer transparency in percent (0-100).

Supported Platforms

Windows, Solaris, Linux

Remarks

When you set Transparency for a FeatureLayer, a TransparencyDisplayFilter is created and applied to the layer. You can accomplish the same effect by manually creating a new TransparencyDisplayFilter using IDisplayFilter, and then assigning it to a layer using IDisplayFilterManager.

 

Specified by:
getTransparency in interface ILayerEffects
Returns:
The alpha
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTransparency

public void setTransparency(short alpha)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: ILayerEffects
Layer transparency in percent (0-100).

Supported Platforms

Windows, Solaris, Linux

Specified by:
setTransparency in interface ILayerEffects
Parameters:
alpha - The alpha (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getContrast

public short getContrast()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ILayerEffects
Layer contrast in percent (-100 - 100).

Supported Platforms

Windows, Solaris, Linux

Specified by:
getContrast in interface ILayerEffects
Returns:
The contrastValue
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setContrast

public void setContrast(short contrastValue)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: ILayerEffects
Layer contrast in percent (-100 - 100).

Supported Platforms

Windows, Solaris, Linux

Specified by:
setContrast in interface ILayerEffects
Parameters:
contrastValue - The contrastValue (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getBrightness

public short getBrightness()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: ILayerEffects
Layer brightness in percent (-100 - 100).

Supported Platforms

Windows, Solaris, Linux

Specified by:
getBrightness in interface ILayerEffects
Returns:
The brightnessValue
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setBrightness

public void setBrightness(short brightnessValue)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: ILayerEffects
Layer brightness in percent (-100 - 100).

Supported Platforms

Windows, Solaris, Linux

Specified by:
setBrightness in interface ILayerEffects
Parameters:
brightnessValue - The brightnessValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUsesFilter

public boolean isUsesFilter()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IDisplayAdmin
Indicates if the current object draws using a filter.

Supported Platforms

Windows, Solaris, Linux

Remarks

The UsesFilter property returns true when the object in question will draw with a filter.  Drawing with a filter means means that an object that would normally draw as vector graphics will instead draw as raster.  The UsesFilter property is particularly useful for detecting vector map layers that will be rasterized at time of print or export.

Specified by:
isUsesFilter in interface IDisplayAdmin
Returns:
The usesFilter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRequiresBanding

public boolean isRequiresBanding()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IDisplayAdmin2
Indicates whether the output from the drawing object requires banding. Generally this is true if the output is raster.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isRequiresBanding in interface IDisplayAdmin2
Returns:
The flag
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isDoesBlending

public boolean isDoesBlending()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IDisplayAdmin2
Indicates whether the drawing object blends its output with the background. For example, if the object is transparent, the background becomes part of its rendering.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDoesBlending in interface IDisplayAdmin2
Returns:
The flag
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isCanGeoRef

public boolean isCanGeoRef()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IGeoReference
Indicates if layer can be georeferenced.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isCanGeoRef in interface IGeoReference
Returns:
The canGeoRef
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

shift

public void shift(double deltaX,
                  double deltaY)
           throws java.io.IOException,
                  AutomationException
Description copied from interface: IGeoReference
Shift operation of layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
shift in interface IGeoReference
Parameters:
deltaX - The deltaX (in)
deltaY - The deltaY (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reScale

public void reScale(double xScale,
                    double yScale)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IGeoReference
ReScale operation of layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
reScale in interface IGeoReference
Parameters:
xScale - The xScale (in)
yScale - The yScale (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

flip

public void flip()
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IGeoReference
Flip operation of layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
flip in interface IGeoReference
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

mirror

public void mirror()
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IGeoReference
Mirror operation of layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
mirror in interface IGeoReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotate

public void rotate(IPoint ipPivotPoint,
                   double angle)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IGeoReference
Rotate operation of layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
rotate in interface IGeoReference
Parameters:
ipPivotPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
angle - The angle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

pointsTransform

public IPointCollection pointsTransform(IPointCollection inPoints,
                                        boolean isForward)
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IGeoReference
Transform operation of Raster.

Supported Platforms

Windows, Solaris, Linux

Specified by:
pointsTransform in interface IGeoReference
Parameters:
inPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
isForward - The isForward (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPointCollection
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

twoPointsAdjust

public void twoPointsAdjust(IPointCollection fromPoints,
                            IPointCollection toPoints)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IGeoReference
Two points adjust operation of layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
twoPointsAdjust in interface IGeoReference
Parameters:
fromPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
toPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

warp

public void warp(IPointCollection fromPoints,
                 IPointCollection toPoints,
                 int order)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IGeoReference
Warp operation of layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
warp in interface IGeoReference
Parameters:
fromPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
toPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
order - The order (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Description copied from interface: IGeoReference
Reset operation of layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
reset in interface IGeoReference
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

register

public void register()
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IGeoReference
Save transformation parameters and tie-points.

Supported Platforms

Windows, Solaris, Linux

Specified by:
register in interface IGeoReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rectify

public void rectify(java.lang.String fullpath,
                    java.lang.String format)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IGeoReference
Save transformed result to a new dataset.

Supported Platforms

Windows, Solaris, Linux

Specified by:
rectify in interface IGeoReference
Parameters:
fullpath - The fullpath (in)
format - The format (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getDisplayTable

public ITable getDisplayTable()
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IDisplayTable
The display table.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDisplayTable in interface IDisplayTable
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchDisplayTable

public ICursor searchDisplayTable(IQueryFilter pQueryFilter,
                                  boolean recycling)
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: IDisplayTable
Creates a cursor from the display table based upon the search criteria.

Supported Platforms

Windows, Solaris, Linux

Description

 

QueryFilter specifies an IQueryFilterObject to be used for the search.

Recycling specifies whether the resulting cursor is recycling or non-recycling. Use True for recycling cursor and False for a non-recycling cursor.

 

Remarks

If there is a definition query set on the layer or table, the SearchDisplayTable method will work on the subset of rows that meet the definition criteria. Otherwise, it will search the whole table.

SearchDisplayTable will return an ICursor with all of the rows that satisfy some attribute and/or spatial query as specified by an IQueryFilter object. If Nothing is given as the IQueryFilter, then the cursor will have all of the rows from the table.

This SearchDisplayTable method will also work on joined fields if you qualify the field names. For example, if you want to search a field called "Pop1990" from a joined table called "Demog", you should used "Demog.Pop1990" for the field name in the query filter used in the search method.

The Recycling parameter controls row object allocation behavior. Recycling cursors rehydrate a single row object on each fetch and can be used to optimize read-only access, for example, when drawing. It is illegal to maintain a reference on a row object returned by a recycling cursor across multiple calls to NextRow on the cursor. Row objects returned by a recycling cursor should not be modified.

Non-recycling cursors return a separate row object on each fetch. The objects returned by a non-recycling cursor may be modified and stored with polymorphic behavior. The geodatabase guarantees 'unique instance semantics' on non-recycling feature objects fetched during an edit session.

Recycling cursors should be used only for drawing and read-only access to object state. Use non-recycling search cursors to fetch objects that are to be updated.

Specified by:
searchDisplayTable in interface IDisplayTable
Parameters:
pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectDisplayTable

public ISelectionSet selectDisplayTable(IQueryFilter pQueryFilter,
                                        int selType,
                                        int selOption,
                                        IWorkspace pSelWorkspace)
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IDisplayTable
Creates a selection set from the display table based upon the search criteria.

Supported Platforms

Windows, Solaris, Linux

Specified by:
selectDisplayTable in interface IDisplayTable
Parameters:
pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
selType - A com.esri.arcgis.geodatabase.esriSelectionType constant (in)
selOption - A com.esri.arcgis.geodatabase.esriSelectionOption constant (in)
pSelWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getDisplaySelectionSet

public ISelectionSet getDisplaySelectionSet()
                                     throws java.io.IOException,
                                            AutomationException
Description copied from interface: IDisplayTable
The selected set of rows from the display table.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDisplaySelectionSet in interface IDisplayTable
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionSet

public ISelectionSet getSelectionSet()
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: ITableSelection
The selected set of rows.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSelectionSet in interface ITableSelection
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setSelectionSetByRef

public void setSelectionSetByRef(ISelectionSet selectionSet)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: ITableSelection
The selected set of rows.

Specified by:
setSelectionSetByRef in interface ITableSelection
Parameters:
selectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addRow

public void addRow(IRow row)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: ITableSelection
Adds a row to the selection set (honoring the current combination method).

Supported Platforms

Windows, Solaris, Linux

Specified by:
addRow in interface ITableSelection
Parameters:
row - A reference to a com.esri.arcgis.geodatabase.IRow (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectRows

public void selectRows(IQueryFilter filter,
                       int method,
                       boolean justOne)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ITableSelection
Selects rows based upon the specified criteria and combination method.

Supported Platforms

Windows, Solaris, Linux

Description

The justOne parameter tells the search to stop once it has found one feature.

Specified by:
selectRows in interface ITableSelection
Parameters:
filter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
method - A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)
justOne - The justOne (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Description copied from interface: ITableSelection
Clears the selection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
clear in interface ITableSelection
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

selectionChanged

public void selectionChanged()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ITableSelection
Fires the layer update event. Required when SelectionSet changes.

Supported Platforms

Windows, Solaris, Linux

Specified by:
selectionChanged in interface ITableSelection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findField

public int findField(java.lang.String name)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IClass
The index of the field with the specified name.

Supported Platforms

Windows, Solaris, Linux

Remarks

If FindField returns -1, the Field could not be found in the Fields collection.

Specified by:
findField in interface IClass
Parameters:
name - The name (in)
Returns:
The fieldIndex
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IClass
The fields collection for this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFields in interface IClass
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getIndexes

public IIndexes getIndexes()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IClass
The indexes collection for this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getIndexes in interface IClass
Returns:
A reference to a com.esri.arcgis.geodatabase.IIndexes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addField

public void addField(IField field)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IClass
Adds a field to this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addField in interface IClass
Parameters:
field - A reference to a com.esri.arcgis.geodatabase.IField (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteField

public void deleteField(IField field)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IClass
Deletes a field from this object class.

Supported Platforms

Windows, Solaris, Linux

Remarks

DeleteField removes the specified field from a table, object class or feature class. Fields that are required by the Geodatabase and cannot be removed include:

 

Specified by:
deleteField in interface IClass
Parameters:
field - A reference to a com.esri.arcgis.geodatabase.IField (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addIndex

public void addIndex(IIndex index)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IClass
Adds an index to this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addIndex in interface IClass
Parameters:
index - A reference to a com.esri.arcgis.geodatabase.IIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteIndex

public void deleteIndex(IIndex index)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IClass
Deletes an index from this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deleteIndex in interface IClass
Parameters:
index - A reference to a com.esri.arcgis.geodatabase.IIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasOID

public boolean isHasOID()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IClass
Indicates if the class has an object identity (OID) field.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isHasOID in interface IClass
Returns:
The hasOID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOIDFieldName

public java.lang.String getOIDFieldName()
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IClass
The name of the field corresponding to the OID.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getOIDFieldName in interface IClass
Returns:
The name
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getCLSID

public IUID getCLSID()
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IClass
The GUID for the COM Class (CoClass) corresponding to instances of this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCLSID in interface IClass
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEXTCLSID

public IUID getEXTCLSID()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IClass
The GUID for the COM Class (CoClass) corresponding to the class extension for this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getEXTCLSID in interface IClass
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getExtension

public java.lang.Object getExtension()
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: IClass
The extension for this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExtension in interface IClass
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionProperties

public IPropertySet getExtensionProperties()
                                    throws java.io.IOException,
                                           AutomationException
Description copied from interface: IClass
The extension properties for this object class.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExtensionProperties in interface IClass
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

createRow

public IRow createRow()
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ITable
Creates a row in the database with a system assigned object ID and null property values.

Supported Platforms

Windows, Solaris, Linux

Remarks

The CreateRow method creates a new row in the underlying database with a system assigned object id value. A row object representing the created row is returned to the caller. The row object returned has the system assigned object ID as the value of the OIDField. All other fields are initialized to null values if they can be made null and to built-in default values appropriate to the type of the field if they cannot be made null.

The caller is responsible for setting the desired field values into the row and calling the Store method on the row. If the table represents an object class with subtypes, then it is the caller’s responsibility to set the default subtype code into the row and call the InitDefaultValues method on the row before storing, if that is the desired result. For tables without object behavior, insert cursors offer a more efficient way for inserting new rows.

Specified by:
createRow in interface ITable
Returns:
A reference to a com.esri.arcgis.geodatabase.IRow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRow

public IRow getRow(int oID)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: ITable
The row from the database with the specified object ID.

Supported Platforms

Windows, Solaris, Linux

Remarks

The GetRow method returns an existing row object, given its object ID value. The caller can query the returned row object for additional object specific interfaces. The retrieved row may be modified; calling Store on the row object after changing it will trigger messages to related objects and will mark the row for committing to the database.

Specified by:
getRow in interface ITable
Parameters:
oID - The oID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRows

public ICursor getRows(java.lang.Object oids,
                       boolean recycling)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ITable
The cursor of rows based on a set of object ids.

Supported Platforms

Windows, Solaris, Linux

Remarks

The GetRows method returns a cursor that may be used to retrieve a set of rows specified by the input array of object id values. See the description of the Search method to understand the meaning of the recycling parameter. It is far more efficient to retrieve a set of rows using the GetRows method than it is to retrieve each individual row using the GetRow method. The retrieved rows may be modified; Store should be called on the row objects after changing them.

Specified by:
getRows in interface ITable
Parameters:
oids - A Variant (in)
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

createRowBuffer

public IRowBuffer createRowBuffer()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: ITable
Creates a row buffer that can be used with an insert cursor.

Supported Platforms

Windows, Solaris, Linux

Remarks

The CreateRowBuffer method creates a new row buffer object in memory and returns it to the caller. No row is created in the database. The returned row buffer does not have an object ID value. The caller can set values into the row buffer and use it as an argument to the InsertRow method on an insert cursor; the latter is obtained by calling the Insert method on the Table.

Specified by:
createRowBuffer in interface ITable
Returns:
A reference to a com.esri.arcgis.geodatabase.IRowBuffer
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

updateSearchedRows

public void updateSearchedRows(IQueryFilter queryFilter,
                               IRowBuffer buffer)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: ITable
Update the Rows in the database selected by the specified query.

Supported Platforms

Windows, Solaris, Linux

Remarks

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

Specified by:
updateSearchedRows in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
buffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

deleteSearchedRows

public void deleteSearchedRows(IQueryFilter queryFilter)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: ITable
Delete the Rows in the database selected by the specified query.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deleteSearchedRows in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rowCount

public int rowCount(IQueryFilter queryFilter)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: ITable
The number of Rows selected by the specified query.

Supported Platforms

Windows, Solaris, Linux

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

ITable_search

public ICursor ITable_search(IQueryFilter queryFilter,
                             boolean recycling)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ITable
An object cursor that can be used to fetch row objects selected by the specified query.

Specified by:
ITable_search in interface ITable
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.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

public ICursor update(IQueryFilter queryFilter,
                      boolean recycling)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ITable
Returns a cursor that can be used to update Rows selected by the specified query.

Supported Platforms

Windows, Solaris, Linux

Remarks

The Update method returns an ‘update’ cursor that can be used to update or delete rows. It offers somewhat faster performance than multiple calls to Store or Delete on row objects fetched using a non-recycling search cursor for tables storing simple rows and simple features. There is no difference in performance for custom features.

All edits to features that participate in a Topology or Geometric Network must be bracketed within an edit operation.

Specified by:
update in interface ITable
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.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public ICursor insert(boolean useBuffering)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: ITable
Returns a cursor that can be used to insert new Rows.

Supported Platforms

Windows, Solaris, Linux

Remarks

The Insert method returns an ‘insert’ cursor that can be used to bulk insert rows. It offers significantly faster performance than multiple calls to CreateRow and Store for tables storing simple rows and simple features (that is, for tables whose CLSID is esriGeoDatabase.Row, esriGeoDatabase.Object, or esriGeoDatabase.Feature).

Insert cursors on tables containing custom rows and objects use the CreateRow and Store methods to achieve polymorphism, and there is no difference in performance in these cases.

Specified by:
insert in interface ITable
Parameters:
useBuffering - The useBuffering (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

select

public ISelectionSet select(IQueryFilter queryFilter,
                            int selType,
                            int selOption,
                            IWorkspace selectionContainer)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: ITable
A selection that contains the object ids selected by the specified query.

Supported Platforms

Windows, Solaris, Linux

Remarks

The Select method returns a selection set that holds either row ids or row objects from the Table depending on the selection option. Multiple selection sets can be created on the same table. It is up to a client application or object to keep a reference on created selections and use them as appropriate. For example, a FeatureLayer creates and uses selections on a FeatureClass (a type of Table).

When calling Select the selectionContainer parameter is no longer required. Null (C#, VB.Net) or Nothing (VB6) should be supplied it its place. 

Specified by:
select in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
selType - A com.esri.arcgis.geodatabase.esriSelectionType constant (in)
selOption - A com.esri.arcgis.geodatabase.esriSelectionOption constant (in)
selectionContainer - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectClassID

public int getObjectClassID()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IObjectClass
The unique ID for the object class.

Supported Platforms

Windows, Solaris, Linux

Description

Returns the unique ID of the object class.

Remarks

Each feature class or table registered with the geodatabase is an object class. Object classes have a unique ID which distinguishes them from other object classes in the geodatabase. The ObjectClassID property returns this ID as a long. The object class ID is assigned by the system when the class is created, or registered with the geodatabase, it cannot be modified.

Those feature classes and tables that are in the database, but not registered with the geodatabase will always have an object class ID of -1.

Specified by:
getObjectClassID in interface IObjectClass
Returns:
The objectClassID
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getRelationshipClasses

public IEnumRelationshipClass getRelationshipClasses(int role)
                                              throws java.io.IOException,
                                                     AutomationException
Description copied from interface: IObjectClass
The relationship classes in which this object class participates in for the specified role.

Supported Platforms

Windows, Solaris, Linux

Description

Returns an enumeration of the relationship classes in which the object class participates.

Remarks

Object classes in a geodatabase may participate in any number of relationships classes. The RelationshipClasses property allows you to get a list of those relationship classes that the object class participates in by what role it plays (origin, destination, or either) defined by the esriRelRole enumeration used when you call this property. This property returns a IEnumRelationshipClass interface which you can use to loop through those relationship classes that are returned.

Specified by:
getRelationshipClasses in interface IObjectClass
Parameters:
role - A com.esri.arcgis.geodatabase.esriRelRole constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRelationshipClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
IEnumRelationshipClass, esriRelRole

getAliasName

public java.lang.String getAliasName()
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: IObjectClass
The alias name of the object class.

Supported Platforms

Windows, Solaris, Linux

Description

Returns the alias name for the object class.

Remarks

Object classes in a geodatabase can have between one and three names. The name of the object class, which is the same as the name of the table in the DBMS in which the objects in the object class are stored, the alias name which the user can set for display purposes in end user applications. The third name is the model name which is a tool for developers of custom objects to use to guarantee the names of objects independent of the true name or alias name.

The AliasName property returns the alias name for the object class. If the object class has no alias name, then AliasName will return the name of the object class (fully qualified if on ArcSDE). The alias name can be modified using the IClassSchemEdit interface.

Specified by:
getAliasName in interface IObjectClass
Returns:
The name
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
See Also:
IModelInfo

getFieldCount

public int getFieldCount()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ILayerFields
The number of fields.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFieldCount in interface ILayerFields
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getField

public IField getField(int index)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: ILayerFields
The field at the specified index.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getField in interface ILayerFields
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IField
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getFieldInfo

public IFieldInfo getFieldInfo(int index)
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: ILayerFields
Extended field information for the field at the specified index.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFieldInfo in interface ILayerFields
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFieldInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getJoinType

public int getJoinType()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IDisplayRelationshipClass
Join type for the most recent join performed.

Supported Platforms

Windows, Solaris, Linux

Description

Indicates the type of the most recent join.

Specified by:
getJoinType in interface IDisplayRelationshipClass
Returns:
A com.esri.arcgis.geodatabase.esriJoinType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipClass

public IRelationshipClass getRelationshipClass()
                                        throws java.io.IOException,
                                               AutomationException
Description copied from interface: IDisplayRelationshipClass
Relationship class that defines how the tables are joined.

Supported Platforms

Windows, Solaris, Linux

Description

The relationship class that defines the tables that are joined.

Remarks

You can also use IFeatureLayerDefinition::RelationshipClass to get a reference to the relationship class that defines a layer join.

Specified by:
getRelationshipClass in interface IDisplayRelationshipClass
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelationshipClass
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

displayRelationshipClass

public void displayRelationshipClass(IRelationshipClass relClass,
                                     int joinType)
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: IDisplayRelationshipClass
Sets a join based on the specified relationship class and join type.

Supported Platforms

Windows, Solaris, Linux

Description

RelClass can be either a file or memory based relationship class, but must be defined on the base feature class.

Remarks

This method internally initializes a RelQueryTable to perform a join. relClass can be can be either a predefined relationship class in a geodatabase or an in memory relationship class. For more information on relationship clases, see IRelationshipClass

Specified by:
displayRelationshipClass in interface IDisplayRelationshipClass
Parameters:
relClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
joinType - A com.esri.arcgis.geodatabase.esriJoinType constant (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getRelationshipClasses

public IEnumRelationshipClass getRelationshipClasses()
                                              throws java.io.IOException,
                                                     AutomationException
Description copied from interface: IRelationshipClassCollection
The memory relationship classes.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipClasses in interface IRelationshipClassCollection
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRelationshipClass
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

findRelationshipClasses

public IEnumRelationshipClass findRelationshipClasses(IObjectClass objectClass,
                                                      int role)
                                               throws java.io.IOException,
                                                      AutomationException
Description copied from interface: IRelationshipClassCollection
Finds all relationship classes in the collection that reference the given object class in the specified role.

Supported Platforms

Windows, Solaris, Linux

Specified by:
findRelationshipClasses in interface IRelationshipClassCollection
Parameters:
objectClass - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
role - A com.esri.arcgis.geodatabase.esriRelRole constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRelationshipClass
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

addRelationshipClass

public void addRelationshipClass(IRelationshipClass relationshipClass)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IRelationshipClassCollectionEdit
Adds the specified memory relationship class to a standalone table or layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addRelationshipClass in interface IRelationshipClassCollectionEdit
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

removeRelationshipClass

public void removeRelationshipClass(IRelationshipClass relationshipClass)
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: IRelationshipClassCollectionEdit
Removes the specified memory relationship class from a standalone table or layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
removeRelationshipClass in interface IRelationshipClassCollectionEdit
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

removeAllRelationshipClasses

public void removeAllRelationshipClasses()
                                  throws java.io.IOException,
                                         AutomationException
Description copied from interface: IRelationshipClassCollectionEdit
Removes all memory relationship classes from a standalone table or layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
removeAllRelationshipClasses in interface IRelationshipClassCollectionEdit
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getExtensionCount

public int getExtensionCount()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ILayerExtensions
Number of extensions.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExtensionCount in interface ILayerExtensions
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtension

public java.lang.Object getExtension(int index)
                              throws java.io.IOException,
                                     AutomationException
Description copied from interface: ILayerExtensions
The extension at the specified index.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExtension in interface ILayerExtensions
Parameters:
index - The index (in)
Returns:
A reference to another Object (IUnknown)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

addExtension

public void addExtension(java.lang.Object ext)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ILayerExtensions
Adds a new extension.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addExtension in interface ILayerExtensions
Parameters:
ext - A reference to another Object (IUnknown) (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

removeExtension

public void removeExtension(int index)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: ILayerExtensions
Removes the specified extension.

Supported Platforms

Windows, Solaris, Linux

Specified by:
removeExtension in interface ILayerExtensions
Parameters:
index - The index (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isDrawingPropsDirty

public boolean isDrawingPropsDirty()
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: ILayerDrawingProperties
Indicates if the layer drawing properties are dirty.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDrawingPropsDirty in interface ILayerDrawingProperties
Returns:
The dirty
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setDrawingPropsDirty

public void setDrawingPropsDirty(boolean dirty)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: ILayerDrawingProperties
Indicates if the layer drawing properties are dirty.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDrawingPropsDirty in interface ILayerDrawingProperties
Parameters:
dirty - The dirty (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getLastMinimumScale

public double getLastMinimumScale()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: ILayerGeneralProperties
Last minimum scale setting used by layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLastMinimumScale in interface ILayerGeneralProperties
Returns:
The minScale
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getLastMaximumScale

public double getLastMaximumScale()
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: ILayerGeneralProperties
Last maximum scale setting used by layer.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLastMaximumScale in interface ILayerGeneralProperties
Returns:
The maxScale
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

ILayerGeneralProperties_getLayerDescription

public java.lang.String ILayerGeneralProperties_getLayerDescription()
                                                             throws java.io.IOException,
                                                                    AutomationException
Description copied from interface: ILayerGeneralProperties
Description for the layer.

Specified by:
ILayerGeneralProperties_getLayerDescription in interface ILayerGeneralProperties
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerDescription

public void setLayerDescription(java.lang.String text)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: ILayerGeneralProperties
Description for the layer.

Supported Platforms

Windows, Solaris, Linux

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

getLayerWeight

public double getLayerWeight()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: ILayerPosition
Default layer position.

Supported Platforms

Windows, Solaris, Linux

Description

The LayerWeight property defines the weight of the layer in the auto arrange order.   During auto arrange, the higher weight layers are added to the map first, which means they draw lower in the draw order.


Default weights for layers are these values:
Annotation layers = 97
Points layers = 98
Polyline layers = 99
Polygon Layers = 100

Specified by:
getLayerWeight in interface ILayerPosition
Returns:
The layerWeight
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setLayerWeight

public void setLayerWeight(double layerWeight)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: ILayerPosition
Default layer position.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setLayerWeight in interface ILayerPosition
Parameters:
layerWeight - The layerWeight (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeTable

public ITable getAttributeTable()
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IAttributeTable
The attribute table.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getAttributeTable in interface IAttributeTable
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IConnectionPointContainer

Supported Platforms

Windows, Solaris, Linux

Description

IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IConnectionPointContainer

Supported Platforms

Windows, Solaris, Linux

Description

IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IDataset
The associated name object.

Supported Platforms

Windows, Solaris, Linux

Remarks

The FullName property returns a Name object for the dataset. The Name object can be persisted and provides a way to get back to the dataset in a future session of the application, via the Open method on the Name object.

Specified by:
getFullName in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getBrowseName

public java.lang.String getBrowseName()
                               throws java.io.IOException,
                                      AutomationException
Description copied from interface: IDataset
The browse name of the dataset.

Supported Platforms

Windows, Solaris, Linux

Remarks

BrowseName returns file names without their extension. For example, States.shp would appear as States.

Specified by:
getBrowseName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBrowseName

public void setBrowseName(java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IDataset
The browse name of the dataset.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setBrowseName in interface IDataset
Parameters:
name - The name (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IDataset
The type of the Dataset.

Supported Platforms

Windows, Solaris, Linux

Remarks

The Type property returns the enumerated type for the dataset, such as esriDTTable or esriDTFeatureDataset.

Specified by:
getType in interface IDataset
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: IDataset
The category of the dataset.

Supported Platforms

Windows, Solaris, Linux

Remarks

IDataset::Category returns a description of the category of the dataset.  The description returned from the Category property is the same value that is displayed in the Type column within the Contents tab in ArcCatalog.  The value will contain a description of the dataset such as "Topology" prefixed with a description of the type of workspace containing the dataset such as "File Geodatabase".

The description returned from IDataset::Category may change between releases of ArcGIS.

Specified by:
getCategory in interface IDataset
Returns:
The category
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getSubsets

public IEnumDataset getSubsets()
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IDataset
Datasets contained within this dataset.

Supported Platforms

Windows, Solaris, Linux

Description

The Subsets property returns other Dataset objects contained in this dataset.

Remarks

IDataset::Subsets is not supported for Graph objects such as a Geometric Network.  To return the feature classes contained in a Geometric Network, use the IFeatureClassContainer interface.

Specified by:
getSubsets in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getWorkspace

public IWorkspace getWorkspace()
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IDataset
The workspace containing this dataset.

Supported Platforms

Windows, Solaris, Linux

Description

The Workspace property returns the containing workspace for this dataset.

Specified by:
getWorkspace in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertySet

public IPropertySet getPropertySet()
                            throws java.io.IOException,
                                   AutomationException
Description copied from interface: IDataset
The set of properties for the dataset.

Supported Platforms

Windows, Solaris, Linux

Description

The PropertySet property is used to return any additional intrinsic properties (but not metadata properties) that may apply to the dataset. One use of this property is to distinguish between the types of File Geodatabase datafile formats. If called on a Feature Class or Table in a File Geodatabase the Datafile Format property can either be esriFGDBStandardDatafile or esriFGDBCompressedDatafile.

Remarks

Examples of intrinsic properties for which explicit methods exist include the SpatialReference and the Extent methods available on the IGeoDataset interface. In most cases this PropertySet will be empty.

IDataset::PropertySet is not supported for Graph objects such as a Geometric Network.

Specified by:
getPropertySet in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

canCopy

public boolean canCopy()
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IDataset
True if this dataset can be copied.

Supported Platforms

Windows, Solaris, Linux

Remarks

The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods.  For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class.  To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.

The CanCopy method is supported by:

Specified by:
canCopy in interface IDataset
Returns:
The canCopy
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

copy

public IDataset copy(java.lang.String copyName,
                     IWorkspace copyWorkspace)
              throws java.io.IOException,
                     AutomationException
Description copied from interface: IDataset
Copies this dataset to a new dataset with the specified name.

Supported Platforms

Windows, Solaris, Linux

Remarks

IDataset::Copy does not support the copying of Graph objects such as a Geometric Network.

Specified by:
copy in interface IDataset
Parameters:
copyName - The copyName (in)
copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
See Also:
GeoDBDataTransfer

canDelete

public boolean canDelete()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IDataset
True if this dataset can be deleted.

Supported Platforms

Windows, Solaris, Linux

Remarks

The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods.  For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class.  To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.

Specified by:
canDelete in interface IDataset
Returns:
The canDelete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IDataset
Deletes this dataset.

Supported Platforms

Windows, Solaris, Linux

Remarks

Certain feature classes, such as network and topology feature classes, cannot be deleted until their containing objects are deleted.

Specified by:
delete in interface IDataset
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

canRename

public boolean canRename()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IDataset
True if this dataset can be renamed.

Supported Platforms

Windows, Solaris, Linux

Remarks

The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods.  For example, you may not delete or rename a network feature class nor can you use the Copy method on a Geodatabase feature class.  To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.

Specified by:
canRename in interface IDataset
Returns:
The canRename
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rename

public void rename(java.lang.String name)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IDataset
Renames this Dataset.

Supported Platforms

Windows, Solaris, Linux

Remarks

IDataset::Rename does not support the renaming of Graph objects such as a Geometric Network.  In addition, certain feature classes, such as network feature classes, cannot be renamed.

Specified by:
rename in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportsPublishing

public boolean isSupportsPublishing()
                             throws java.io.IOException,
                                    AutomationException
Description copied from interface: IPublishLayer
Indicates if the layer supports the publishing process.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isSupportsPublishing in interface IPublishLayer
Returns:
The bValid
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getPublishingDescription

public java.lang.String getPublishingDescription()
                                          throws java.io.IOException,
                                                 AutomationException
Description copied from interface: IPublishLayer
The layer description reported to the publisher.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getPublishingDescription in interface IPublishLayer
Returns:
The bsDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDataValid

public boolean isDataValid()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IPublishLayer
Indicates if the data for the layer is currently valid.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDataValid in interface IPublishLayer
Returns:
The bDataValid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataDetails

public java.lang.String getDataDetails(java.lang.String bsPadding)
                                throws java.io.IOException,
                                       AutomationException
Description copied from interface: IPublishLayer
Details of the layer's data.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDataDetails in interface IPublishLayer
Parameters:
bsPadding - The bsPadding (in)
Returns:
The bsDataDetails
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

prepareForPublishing

public void prepareForPublishing()
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IPublishLayer
Prepare the layer for the publishing process.

Supported Platforms

Windows, Solaris, Linux

Specified by:
prepareForPublishing in interface IPublishLayer
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

init

public void init(boolean bInit,
                 java.lang.String fileFullName,
                 int fileFormat)
          throws java.io.IOException,
                 AutomationException
Description copied from interface: IRasterSpatialSelection
Create or remove the selection dataset.

Supported Platforms

Windows, Solaris, Linux

Specified by:
init in interface IRasterSpatialSelection
Parameters:
bInit - The bInit (in)
fileFullName - The fileFullName (in, optional, pass 0 if not required)
fileFormat - A com.esri.arcgis.carto.esriRasterSelectionMaskFileFormat constant (in, optional, pass 1 if not required)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

drawSpatialSelection

public void drawSpatialSelection(IDisplay pDisplay,
                                 ITrackCancel pTrackCancel)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IRasterSpatialSelection
Draws the current spatial selection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
drawSpatialSelection in interface IRasterSpatialSelection
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaskRasterDataset

public IRasterDataset getMaskRasterDataset()
                                    throws java.io.IOException,
                                           AutomationException
Description copied from interface: IRasterSpatialSelection
Reference to the current selection dataset.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMaskRasterDataset in interface IRasterSpatialSelection
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaskRasterDatasetByRef

public void setMaskRasterDatasetByRef(IRasterDataset ppRasterDataset)
                               throws java.io.IOException,
                                      AutomationException
Description copied from interface: IRasterSpatialSelection
Reference to the current selection dataset.

Specified by:
setMaskRasterDatasetByRef in interface IRasterSpatialSelection
Parameters:
ppRasterDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

maskWriteBitmap

public void maskWriteBitmap(ITrackCancel trackCancel,
                            tagRECT pRect,
                            int op,
                            java.lang.Object vBytes,
                            boolean byBits)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IRasterSpatialSelection
Perform the mask operation with bitmask.

Supported Platforms

Windows, Solaris, Linux

Specified by:
maskWriteBitmap in interface IRasterSpatialSelection
Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pRect - A Structure: com.esri.arcgis.display.tagRECT (in)
op - A com.esri.arcgis.carto.esriRasterSelectionMaskOp constant (in)
vBytes - A Variant (in)
byBits - The byBits (in, optional, pass false if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

maskReadBitmap

public void maskReadBitmap(ITrackCancel trackCancel,
                           tagRECT pRect,
                           java.lang.Object vBytes,
                           boolean byBits)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IRasterSpatialSelection
Read pixels from selection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
maskReadBitmap in interface IRasterSpatialSelection
Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pRect - A Structure: com.esri.arcgis.display.tagRECT (in)
vBytes - A Variant (in)
byBits - The byBits (in, optional, pass false if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

maskDrawPolyRect

public void maskDrawPolyRect(ITrackCancel trackCancel,
                             java.lang.Object vRects,
                             int op)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IRasterSpatialSelection
Perform the mask operation with the given array of rectangles.

Supported Platforms

Windows, Solaris, Linux

Specified by:
maskDrawPolyRect in interface IRasterSpatialSelection
Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
vRects - A Variant (in)
op - A com.esri.arcgis.carto.esriRasterSelectionMaskOp constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onEvent

public void onEvent(IRasterDataManagementEventsOnEventEvent theEvent)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IRasterDataManagementEvents
Performs operation on the raster data management event.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onEvent in interface IRasterDataManagementEvents
Parameters:
theEvent - The event
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setTemporary

public void setTemporary(boolean temporary)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: ITemporaryLayer
Indicates if the layer is a temporary layer.

Specified by:
setTemporary in interface ITemporaryLayer
Parameters:
temporary - The temporary (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTemporary

public boolean isTemporary()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: ITemporaryLayer
Indicates if the layer is a temporary layer.

Specified by:
isTemporary in interface ITemporaryLayer
Returns:
The temporary
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.