|
|||||||||
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.IFeatureLayerDefinitionProxy
public class IFeatureLayerDefinitionProxy
Provides access to members that define a subset of the features from the underlying feature class.
You can use RelationshipClass to access
the the relationship class, if one exists, that defines the
relationship between the layer and the table that is joined to it.
This same object can be accessed through
IDisplayRelationshipClass::RelationshipClass.
IDisplayRelationshipClass can be more convenient because it has
multiple additionl methods and properties for working with layer
joins.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IFeatureLayerDefinitionProxy()
|
|
IFeatureLayerDefinitionProxy(Object obj)
|
protected |
IFeatureLayerDefinitionProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IFeatureLayer |
createSelectionLayer(String layerName,
boolean useCurrentSelection,
String joinTableNames,
String expression)
Creates a new feature layer from the existing layer based on the current selection and the specified query expression. |
String |
getDefinitionExpression()
Definition query expression for the existing layer. |
ISelectionSet |
getDefinitionSelectionSet()
The selection set that defines the subset of features in a selection layer. |
IRelationshipClass |
getRelationshipClass()
The current relationship class used to display related fields. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setDefinitionExpression(String expression)
Definition query expression for the existing layer. |
void |
setRelationshipClassByRef(IRelationshipClass relClass)
The current relationship class used to display related fields. |
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 IFeatureLayerDefinitionProxy()
public IFeatureLayerDefinitionProxy(Object obj) throws IOException
IOException
protected IFeatureLayerDefinitionProxy(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.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public String getDefinitionExpression() throws IOException, AutomationException
getDefinitionExpression
in interface IFeatureLayerDefinition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefinitionExpression(String expression) throws IOException, AutomationException
setDefinitionExpression
in interface IFeatureLayerDefinition
expression
- The expression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISelectionSet getDefinitionSelectionSet() throws IOException, AutomationException
You can use the DefintionSelectionSet property to get the selection set that was used to define the new layer created by the IFeatureLayerDefintion::CreateSelectionLayer method. Note, before calling CreateSelectionLayer, the selection set returned by DefintionSelectionSet will be Nothing. Therefore, you can only use this property after you have called the CreateSelectionLayer method.
getDefinitionSelectionSet
in interface IFeatureLayerDefinition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureLayer createSelectionLayer(String layerName, boolean useCurrentSelection, String joinTableNames, String expression) throws IOException, AutomationException
createSelectionLayer
in interface IFeatureLayerDefinition
layerName
- The layerName (in)useCurrentSelection
- The useCurrentSelection (in)joinTableNames
- The joinTableNames (in)expression
- The expression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRelationshipClass getRelationshipClass() throws IOException, AutomationException
RelClass must be a defined relationship class on the base feature class.
getRelationshipClass
in interface IFeatureLayerDefinition
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRelationshipClassByRef(IRelationshipClass relClass) throws IOException, AutomationException
setRelationshipClassByRef
in interface IFeatureLayerDefinition
relClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (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 |