com.esri.arcgis.display
Class IVertexFeedbackProxy
java.lang.Object
com.esri.arcgis.interop.Dispatch
com.esri.arcgis.display.IDisplayFeedbackProxy
com.esri.arcgis.display.IVertexFeedbackProxy
- All Implemented Interfaces:
- java.io.Externalizable, IDisplayFeedback, IVertexFeedback, java.io.Serializable
- public class IVertexFeedbackProxy
- extends IDisplayFeedbackProxy
- implements IVertexFeedback, java.io.Serializable
Provides access to members that control the vertex feedback.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
- See Also:
- Serialized Form
|
Method Summary |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
void |
addSegment(ISegment segment,
boolean fromPointIsAnchor)
Adds an edge to rubberband. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
targetClass
public static final java.lang.Class targetClass
IVertexFeedbackProxy
public IVertexFeedbackProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
IVertexFeedbackProxy
public IVertexFeedbackProxy()
- For internal use only
IVertexFeedbackProxy
public IVertexFeedbackProxy(java.lang.Object obj)
throws java.io.IOException
IVertexFeedbackProxy
protected IVertexFeedbackProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
IVertexFeedbackProxy
protected IVertexFeedbackProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
addListener
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
- Description copied from class:
Dispatch
- Adds a Java object to be a listener for a specific kind of event generated by the COM object.
when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).
- Overrides:
addListener in class IDisplayFeedbackProxy
- Throws:
java.io.IOException
removeListener
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
- Description copied from class:
Dispatch
- Removes a Java object as a listener to events generated by a COM object.
when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).
- Overrides:
removeListener in class IDisplayFeedbackProxy
- Throws:
java.io.IOException
addSegment
public void addSegment(ISegment segment,
boolean fromPointIsAnchor)
throws java.io.IOException,
AutomationException
- Description copied from interface:
IVertexFeedback
- Adds an edge to rubberband.
Supported Platforms
Windows, Solaris, Linux
Description
Adds the segments and specifies which end to use as the anchor point. Each time AddSegment is called, a check is made to see if the segment has already been added; if it has, then it is not added a second time. The methods used to move, symbolize, refresh, and setup the display are accessed through the inherited IDisplayFeedback interface. Since there is no Start method, the first call to MoveTo will begin the feedback operation, that is, draw the feedback, and the feedback will be redrawn with each subsequent MoveTo. To finish the operation, the feedback object should be cleared and the display refreshed.
- Specified by:
addSegment in interface IVertexFeedback
- Parameters:
segment - A reference to a com.esri.arcgis.geometry.ISegment (in)fromPointIsAnchor - The fromPointIsAnchor (in)
- Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.