|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.carto.IDataLayer2Proxy
public class IDataLayer2Proxy
Provides access to additional members that control the data source properties of a layer.
This interface provides access to all of the methods and properties of IDataLayer and also two additional methods. Disconnect disconnects a layer from its data source. Given a workspace, InWorkspace returns a boolean indicating whether or not the layer's data source is in the workspace.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IDataLayer2Proxy()
|
|
IDataLayer2Proxy(Object obj)
|
protected |
IDataLayer2Proxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
connect(IName pOptRepairName)
Connects the layer to its data source. |
void |
disconnect()
Disconnects the data from the layer. |
IName |
getDataSourceName()
Name of the data object for the layer. |
String |
getRelativeBase()
Base path used when storing relative path names. |
boolean |
inWorkspace(IWorkspace workspace)
Returns TRUE if the layer is in the specified workspace. |
boolean |
isDataSourceSupported(IName name)
Indicates if the specified data object name is supported by the layer. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setDataSourceName(IName name)
Name of the data object for the layer. |
void |
setRelativeBase(String basePath)
Base path used when storing relative path names. |
| 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 |
| Field Detail |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IDataLayer2Proxy()
public IDataLayer2Proxy(Object obj)
throws IOException
IOException
protected IDataLayer2Proxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public IName getDataSourceName()
throws IOException,
AutomationException
getDataSourceName in interface IDataLayer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDataSourceName(IName name)
throws IOException,
AutomationException
setDataSourceName in interface IDataLayer2name - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDataSourceSupported(IName name)
throws IOException,
AutomationException
isDataSourceSupported in interface IDataLayer2name - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean connect(IName pOptRepairName)
throws IOException,
AutomationException
connect in interface IDataLayer2pOptRepairName - A reference to a com.esri.arcgis.system.IName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getRelativeBase()
throws IOException,
AutomationException
The RelativeBase property is used internally when persisting and loading documents with a relative path. When a document has been fully loaded the path is realized to a complete path.
getRelativeBase in interface IDataLayer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRelativeBase(String basePath)
throws IOException,
AutomationException
setRelativeBase in interface IDataLayer2basePath - The basePath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void disconnect()
throws IOException,
AutomationException
disconnect in interface IDataLayer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean inWorkspace(IWorkspace workspace)
throws IOException,
AutomationException
inWorkspace in interface IDataLayer2workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
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 | ||||||||