|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.carto.RasterLayer
Raster layer source and display options.
A 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.
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 |
public RasterLayer()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public RasterLayer(java.lang.Object obj)
throws java.io.IOException
obj to RasterLayer. RasterLayer theRasterLayer = (RasterLayer) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IRasterLayer getAsIRasterLayer()
public IGeoDataset getAsIGeoDataset()
public ILegendInfo getAsILegendInfo()
public IPersistStream getAsIPersistStream()
public IIdentify getAsIIdentify()
public ILayerInfo getAsILayerInfo()
public IDataLayer getAsIDataLayer()
public IDataLayer2 getAsIDataLayer2()
public ILayerEffects getAsILayerEffects()
public IDisplayAdmin getAsIDisplayAdmin()
public IDisplayAdmin2 getAsIDisplayAdmin2()
public IGeoReference getAsIGeoReference()
public IDisplayTable getAsIDisplayTable()
public ITableSelection getAsITableSelection()
public IClass getAsIClass()
public ITable getAsITable()
public IObjectClass getAsIObjectClass()
public ILayerFields getAsILayerFields()
public ITableFields getAsITableFields()
public IDisplayRelationshipClass getAsIDisplayRelationshipClass()
public IRelationshipClassCollection getAsIRelationshipClassCollection()
public IRelationshipClassCollectionEdit getAsIRelationshipClassCollectionEdit()
public ILayerExtensions getAsILayerExtensions()
public ILayerDrawingProperties getAsILayerDrawingProperties()
public ILayerGeneralProperties getAsILayerGeneralProperties()
public ILayerPosition getAsILayerPosition()
public IAttributeTable getAsIAttributeTable()
public IConnectionPointContainer getAsIConnectionPointContainer()
public IDataset getAsIDataset()
public IPublishLayer getAsIPublishLayer()
public IRasterSpatialSelection getAsIRasterSpatialSelection()
public IRasterDataManagementEvents getAsIRasterDataManagementEvents()
public ITemporaryLayer getAsITemporaryLayer()
public boolean equals(java.lang.Object o)
public int hashCode()
public void addILayerEventsListener(ILayerEvents theListener)
throws java.io.IOException
java.io.IOException
public void removeILayerEventsListener(ILayerEvents theListener)
throws java.io.IOException
java.io.IOException
public void addIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
throws java.io.IOException
java.io.IOException
public void removeIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
throws java.io.IOException
java.io.IOException
public java.lang.String getFilePath()
throws java.io.IOException,
AutomationException
IRasterLayer
getFilePath in interface IRasterLayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IRaster getRaster()
throws java.io.IOException,
AutomationException
IRasterLayer
getRaster in interface IRasterLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void createFromRaster(IRaster raster)
throws java.io.IOException,
AutomationException
IRasterLayer
createFromRaster in interface IRasterLayerraster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void createFromDataset(IRasterDataset rasterDataset)
throws java.io.IOException,
AutomationException
IRasterLayer
createFromDataset in interface IRasterLayerrasterDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void createFromFilePath(java.lang.String filePath)
throws java.io.IOException,
AutomationException
IRasterLayer
createFromFilePath in interface IRasterLayerfilePath - The filePath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterRenderer getRenderer()
throws java.io.IOException,
AutomationException
IRasterLayerThe Renderer property controls the renderer being used by the layer.
getRenderer in interface IRasterLayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setRendererByRef(IRasterRenderer renderer)
throws java.io.IOException,
AutomationException
IRasterLayer
setRendererByRef in interface IRasterLayerrenderer - A reference to a com.esri.arcgis.carto.IRasterRenderer (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getBandCount()
throws java.io.IOException,
AutomationException
IRasterLayer
getBandCount in interface IRasterLayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getColumnCount()
throws java.io.IOException,
AutomationException
IRasterLayer
getColumnCount in interface IRasterLayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getRowCount()
throws java.io.IOException,
AutomationException
IRasterLayer
getRowCount in interface IRasterLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPyramidPresent()
throws java.io.IOException,
AutomationException
IRasterLayer
isPyramidPresent in interface IRasterLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPyramidPresent(boolean pbPyramidPresent)
throws java.io.IOException,
AutomationException
IRasterLayer
setPyramidPresent in interface IRasterLayerpbPyramidPresent - The pbPyramidPresent (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnvelope getDataFrameExtent()
throws java.io.IOException,
AutomationException
IRasterLayer
getDataFrameExtent in interface IRasterLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVisibleExtent(IEnvelope ppVisibleExtent)
throws java.io.IOException,
AutomationException
IRasterLayer
setVisibleExtent in interface IRasterLayerppVisibleExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnvelope getVisibleExtent()
throws java.io.IOException,
AutomationException
IRasterLayerThe VisibleExtent specifies a subset of the raster layer to be drawn, which can speed the drawing of the layer.
getVisibleExtent in interface IRasterLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPrimaryField(int pnField)
throws java.io.IOException,
AutomationException
IRasterLayer
setPrimaryField in interface IRasterLayerpnField - The pnField (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getPrimaryField()
throws java.io.IOException,
AutomationException
IRasterLayerThe 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.
getPrimaryField in interface IRasterLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowResolution(boolean b)
throws java.io.IOException,
AutomationException
IRasterLayer
setShowResolution in interface IRasterLayerb - The b (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isShowResolution()
throws java.io.IOException,
AutomationException
IRasterLayer
isShowResolution in interface IRasterLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDisplayResolutionFactor(int pnFactor)
throws java.io.IOException,
AutomationException
IRasterLayer
setDisplayResolutionFactor in interface IRasterLayerpnFactor - The pnFactor (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getDisplayResolutionFactor()
throws java.io.IOException,
AutomationException
IRasterLayer
getDisplayResolutionFactor in interface IRasterLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IDataset
getName in interface ILayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
ILayer
setName in interface ILayername - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValid()
throws java.io.IOException,
AutomationException
ILayerThe 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.
isValid in interface ILayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getAreaOfInterest()
throws java.io.IOException,
AutomationException
ILayerReturns the spatial-referenced extent of the layer.
getAreaOfInterest in interface ILayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getMinimumScale()
throws java.io.IOException,
AutomationException
ILayerSpecifies 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.
getMinimumScale in interface ILayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMinimumScale(double minScale)
throws java.io.IOException,
AutomationException
ILayer
setMinimumScale in interface ILayerminScale - The minScale (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaximumScale()
throws java.io.IOException,
AutomationException
ILayerSpecifies 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.
getMaximumScale in interface ILayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaximumScale(double maxScale)
throws java.io.IOException,
AutomationException
ILayer
setMaximumScale in interface ILayermaxScale - The maxScale (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVisible()
throws java.io.IOException,
AutomationException
ILayer
isVisible in interface ILayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setVisible(boolean visible)
throws java.io.IOException,
AutomationException
ILayer
setVisible in interface ILayervisible - The visible (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isShowTips()
throws java.io.IOException,
AutomationException
ILayerIndicates 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.
isShowTips in interface ILayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setShowTips(boolean show)
throws java.io.IOException,
AutomationException
ILayer
setShowTips in interface ILayershow - The show (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getTipText(double x,
double y,
double tolerance)
throws java.io.IOException,
AutomationException
ILayer
getTipText in interface ILayerx - The x (in)y - The y (in)tolerance - The tolerance (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isCached()
throws java.io.IOException,
AutomationException
ILayerThis 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.
isCached in interface ILayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCached(boolean cached)
throws java.io.IOException,
AutomationException
ILayerInformational property. Container is responsible for cache management.
setCached in interface ILayercached - The cached (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getSupportedDrawPhases()
throws java.io.IOException,
AutomationException
ILayerIndicates 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.
getSupportedDrawPhases in interface ILayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialReferenceByRef(ISpatialReference rhs1)
throws java.io.IOException,
AutomationException
ILayer
setSpatialReferenceByRef in interface ILayerrhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
throws java.io.IOException,
AutomationException
ILayerThis 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.
draw in interface ILayerdrawPhase - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISpatialReference getSpatialReference()
throws java.io.IOException,
AutomationException
IGeoDatasetThis 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.
getSpatialReference in interface IGeoDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws java.io.IOException,
AutomationException
IGeoDatasetThe 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.
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.
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.
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.
getExtent in interface IGeoDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getLegendGroupCount()
throws java.io.IOException,
AutomationException
ILegendInfoThe 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.
getLegendGroupCount in interface ILegendInfoAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ILegendGroup getLegendGroup(int index)
throws java.io.IOException,
AutomationException
ILegendInfoThe content and number of legend groups is determined by the implementation of the renderer, consequently this property is read only.
getLegendGroup in interface ILegendInfoindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILegendItem getLegendItem()
throws java.io.IOException,
AutomationException
ILegendInfoLayer 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.
getLegendItem in interface ILegendInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSymbolsAreGraduated()
throws java.io.IOException,
AutomationException
ILegendInfoIndicates whether the symbols used for a layer or renderer's legend vary by size.
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.
isSymbolsAreGraduated in interface ILegendInfoAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSymbolsAreGraduated(boolean symbolsAreGraduated)
throws java.io.IOException,
AutomationException
ILegendInfo
setSymbolsAreGraduated in interface ILegendInfosymbolsAreGraduated - The symbolsAreGraduated (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IArray identify(IGeometry pGeom)
throws java.io.IOException,
AutomationException
IIdentifyWhen 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.
identify in interface IIdentifypGeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSmallImage()
throws java.io.IOException,
AutomationException
ILayerInfoThe icon used to represent the layer in ArcCatalog's 'List' and 'Details' views.
getSmallImage in interface ILayerInfoAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getSmallSelectedImage()
throws java.io.IOException,
AutomationException
ILayerInfoThe icon used to represent the layer when it is selected in ArcCatalog's 'List' and 'Details' views.
getSmallSelectedImage in interface ILayerInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLargeImage()
throws java.io.IOException,
AutomationException
ILayerInfoThe icon used to represent the layer in ArcCatalog's 'Large Icon' view.
getLargeImage in interface ILayerInfoAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getLargeSelectedImage()
throws java.io.IOException,
AutomationException
ILayerInfoThe icon used to represent the layer when it is selected in ArcCatalog's 'Large Icon' view.
getLargeSelectedImage in interface ILayerInfoAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IName getDataSourceName()
throws java.io.IOException,
AutomationException
IDataLayer
getDataSourceName in interface IDataLayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDataSourceName(IName name)
throws java.io.IOException,
AutomationException
IDataLayer
setDataSourceName in interface IDataLayername - A reference to a com.esri.arcgis.system.IName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isDataSourceSupported(IName name)
throws java.io.IOException,
AutomationException
IDataLayer
isDataSourceSupported in interface IDataLayername - A reference to a com.esri.arcgis.system.IName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean connect(IName pOptRepairName)
throws java.io.IOException,
AutomationException
IDataLayer
connect in interface IDataLayerpOptRepairName - A reference to a com.esri.arcgis.system.IName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getRelativeBase()
throws java.io.IOException,
AutomationException
IDataLayer
getRelativeBase in interface IDataLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRelativeBase(java.lang.String basePath)
throws java.io.IOException,
AutomationException
IDataLayer
setRelativeBase in interface IDataLayerbasePath - The basePath (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void disconnect()
throws java.io.IOException,
AutomationException
IDataLayer2
disconnect in interface IDataLayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean inWorkspace(IWorkspace workspace)
throws java.io.IOException,
AutomationException
IDataLayer2
inWorkspace in interface IDataLayer2workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportsTransparency()
throws java.io.IOException,
AutomationException
ILayerEffects
isSupportsTransparency in interface ILayerEffectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportsContrastChange()
throws java.io.IOException,
AutomationException
ILayerEffects
isSupportsContrastChange in interface ILayerEffectsAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isSupportsBrightnessChange()
throws java.io.IOException,
AutomationException
ILayerEffects
isSupportsBrightnessChange in interface ILayerEffectsAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSupportsInteractive(boolean supported)
throws java.io.IOException,
AutomationException
ILayerEffects
setSupportsInteractive in interface ILayerEffectssupported - The supported (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isSupportsInteractive()
throws java.io.IOException,
AutomationException
ILayerEffects
isSupportsInteractive in interface ILayerEffectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getTransparency()
throws java.io.IOException,
AutomationException
ILayerEffects
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.
getTransparency in interface ILayerEffectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransparency(short alpha)
throws java.io.IOException,
AutomationException
ILayerEffects
setTransparency in interface ILayerEffectsalpha - The alpha (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public short getContrast()
throws java.io.IOException,
AutomationException
ILayerEffects
getContrast in interface ILayerEffectsAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setContrast(short contrastValue)
throws java.io.IOException,
AutomationException
ILayerEffects
setContrast in interface ILayerEffectscontrastValue - The contrastValue (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public short getBrightness()
throws java.io.IOException,
AutomationException
ILayerEffects
getBrightness in interface ILayerEffectsAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setBrightness(short brightnessValue)
throws java.io.IOException,
AutomationException
ILayerEffects
setBrightness in interface ILayerEffectsbrightnessValue - The brightnessValue (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUsesFilter()
throws java.io.IOException,
AutomationException
IDisplayAdminThe 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.
isUsesFilter in interface IDisplayAdminjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRequiresBanding()
throws java.io.IOException,
AutomationException
IDisplayAdmin2
isRequiresBanding in interface IDisplayAdmin2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isDoesBlending()
throws java.io.IOException,
AutomationException
IDisplayAdmin2
isDoesBlending in interface IDisplayAdmin2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isCanGeoRef()
throws java.io.IOException,
AutomationException
IGeoReference
isCanGeoRef in interface IGeoReferenceAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void shift(double deltaX,
double deltaY)
throws java.io.IOException,
AutomationException
IGeoReference
shift in interface IGeoReferencedeltaX - The deltaX (in)deltaY - The deltaY (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reScale(double xScale,
double yScale)
throws java.io.IOException,
AutomationException
IGeoReference
reScale in interface IGeoReferencexScale - The xScale (in)yScale - The yScale (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void flip()
throws java.io.IOException,
AutomationException
IGeoReference
flip in interface IGeoReferenceAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void mirror()
throws java.io.IOException,
AutomationException
IGeoReference
mirror in interface IGeoReferencejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rotate(IPoint ipPivotPoint,
double angle)
throws java.io.IOException,
AutomationException
IGeoReference
rotate in interface IGeoReferenceipPivotPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)angle - The angle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPointCollection pointsTransform(IPointCollection inPoints,
boolean isForward)
throws java.io.IOException,
AutomationException
IGeoReference
pointsTransform in interface IGeoReferenceinPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)isForward - The isForward (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void twoPointsAdjust(IPointCollection fromPoints,
IPointCollection toPoints)
throws java.io.IOException,
AutomationException
IGeoReference
twoPointsAdjust in interface IGeoReferencefromPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)toPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void warp(IPointCollection fromPoints,
IPointCollection toPoints,
int order)
throws java.io.IOException,
AutomationException
IGeoReference
warp in interface IGeoReferencefromPoints - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void reset()
throws java.io.IOException,
AutomationException
IGeoReference
reset in interface IGeoReferenceAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void register()
throws java.io.IOException,
AutomationException
IGeoReference
register in interface IGeoReferencejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rectify(java.lang.String fullpath,
java.lang.String format)
throws java.io.IOException,
AutomationException
IGeoReference
rectify in interface IGeoReferencefullpath - The fullpath (in)format - The format (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ITable getDisplayTable()
throws java.io.IOException,
AutomationException
IDisplayTable
getDisplayTable in interface IDisplayTablejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor searchDisplayTable(IQueryFilter pQueryFilter,
boolean recycling)
throws java.io.IOException,
AutomationException
IDisplayTable
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.
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.
searchDisplayTable in interface IDisplayTablepQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet selectDisplayTable(IQueryFilter pQueryFilter,
int selType,
int selOption,
IWorkspace pSelWorkspace)
throws java.io.IOException,
AutomationException
IDisplayTable
selectDisplayTable in interface IDisplayTablepQueryFilter - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISelectionSet getDisplaySelectionSet()
throws java.io.IOException,
AutomationException
IDisplayTable
getDisplaySelectionSet in interface IDisplayTablejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet getSelectionSet()
throws java.io.IOException,
AutomationException
ITableSelection
getSelectionSet in interface ITableSelectionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSelectionSetByRef(ISelectionSet selectionSet)
throws java.io.IOException,
AutomationException
ITableSelection
setSelectionSetByRef in interface ITableSelectionselectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addRow(IRow row)
throws java.io.IOException,
AutomationException
ITableSelection
addRow in interface ITableSelectionrow - A reference to a com.esri.arcgis.geodatabase.IRow (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void selectRows(IQueryFilter filter,
int method,
boolean justOne)
throws java.io.IOException,
AutomationException
ITableSelectionThe justOne parameter tells the search to stop once it has found one feature.
selectRows in interface ITableSelectionfilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)method - A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)justOne - The justOne (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clear()
throws java.io.IOException,
AutomationException
ITableSelection
clear in interface ITableSelectionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void selectionChanged()
throws java.io.IOException,
AutomationException
ITableSelection
selectionChanged in interface ITableSelectionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int findField(java.lang.String name)
throws java.io.IOException,
AutomationException
IClassIf FindField returns -1, the Field could not be found in the Fields collection.
findField in interface IClassname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IFields getFields()
throws java.io.IOException,
AutomationException
IClass
getFields in interface IClassAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IIndexes getIndexes()
throws java.io.IOException,
AutomationException
IClass
getIndexes in interface IClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addField(IField field)
throws java.io.IOException,
AutomationException
IClass
addField in interface IClassfield - A reference to a com.esri.arcgis.geodatabase.IField (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteField(IField field)
throws java.io.IOException,
AutomationException
IClassDeleteField removes the specified field from a table, object class or feature class. Fields that are required by the Geodatabase and cannot be removed include:
deleteField in interface IClassfield - A reference to a com.esri.arcgis.geodatabase.IField (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addIndex(IIndex index)
throws java.io.IOException,
AutomationException
IClass
addIndex in interface IClassindex - A reference to a com.esri.arcgis.geodatabase.IIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteIndex(IIndex index)
throws java.io.IOException,
AutomationException
IClass
deleteIndex in interface IClassindex - A reference to a com.esri.arcgis.geodatabase.IIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasOID()
throws java.io.IOException,
AutomationException
IClass
isHasOID in interface IClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getOIDFieldName()
throws java.io.IOException,
AutomationException
IClass
getOIDFieldName in interface IClassAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IUID getCLSID()
throws java.io.IOException,
AutomationException
IClass
getCLSID in interface IClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getEXTCLSID()
throws java.io.IOException,
AutomationException
IClass
getEXTCLSID in interface IClassAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.Object getExtension()
throws java.io.IOException,
AutomationException
IClass
getExtension in interface IClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getExtensionProperties()
throws java.io.IOException,
AutomationException
IClass
getExtensionProperties in interface IClassAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IRow createRow()
throws java.io.IOException,
AutomationException
ITableThe 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.
createRow in interface ITablejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRow getRow(int oID)
throws java.io.IOException,
AutomationException
ITableThe 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.
getRow in interface ITableoID - The oID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor getRows(java.lang.Object oids,
boolean recycling)
throws java.io.IOException,
AutomationException
ITableThe 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.
getRows in interface ITableoids - A Variant (in)recycling - The recycling (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IRowBuffer createRowBuffer()
throws java.io.IOException,
AutomationException
ITableThe 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.
createRowBuffer in interface ITableAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void updateSearchedRows(IQueryFilter queryFilter,
IRowBuffer buffer)
throws java.io.IOException,
AutomationException
ITableAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
updateSearchedRows in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)buffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void deleteSearchedRows(IQueryFilter queryFilter)
throws java.io.IOException,
AutomationException
ITable
deleteSearchedRows in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int rowCount(IQueryFilter queryFilter)
throws java.io.IOException,
AutomationException
ITable
rowCount in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor ITable_search(IQueryFilter queryFilter,
boolean recycling)
throws java.io.IOException,
AutomationException
ITable
ITable_search in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor update(IQueryFilter queryFilter,
boolean recycling)
throws java.io.IOException,
AutomationException
ITableThe 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.
update in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICursor insert(boolean useBuffering)
throws java.io.IOException,
AutomationException
ITableThe 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.
insert in interface ITableuseBuffering - The useBuffering (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet select(IQueryFilter queryFilter,
int selType,
int selOption,
IWorkspace selectionContainer)
throws java.io.IOException,
AutomationException
ITableThe 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.
select in interface ITablequeryFilter - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getObjectClassID()
throws java.io.IOException,
AutomationException
IObjectClassReturns the unique ID of the object class.
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.
getObjectClassID in interface IObjectClassAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumRelationshipClass getRelationshipClasses(int role)
throws java.io.IOException,
AutomationException
IObjectClassReturns an enumeration of the relationship classes in which the object class participates.
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.
getRelationshipClasses in interface IObjectClassrole - A com.esri.arcgis.geodatabase.esriRelRole constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IEnumRelationshipClass,
esriRelRole
public java.lang.String getAliasName()
throws java.io.IOException,
AutomationException
IObjectClassReturns the alias name for the object class.
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.
getAliasName in interface IObjectClassAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IModelInfo
public int getFieldCount()
throws java.io.IOException,
AutomationException
ILayerFields
getFieldCount in interface ILayerFieldsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IField getField(int index)
throws java.io.IOException,
AutomationException
ILayerFields
getField in interface ILayerFieldsindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IFieldInfo getFieldInfo(int index)
throws java.io.IOException,
AutomationException
ILayerFields
getFieldInfo in interface ILayerFieldsindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getJoinType()
throws java.io.IOException,
AutomationException
IDisplayRelationshipClassIndicates the type of the most recent join.
getJoinType in interface IDisplayRelationshipClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRelationshipClass getRelationshipClass()
throws java.io.IOException,
AutomationException
IDisplayRelationshipClassThe relationship class that defines the tables that are joined.
You can also use IFeatureLayerDefinition::RelationshipClass to get a reference to the relationship class that defines a layer join.
getRelationshipClass in interface IDisplayRelationshipClassAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void displayRelationshipClass(IRelationshipClass relClass,
int joinType)
throws java.io.IOException,
AutomationException
IDisplayRelationshipClassRelClass can be either a file or memory based relationship class, but must be defined on the base feature class.
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
displayRelationshipClass in interface IDisplayRelationshipClassrelClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)joinType - A com.esri.arcgis.geodatabase.esriJoinType constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumRelationshipClass getRelationshipClasses()
throws java.io.IOException,
AutomationException
IRelationshipClassCollection
getRelationshipClasses in interface IRelationshipClassCollectionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumRelationshipClass findRelationshipClasses(IObjectClass objectClass,
int role)
throws java.io.IOException,
AutomationException
IRelationshipClassCollection
findRelationshipClasses in interface IRelationshipClassCollectionobjectClass - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)role - A com.esri.arcgis.geodatabase.esriRelRole constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void addRelationshipClass(IRelationshipClass relationshipClass)
throws java.io.IOException,
AutomationException
IRelationshipClassCollectionEdit
addRelationshipClass in interface IRelationshipClassCollectionEditrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void removeRelationshipClass(IRelationshipClass relationshipClass)
throws java.io.IOException,
AutomationException
IRelationshipClassCollectionEdit
removeRelationshipClass in interface IRelationshipClassCollectionEditrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void removeAllRelationshipClasses()
throws java.io.IOException,
AutomationException
IRelationshipClassCollectionEdit
removeAllRelationshipClasses in interface IRelationshipClassCollectionEditAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getExtensionCount()
throws java.io.IOException,
AutomationException
ILayerExtensions
getExtensionCount in interface ILayerExtensionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getExtension(int index)
throws java.io.IOException,
AutomationException
ILayerExtensions
getExtension in interface ILayerExtensionsindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void addExtension(java.lang.Object ext)
throws java.io.IOException,
AutomationException
ILayerExtensions
addExtension in interface ILayerExtensionsext - A reference to another Object (IUnknown) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void removeExtension(int index)
throws java.io.IOException,
AutomationException
ILayerExtensions
removeExtension in interface ILayerExtensionsindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isDrawingPropsDirty()
throws java.io.IOException,
AutomationException
ILayerDrawingProperties
isDrawingPropsDirty in interface ILayerDrawingPropertiesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDrawingPropsDirty(boolean dirty)
throws java.io.IOException,
AutomationException
ILayerDrawingProperties
setDrawingPropsDirty in interface ILayerDrawingPropertiesdirty - The dirty (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getLastMinimumScale()
throws java.io.IOException,
AutomationException
ILayerGeneralProperties
getLastMinimumScale in interface ILayerGeneralPropertiesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getLastMaximumScale()
throws java.io.IOException,
AutomationException
ILayerGeneralProperties
getLastMaximumScale in interface ILayerGeneralPropertiesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String ILayerGeneralProperties_getLayerDescription()
throws java.io.IOException,
AutomationException
ILayerGeneralProperties
ILayerGeneralProperties_getLayerDescription in interface ILayerGeneralPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerDescription(java.lang.String text)
throws java.io.IOException,
AutomationException
ILayerGeneralProperties
setLayerDescription in interface ILayerGeneralPropertiestext - The text (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getLayerWeight()
throws java.io.IOException,
AutomationException
ILayerPositionThe 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
getLayerWeight in interface ILayerPositionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setLayerWeight(double layerWeight)
throws java.io.IOException,
AutomationException
ILayerPosition
setLayerWeight in interface ILayerPositionlayerWeight - The layerWeight (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getAttributeTable()
throws java.io.IOException,
AutomationException
IAttributeTable
getAttributeTable in interface IAttributeTableAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws java.io.IOException,
AutomationException
IConnectionPointContainerIConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws java.io.IOException,
AutomationException
IConnectionPointContainerIConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint in interface IConnectionPointContainerriid - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IName getFullName()
throws java.io.IOException,
AutomationException
IDataset
getFullName in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getBrowseName()
throws java.io.IOException,
AutomationException
IDataset
getBrowseName in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBrowseName(java.lang.String name)
throws java.io.IOException,
AutomationException
IDataset
setBrowseName in interface IDatasetname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getType()
throws java.io.IOException,
AutomationException
IDataset
getType in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
IDatasetIDataset::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.
getCategory in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumDataset getSubsets()
throws java.io.IOException,
AutomationException
IDatasetThe Subsets property returns other Dataset objects contained in this dataset.
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.
getSubsets in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IWorkspace getWorkspace()
throws java.io.IOException,
AutomationException
IDatasetThe Workspace property returns the containing workspace for this dataset.
getWorkspace in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getPropertySet()
throws java.io.IOException,
AutomationException
IDatasetThe 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.
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.
getPropertySet in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean canCopy()
throws java.io.IOException,
AutomationException
IDatasetThe 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:
canCopy in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IDataset copy(java.lang.String copyName,
IWorkspace copyWorkspace)
throws java.io.IOException,
AutomationException
IDatasetIDataset::Copy does not support the copying of Graph objects such as a Geometric Network.
copy in interface IDatasetcopyName - The copyName (in)copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.GeoDBDataTransfer
public boolean canDelete()
throws java.io.IOException,
AutomationException
IDatasetThe 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.
canDelete in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws java.io.IOException,
AutomationException
IDatasetCertain feature classes, such as network and topology feature classes, cannot be deleted until their containing objects are deleted.
delete in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean canRename()
throws java.io.IOException,
AutomationException
IDatasetThe 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.
canRename in interface IDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rename(java.lang.String name)
throws java.io.IOException,
AutomationException
IDatasetIDataset::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.
rename in interface IDatasetname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportsPublishing()
throws java.io.IOException,
AutomationException
IPublishLayer
isSupportsPublishing in interface IPublishLayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getPublishingDescription()
throws java.io.IOException,
AutomationException
IPublishLayer
getPublishingDescription in interface IPublishLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDataValid()
throws java.io.IOException,
AutomationException
IPublishLayer
isDataValid in interface IPublishLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDataDetails(java.lang.String bsPadding)
throws java.io.IOException,
AutomationException
IPublishLayer
getDataDetails in interface IPublishLayerbsPadding - The bsPadding (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void prepareForPublishing()
throws java.io.IOException,
AutomationException
IPublishLayer
prepareForPublishing in interface IPublishLayerAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void init(boolean bInit,
java.lang.String fileFullName,
int fileFormat)
throws java.io.IOException,
AutomationException
IRasterSpatialSelection
init in interface IRasterSpatialSelectionbInit - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void drawSpatialSelection(IDisplay pDisplay,
ITrackCancel pTrackCancel)
throws java.io.IOException,
AutomationException
IRasterSpatialSelection
drawSpatialSelection in interface IRasterSpatialSelectionpDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterDataset getMaskRasterDataset()
throws java.io.IOException,
AutomationException
IRasterSpatialSelection
getMaskRasterDataset in interface IRasterSpatialSelectionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaskRasterDatasetByRef(IRasterDataset ppRasterDataset)
throws java.io.IOException,
AutomationException
IRasterSpatialSelection
setMaskRasterDatasetByRef in interface IRasterSpatialSelectionppRasterDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void maskWriteBitmap(ITrackCancel trackCancel,
tagRECT pRect,
int op,
java.lang.Object vBytes,
boolean byBits)
throws java.io.IOException,
AutomationException
IRasterSpatialSelection
maskWriteBitmap in interface IRasterSpatialSelectiontrackCancel - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void maskReadBitmap(ITrackCancel trackCancel,
tagRECT pRect,
java.lang.Object vBytes,
boolean byBits)
throws java.io.IOException,
AutomationException
IRasterSpatialSelection
maskReadBitmap in interface IRasterSpatialSelectiontrackCancel - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void maskDrawPolyRect(ITrackCancel trackCancel,
java.lang.Object vRects,
int op)
throws java.io.IOException,
AutomationException
IRasterSpatialSelection
maskDrawPolyRect in interface IRasterSpatialSelectiontrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)vRects - A Variant (in)op - A com.esri.arcgis.carto.esriRasterSelectionMaskOp constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onEvent(IRasterDataManagementEventsOnEventEvent theEvent)
throws java.io.IOException,
AutomationException
IRasterDataManagementEvents
onEvent in interface IRasterDataManagementEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setTemporary(boolean temporary)
throws java.io.IOException,
AutomationException
ITemporaryLayer
setTemporary in interface ITemporaryLayertemporary - The temporary (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTemporary()
throws java.io.IOException,
AutomationException
ITemporaryLayer
isTemporary in interface ITemporaryLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||