com.esri.arcgis.display
Class IMoveTextAlongShapeFeedbackProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.display.IDisplayFeedbackProxy
          extended bycom.esri.arcgis.display.IMoveTextAlongShapeFeedbackProxy
All Implemented Interfaces:
java.io.Externalizable, IDisplayFeedback, IMoveTextAlongShapeFeedback, java.io.Serializable

public class IMoveTextAlongShapeFeedbackProxy
extends IDisplayFeedbackProxy
implements IMoveTextAlongShapeFeedback, java.io.Serializable

Provides access to members that control the move text along shape feedback.

Product Availability

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

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IMoveTextAlongShapeFeedbackProxy()
          For internal use only
  IMoveTextAlongShapeFeedbackProxy(java.lang.Object obj)
           
protected IMoveTextAlongShapeFeedbackProxy(java.lang.Object obj, java.lang.String iid)
           
  IMoveTextAlongShapeFeedbackProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IMoveTextAlongShapeFeedbackProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
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 followShape(IGeometry featureGeometry, double referenceScale)
          Specify the shape to follow.
 int getConstraint()
          Constrain the text.
 double getOffset()
          Offset the text from the geometry.
 boolean isFlip()
          Indicates whether to flip the text.
 boolean isParallel()
          Indicates whether to make the text parallel.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void setConstraint(int constraint)
          Constrain the text.
 void setFlip(boolean flip)
          Indicates whether to flip the text.
 void setOffset(double offset)
          Offset the text from the geometry.
 void setParallel(boolean parallel)
          Indicates whether to make the text parallel.
 void startCurved(IPoint fromPoint, double referenceScale, IPoint cursorPoint, double offset, int constraint, boolean flipped)
          Begins a move feedback of the given shape.
 void startStraight(IGeometry textGeometry, double labelWidth, double labelHeight, double referenceScale, IPoint point, double offset, boolean parallel, int constraint)
          Begins a move feedback of the given shape.
 IGeometry stop()
          Stops the feedback and returns the shape.
 
Methods inherited from class com.esri.arcgis.display.IDisplayFeedbackProxy
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 
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
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IMoveTextAlongShapeFeedbackProxy

public IMoveTextAlongShapeFeedbackProxy(java.lang.String CLSID,
                                        java.lang.String host,
                                        AuthInfo authInfo)
                                 throws java.net.UnknownHostException,
                                        java.io.IOException

IMoveTextAlongShapeFeedbackProxy

public IMoveTextAlongShapeFeedbackProxy()
For internal use only


IMoveTextAlongShapeFeedbackProxy

public IMoveTextAlongShapeFeedbackProxy(java.lang.Object obj)
                                 throws java.io.IOException

IMoveTextAlongShapeFeedbackProxy

protected IMoveTextAlongShapeFeedbackProxy(java.lang.Object obj,
                                           java.lang.String iid)
                                    throws java.io.IOException

IMoveTextAlongShapeFeedbackProxy

protected IMoveTextAlongShapeFeedbackProxy(java.lang.String CLSID,
                                           java.lang.String iid,
                                           java.lang.String host,
                                           AuthInfo authInfo)
                                    throws java.io.IOException
Method Detail

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

followShape

public void followShape(IGeometry featureGeometry,
                        double referenceScale)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Specify the shape to follow.

Supported Platforms

Windows, Solaris, Linux

Specified by:
followShape in interface IMoveTextAlongShapeFeedback
Parameters:
featureGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
referenceScale - The referenceScale (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

startCurved

public void startCurved(IPoint fromPoint,
                        double referenceScale,
                        IPoint cursorPoint,
                        double offset,
                        int constraint,
                        boolean flipped)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Begins a move feedback of the given shape.

Supported Platforms

Windows, Solaris, Linux

Specified by:
startCurved in interface IMoveTextAlongShapeFeedback
Parameters:
fromPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
referenceScale - The referenceScale (in)
cursorPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
offset - The offset (in)
constraint - A com.esri.arcgis.display.esriMoveTextConstraints constant (in)
flipped - The flipped (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startStraight

public void startStraight(IGeometry textGeometry,
                          double labelWidth,
                          double labelHeight,
                          double referenceScale,
                          IPoint point,
                          double offset,
                          boolean parallel,
                          int constraint)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Begins a move feedback of the given shape.

Supported Platforms

Windows, Solaris, Linux

Specified by:
startStraight in interface IMoveTextAlongShapeFeedback
Parameters:
textGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
labelWidth - The labelWidth (in)
labelHeight - The labelHeight (in)
referenceScale - The referenceScale (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
offset - The offset (in)
parallel - The parallel (in)
constraint - A com.esri.arcgis.display.esriMoveTextConstraints constant (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

stop

public IGeometry stop()
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Stops the feedback and returns the shape.

Supported Platforms

Windows, Solaris, Linux

Specified by:
stop in interface IMoveTextAlongShapeFeedback
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFlip

public boolean isFlip()
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Indicates whether to flip the text.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isFlip in interface IMoveTextAlongShapeFeedback
Returns:
The flip
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFlip

public void setFlip(boolean flip)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Indicates whether to flip the text.

Specified by:
setFlip in interface IMoveTextAlongShapeFeedback
Parameters:
flip - The flip (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOffset

public double getOffset()
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Offset the text from the geometry.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getOffset in interface IMoveTextAlongShapeFeedback
Returns:
The offset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOffset

public void setOffset(double offset)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Offset the text from the geometry.

Specified by:
setOffset in interface IMoveTextAlongShapeFeedback
Parameters:
offset - The offset (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isParallel

public boolean isParallel()
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Indicates whether to make the text parallel. Only valid for straight.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isParallel in interface IMoveTextAlongShapeFeedback
Returns:
The parallel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParallel

public void setParallel(boolean parallel)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Indicates whether to make the text parallel. Only valid for straight.

Specified by:
setParallel in interface IMoveTextAlongShapeFeedback
Parameters:
parallel - The parallel (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

getConstraint

public int getConstraint()
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Constrain the text.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getConstraint in interface IMoveTextAlongShapeFeedback
Returns:
A com.esri.arcgis.display.esriMoveTextConstraints constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConstraint

public void setConstraint(int constraint)
                   throws java.io.IOException,
                          AutomationException
Description copied from interface: IMoveTextAlongShapeFeedback
Constrain the text.

Specified by:
setConstraint in interface IMoveTextAlongShapeFeedback
Parameters:
constraint - A com.esri.arcgis.display.esriMoveTextConstraints constant (in)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.