|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.ResizeTextFeedback
public class ResizeTextFeedback
Resize Text Display Feedback Object.
Constructor Summary | |
---|---|
ResizeTextFeedback()
Constructs a ResizeTextFeedback using ArcGIS Engine. |
|
ResizeTextFeedback(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ResizeTextFeedback theResizeTextFeedback = (ResizeTextFeedback) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
double |
getAspectRatio()
The aspect ratio for the custom constraint type. |
static String |
getClsid()
getClsid. |
int |
getConstraint()
The constraint on this rubberbander. |
int |
getResizeEdge()
The edge to rubberband. |
ISymbol |
getSymbol()
The symbol the feedback object will use. |
int |
hashCode()
the hashcode for this object |
IEnvelope |
IResizeEnvelopeFeedback_stop()
Stops the feedback and returns the shape. |
IGeometry |
IResizeEnvelopeFeedback2_stop()
Stops the feedback and returns the shape. |
boolean |
isSymbolIsWYSIWYG()
Determines whether the feedback symbol scales with the display. |
boolean |
isUseReferenceScale()
Determines whether the feedback symbol should respect reference scale. |
void |
moveTo(IPoint point)
Move to the new point. |
void |
refresh(int hDC)
Call this after a refresh to show feedback again. |
void |
setAspectRatio(double aspectRatio)
The aspect ratio for the custom constraint type. |
void |
setConstraint(int constrain)
The constraint on this rubberbander. |
void |
setDisplayByRef(IScreenDisplay rhs1)
The display the feedback object will use. |
void |
setResizeEdge(int edge)
The edge to rubberband. |
void |
setSymbolByRef(ISymbol symbol)
The symbol the feedback object will use. |
void |
setSymbolIsWYSIWYG(boolean isWYSIWYG)
Determines whether the feedback symbol scales with the display. |
void |
setUseReferenceScale(boolean respectsRefScale)
Determines whether the feedback symbol should respect reference scale. |
void |
start(IEnvelope envelope,
IPoint point)
Begins a resize feedback of the given shape. |
void |
start(IGeometry envelope,
IPoint point)
Begins a resize feedback of the given shape. |
void |
start(ITextSymbol textSymbol,
IGeometry textGeom,
double referenceScale,
IGeometry envelope,
IPoint point)
Begins a resize feedback of the given text symbol. |
double |
stop()
Stops the feedback and returns the new size. |
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 ResizeTextFeedback() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ResizeTextFeedback(Object obj) throws IOException
ResizeTextFeedback theResizeTextFeedback = (ResizeTextFeedback) obj;
obj
to ResizeTextFeedback
.
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 start(ITextSymbol textSymbol, IGeometry textGeom, double referenceScale, IGeometry envelope, IPoint point) throws IOException, AutomationException
start
in interface IResizeTextFeedback
textSymbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)textGeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)referenceScale
- The referenceScale (in)envelope
- A reference to a com.esri.arcgis.geometry.IGeometry (in)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.public double stop() throws IOException, AutomationException
stop
in interface IResizeTextFeedback
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.public void start(IEnvelope envelope, IPoint point) throws IOException, AutomationException
start
in interface IResizeEnvelopeFeedback
envelope
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)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.public void setResizeEdge(int edge) throws IOException, AutomationException
setResizeEdge
in interface IResizeEnvelopeFeedback
setResizeEdge
in interface IResizeEnvelopeFeedback2
edge
- A com.esri.arcgis.display.esriEnvelopeEdge constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getResizeEdge() throws IOException, AutomationException
getResizeEdge
in interface IResizeEnvelopeFeedback
getResizeEdge
in interface IResizeEnvelopeFeedback2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope IResizeEnvelopeFeedback_stop() throws IOException, AutomationException
IResizeEnvelopeFeedback_stop
in interface IResizeEnvelopeFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getConstraint() throws IOException, AutomationException
getConstraint
in interface IResizeEnvelopeFeedback
getConstraint
in interface IResizeEnvelopeFeedback2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConstraint(int constrain) throws IOException, AutomationException
setConstraint
in interface IResizeEnvelopeFeedback
setConstraint
in interface IResizeEnvelopeFeedback2
constrain
- A com.esri.arcgis.display.esriEnvelopeConstraints constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAspectRatio() throws IOException, AutomationException
getAspectRatio
in interface IResizeEnvelopeFeedback
getAspectRatio
in interface IResizeEnvelopeFeedback2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAspectRatio(double aspectRatio) throws IOException, AutomationException
setAspectRatio
in interface IResizeEnvelopeFeedback
setAspectRatio
in interface IResizeEnvelopeFeedback2
aspectRatio
- The aspectRatio (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void start(IGeometry envelope, IPoint point) throws IOException, AutomationException
start
in interface IResizeEnvelopeFeedback2
envelope
- A reference to a com.esri.arcgis.geometry.IGeometry (in)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.public IGeometry IResizeEnvelopeFeedback2_stop() throws IOException, AutomationException
IResizeEnvelopeFeedback2_stop
in interface IResizeEnvelopeFeedback2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSymbolIsWYSIWYG() throws IOException, AutomationException
isSymbolIsWYSIWYG
in interface IDisplayFeedback2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolIsWYSIWYG(boolean isWYSIWYG) throws IOException, AutomationException
setSymbolIsWYSIWYG
in interface IDisplayFeedback2
isWYSIWYG
- The isWYSIWYG (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseReferenceScale() throws IOException, AutomationException
isUseReferenceScale
in interface IDisplayFeedback2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseReferenceScale(boolean respectsRefScale) throws IOException, AutomationException
setUseReferenceScale
in interface IDisplayFeedback2
respectsRefScale
- The respectsRefScale (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 |