|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IGeoDatasetSchemaEditProxy com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit2Proxy
public class IGeoDatasetSchemaEdit2Proxy
Provides access to members that change the geodata transformation of a GeoDataset.
The IGeoDatasetSchemaEdit2 interface is an optional interface that allows you to change the transformation associated with an existing dataset.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IGeoDatasetSchemaEdit2Proxy()
|
|
IGeoDatasetSchemaEdit2Proxy(Object obj)
|
protected |
IGeoDatasetSchemaEdit2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
alterGeodataXform(IGeodataXform xform)
Alters the geodata transformation of the dataset (does not transform the data). |
void |
alterResolution(double xyResolution,
double zResolution,
double mResolution)
Alters the resolution of the dataset and rebuilds the spatial indexes. |
void |
constructResolutions(ISpatialReference spatialReference,
int numberRequested,
int[] defaultXYResolutionIndex,
IDoubleArray[] xyResolutions,
IDoubleArray[] zResolutions,
IDoubleArray[] mResolutions)
Returns a list of possible resolutions (precisions) and the doubling factors that produce them from the specified low precision spatial reference. |
boolean |
isCanAlterGeodataXform()
Indicates if the geodata transformation of the dataset can be altered. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.IGeoDatasetSchemaEditProxy |
---|
alterSpatialReference, isCanAlterSpatialReference |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit |
---|
alterSpatialReference, isCanAlterSpatialReference |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IGeoDatasetSchemaEdit2Proxy()
public IGeoDatasetSchemaEdit2Proxy(Object obj) throws IOException
IOException
protected IGeoDatasetSchemaEdit2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IGeoDatasetSchemaEditProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IGeoDatasetSchemaEditProxy
IOException
public boolean isCanAlterGeodataXform() throws IOException, AutomationException
isCanAlterGeodataXform
in interface IGeoDatasetSchemaEdit2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void alterGeodataXform(IGeodataXform xform) throws IOException, AutomationException
alterGeodataXform
in interface IGeoDatasetSchemaEdit2
xform
- A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void alterResolution(double xyResolution, double zResolution, double mResolution) throws IOException, AutomationException
AlterResolution will change the resolution of the dataset based on the supplied XY, Z and M resolution values and rebuild the spatial indices. AlterResolution can only be used on Low Precision datasets within a 9.2 Geodatabase. To determine if AlterPrecision can be used on dataset, use the IControlPrecision2::IsHighPrecision property.
Use the IGeoDatasetSchemaEdit2::ConstructResolutions method to obtain the applicable levels of resolution for your data.
If a value of -1 is supplied for the xyResolution or zResolution arguments, the current resolution will be maintained. The current resolution of for a dataset can be obtained from its spatial reference using the ISpatialReferenceResolution interface.
Any of the following scenarios will result in an error:
alterResolution
in interface IGeoDatasetSchemaEdit2
xyResolution
- The xyResolution (in)zResolution
- The zResolution (in)mResolution
- The mResolution (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void constructResolutions(ISpatialReference spatialReference, int numberRequested, int[] defaultXYResolutionIndex, IDoubleArray[] xyResolutions, IDoubleArray[] zResolutions, IDoubleArray[] mResolutions) throws IOException, AutomationException
ConstructResolutions should be used to determine the acceptable levels of resolution available for AlterResolution.
constructResolutions
in interface IGeoDatasetSchemaEdit2
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)numberRequested
- The numberRequested (in)defaultXYResolutionIndex
- The defaultXYResolutionIndex (out: use single element array)xyResolutions
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)zResolutions
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)mResolutions
- A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
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 |