|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.MoveTextFeedback
public class MoveTextFeedback
Move Text Display Feedback Object.
Constructor Summary | |
---|---|
MoveTextFeedback()
Constructs a MoveTextFeedback using ArcGIS Engine. |
|
MoveTextFeedback(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MoveTextFeedback theMoveTextFeedback = (MoveTextFeedback) 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 |
start(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 MoveTextFeedback() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic MoveTextFeedback(Object obj) throws IOException
MoveTextFeedback theMoveTextFeedback = (MoveTextFeedback) obj;
obj
to MoveTextFeedback
.
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 IMoveTextFeedback
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 start(IGeometry textGeometry, double labelWidth, double labelHeight, double referenceScale, IPoint point, double offset, boolean parallel, int constraint) throws IOException, AutomationException
start
in interface IMoveTextFeedback
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 IMoveTextFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isFlip() throws IOException, AutomationException
isFlip
in interface IMoveTextFeedback
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 IMoveTextFeedback
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 IMoveTextFeedback
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 IMoveTextFeedback
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 IMoveTextFeedback
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 IMoveTextFeedback
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 IMoveTextFeedback
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 IMoveTextFeedback
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 |