|
|||||||||
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.carto.IDataLayer2Proxy
public class IDataLayer2Proxy
Internal use class Proxy for COM Interface 'IDataLayer2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description: 'Provides access to additional members that control the data source properties of a layer.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary | |
---|---|
boolean |
noncastable
|
static java.lang.Class |
targetClass
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.carto.IDataLayer2 |
---|
IID, IIDe9d11f65_6936_4408_b69f_d91552eb9c4a |
Constructor Summary | |
---|---|
|
IDataLayer2Proxy()
For internal use only |
|
IDataLayer2Proxy(java.lang.Object obj)
|
protected |
IDataLayer2Proxy(java.lang.Object obj,
java.lang.String iid)
|
|
IDataLayer2Proxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
protected |
IDataLayer2Proxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
|
Method Summary | |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.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. |
java.lang.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(java.lang.String iidStr,
java.lang.Object theListener)
|
void |
setDataSourceName(IName name)
Name of the data object for the layer. |
void |
setRelativeBase(java.lang.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 static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IDataLayer2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IDataLayer2Proxy()
public IDataLayer2Proxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IDataLayer2Proxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IDataLayer2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public IName getDataSourceName() throws java.io.IOException, AutomationException
getDataSourceName
in interface IDataLayer2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDataSourceName(IName name) throws java.io.IOException, AutomationException
setDataSourceName
in interface IDataLayer2
name
- 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 isDataSourceSupported(IName name) throws java.io.IOException, AutomationException
isDataSourceSupported
in interface IDataLayer2
name
- 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
connect
in interface IDataLayer2
pOptRepairName
- 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 java.lang.String getRelativeBase() throws java.io.IOException, AutomationException
getRelativeBase
in interface IDataLayer2
java.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
setRelativeBase
in interface IDataLayer2
basePath
- The basePath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disconnect() throws java.io.IOException, AutomationException
disconnect
in interface IDataLayer2
java.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
inWorkspace
in interface IDataLayer2
workspace
- 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |