com.esri.arcgis.display
Class IDicerCallbackProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.display.IDicerCallbackProxy
All Implemented Interfaces:
IDicerCallback, Externalizable, Serializable

public class IDicerCallbackProxy
extends com.esri.arcgis.interop.Dispatch
implements IDicerCallback, Serializable

Provides access to members that control the Polygon Dicer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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
  IDicerCallbackProxy()
           
  IDicerCallbackProxy(Object obj)
           
protected IDicerCallbackProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void onComplete(int hDC, tagPOINT points, int[] partCounts, int numParts)
          Finish use of dicer.
 void onDice(int hDC, tagPOINT points, int numPoints)
          Splits the polygon into a set of trapezoids.
 void onPrepare(int hDC)
          Prepare the dicer for first time use.
 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

IDicerCallbackProxy

public IDicerCallbackProxy()

IDicerCallbackProxy

public IDicerCallbackProxy(Object obj)
                    throws IOException
Throws:
IOException

IDicerCallbackProxy

protected IDicerCallbackProxy(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

onPrepare

public void onPrepare(int hDC)
               throws IOException,
                      AutomationException
Prepare the dicer for first time use.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onPrepare in interface IDicerCallback
Parameters:
hDC - The hDC (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDice

public void onDice(int hDC,
                   tagPOINT points,
                   int numPoints)
            throws IOException,
                   AutomationException
Splits the polygon into a set of trapezoids.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onDice in interface IDicerCallback
Parameters:
hDC - The hDC (A COM typedef) (in)
points - A Structure: com.esri.arcgis.display.tagPOINT (in)
numPoints - The numPoints (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onComplete

public void onComplete(int hDC,
                       tagPOINT points,
                       int[] partCounts,
                       int numParts)
                throws IOException,
                       AutomationException
Finish use of dicer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onComplete in interface IDicerCallback
Parameters:
hDC - The hDC (A COM typedef) (in)
points - A Structure: com.esri.arcgis.display.tagPOINT (in)
partCounts - The partCounts (in)
numParts - The numParts (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.