|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.MoveTextAlongShapeFeedback
public class MoveTextAlongShapeFeedback
Move Text Following Geometry Display Feedback Object.
Constructor Summary | |
---|---|
MoveTextAlongShapeFeedback()
Constructs a MoveTextAlongShapeFeedback using ArcGIS Engine. |
|
MoveTextAlongShapeFeedback(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MoveTextAlongShapeFeedback theMoveTextAlongShapeFeedback = (MoveTextAlongShapeFeedback) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
followShape(IGeometry featureGeometry,
double referenceScale)
Specify the shape to follow. |
static String |
getClsid()
getClsid. |
int |
getConstraint()
Constrain the text. |
double |
getOffset()
Offset the text from the geometry. |
ISymbol |
getSymbol()
The symbol the feedback object will use. |
int |
hashCode()
the hashcode for this object |
boolean |
isFlip()
Indicates whether to flip the text. |
boolean |
isParallel()
Indicates whether to make the text parallel. |
void |
moveTo(IPoint point)
Move to the new point. |
void |
refresh(int hDC)
Call this after a refresh to show feedback again. |
void |
setConstraint(int constraint)
Constrain the text. |
void |
setDisplayByRef(IScreenDisplay rhs1)
The display the feedback object will use. |
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 |
setSymbolByRef(ISymbol symbol)
The symbol the feedback object will use. |
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 java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public MoveTextAlongShapeFeedback() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic MoveTextAlongShapeFeedback(Object obj) throws IOException
MoveTextAlongShapeFeedback theMoveTextAlongShapeFeedback = (MoveTextAlongShapeFeedback) obj;
obj
to MoveTextAlongShapeFeedback
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void followShape(IGeometry featureGeometry, double referenceScale) throws IOException, AutomationException
followShape
in interface IMoveTextAlongShapeFeedback
featureGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)referenceScale
- The referenceScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startCurved(IPoint fromPoint, double referenceScale, IPoint cursorPoint, double offset, int constraint, boolean flipped) throws IOException, AutomationException
startCurved
in interface IMoveTextAlongShapeFeedback
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startStraight(IGeometry textGeometry, double labelWidth, double labelHeight, double referenceScale, IPoint point, double offset, boolean parallel, int constraint) throws IOException, AutomationException
startStraight
in interface IMoveTextAlongShapeFeedback
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry stop() throws IOException, AutomationException
stop
in interface IMoveTextAlongShapeFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFlip() throws IOException, AutomationException
isFlip
in interface IMoveTextAlongShapeFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFlip(boolean flip) throws IOException, AutomationException
setFlip
in interface IMoveTextAlongShapeFeedback
flip
- The flip (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getOffset() throws IOException, AutomationException
getOffset
in interface IMoveTextAlongShapeFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOffset(double offset) throws IOException, AutomationException
setOffset
in interface IMoveTextAlongShapeFeedback
offset
- The offset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isParallel() throws IOException, AutomationException
isParallel
in interface IMoveTextAlongShapeFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParallel(boolean parallel) throws IOException, AutomationException
setParallel
in interface IMoveTextAlongShapeFeedback
parallel
- The parallel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getConstraint() throws IOException, AutomationException
getConstraint
in interface IMoveTextAlongShapeFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConstraint(int constraint) throws IOException, AutomationException
setConstraint
in interface IMoveTextAlongShapeFeedback
constraint
- A com.esri.arcgis.display.esriMoveTextConstraints constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolByRef(ISymbol symbol) throws IOException, AutomationException
setSymbolByRef
in interface IDisplayFeedback
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getSymbol() throws IOException, AutomationException
getSymbol
in interface IDisplayFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayByRef(IScreenDisplay rhs1) throws IOException, AutomationException
setDisplayByRef
in interface IDisplayFeedback
rhs1
- A reference to a com.esri.arcgis.display.IScreenDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh(int hDC) throws IOException, AutomationException
refresh
in interface IDisplayFeedback
hDC
- The hDC (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveTo(IPoint point) throws IOException, AutomationException
moveTo
in interface IDisplayFeedback
point
- A reference to a com.esri.arcgis.geometry.IPoint (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 |