com.esri.arcgis.catalog
Class IGxObjectFilterProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.catalog.IGxObjectFilterProxy
All Implemented Interfaces:
IGxObjectFilter, Externalizable, Serializable

public class IGxObjectFilterProxy
extends com.esri.arcgis.interop.Dispatch
implements IGxObjectFilter, Serializable

Provides access to members that defines a GxObject filter.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGxObjectFilterProxy()
           
  IGxObjectFilterProxy(Object obj)
           
protected IGxObjectFilterProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean canChooseObject(IGxObject object, int[] result)
          Indicates if the given object can be chosen.
 boolean canDisplayObject(IGxObject object)
          Indicates if the given object can be displayed.
 boolean canSaveObject(IGxObject location, String newObjectName, boolean[] objectAlreadyExists)
          Indicates if a new object named newObjectName could be saved in the specified location.
 String getDescription()
          A string that describes what this filter does.
 String getName()
          A user-friendly name identifying this filter.
 void removeListener(String iidStr, Object theListener)
           
 
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

noncastable

public boolean noncastable
Constructor Detail

IGxObjectFilterProxy

public IGxObjectFilterProxy()

IGxObjectFilterProxy

public IGxObjectFilterProxy(Object obj)
                     throws IOException
Throws:
IOException

IGxObjectFilterProxy

protected IGxObjectFilterProxy(Object obj,
                               String iid)
                        throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getName

public String getName()
               throws IOException,
                      AutomationException
A user-friendly name identifying this filter.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getName in interface IGxObjectFilter
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public String getDescription()
                      throws IOException,
                             AutomationException
A string that describes what this filter does.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getDescription in interface IGxObjectFilter
Returns:
The description
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canDisplayObject

public boolean canDisplayObject(IGxObject object)
                         throws IOException,
                                AutomationException
Indicates if the given object can be displayed.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
canDisplayObject in interface IGxObjectFilter
Parameters:
object - A reference to a com.esri.arcgis.catalog.IGxObject (in)
Returns:
The canDisplay
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canChooseObject

public boolean canChooseObject(IGxObject object,
                               int[] result)
                        throws IOException,
                               AutomationException
Indicates if the given object can be chosen.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
canChooseObject in interface IGxObjectFilter
Parameters:
object - A reference to a com.esri.arcgis.catalog.IGxObject (in)
result - A com.esri.arcgis.catalog.esriDoubleClickResult constant (in/out: use single element array)
Returns:
The canChoose
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canSaveObject

public boolean canSaveObject(IGxObject location,
                             String newObjectName,
                             boolean[] objectAlreadyExists)
                      throws IOException,
                             AutomationException
Indicates if a new object named newObjectName could be saved in the specified location. If objectAlreadyExists is set to True, a confirmation dialog will appear asking if the existing object should be replaced.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
canSaveObject in interface IGxObjectFilter
Parameters:
location - A reference to a com.esri.arcgis.catalog.IGxObject (in)
newObjectName - The newObjectName (in)
objectAlreadyExists - The objectAlreadyExists (in/out: use single element array)
Returns:
The canSave
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.