|
|||||||||
| 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.IDataLayerProxy
public class IDataLayerProxy
Provides access to members that control the data source properties of a layer.
This interface provides access to information about the data source of the layer including: the data source name, the base path used in
relative pathnames, and whether the layer supports the data source. There is also a method to connect to the data source if the connection has been lost.
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IDataLayerProxy()
|
|
IDataLayerProxy(Object obj)
|
protected |
IDataLayerProxy(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. |
IName |
getDataSourceName()
Name of the data object for the layer. |
String |
getRelativeBase()
Base path used when storing relative path names. |
boolean |
isDataSourceSupported(IName name)
Indicates if the specified data object name is supported by the layer. |
void |
readExternal(ObjectInput in)
|
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. |
void |
writeExternal(ObjectOutput out)
|
| 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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IDataLayerProxy()
public IDataLayerProxy(Object obj)
throws IOException
IOException
protected IDataLayerProxy(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 IDataLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDataSourceName(IName name)
throws IOException,
AutomationException
setDataSourceName in interface IDataLayername - 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 IDataLayername - 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 IDataLayerpOptRepairName - 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 IDataLayerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRelativeBase(String basePath)
throws IOException,
AutomationException
setRelativeBase in interface IDataLayerbasePath - The basePath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||