|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.NewLineFeedback
public class NewLineFeedback
New Line Display Feedback Object.
Constructor Summary | |
---|---|
NewLineFeedback()
Constructs a NewLineFeedback using ArcGIS Engine. |
|
NewLineFeedback(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NewLineFeedback theNewLineFeedback = (NewLineFeedback) obj; |
Method Summary | |
---|---|
void |
addPoint(IPoint point)
Creates a node at the given point. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getConstraint()
The constraint on this rubberbander. |
int |
getGeodeticConstructionMethod()
The geodetic construction method. |
ISpatialReference |
getSpatialReference()
The spatial reference of the feedback line. |
ISymbol |
getSymbol()
The symbol the feedback object will use. |
int |
hashCode()
the hashcode for this object |
boolean |
isSymbolIsWYSIWYG()
Determines whether the feedback symbol scales with the display. |
boolean |
isUseGeodeticConstruction()
Specifies if geodetic construction will be used. |
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 |
setConstraint(int constrain)
The constraint on this rubberbander. |
void |
setDisplayByRef(IScreenDisplay rhs1)
The display the feedback object will use. |
void |
setGeodeticConstructionMethod(int gType)
The geodetic construction method. |
void |
setSpatialReferenceByRef(ISpatialReference sr)
The spatial reference of the feedback line. |
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 |
setUseGeodeticConstruction(boolean flag)
Specifies if geodetic construction will be used. |
void |
setUseReferenceScale(boolean respectsRefScale)
Determines whether the feedback symbol should respect reference scale. |
void |
start(IPoint point)
Begins a normal feedback at the given point. |
IPolyline |
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 NewLineFeedback() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic NewLineFeedback(Object obj) throws IOException
NewLineFeedback theNewLineFeedback = (NewLineFeedback) obj;
obj
to NewLineFeedback
.
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(IPoint point) throws IOException, AutomationException
start
in interface INewLineFeedback
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 addPoint(IPoint point) throws IOException, AutomationException
addPoint
in interface INewLineFeedback
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 IPolyline stop() throws IOException, AutomationException
stop
in interface INewLineFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getConstraint() throws IOException, AutomationException
getConstraint
in interface INewLineFeedback
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 INewLineFeedback
constrain
- A com.esri.arcgis.display.esriLineConstraints 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.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.public ISpatialReference getSpatialReference() throws IOException, AutomationException
getSpatialReference
in interface IGeodeticLineFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference sr) throws IOException, AutomationException
setSpatialReferenceByRef
in interface IGeodeticLineFeedback
sr
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseGeodeticConstruction() throws IOException, AutomationException
isUseGeodeticConstruction
in interface IGeodeticLineFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseGeodeticConstruction(boolean flag) throws IOException, AutomationException
setUseGeodeticConstruction
in interface IGeodeticLineFeedback
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGeodeticConstructionMethod() throws IOException, AutomationException
getGeodeticConstructionMethod
in interface IGeodeticLineFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeodeticConstructionMethod(int gType) throws IOException, AutomationException
setGeodeticConstructionMethod
in interface IGeodeticLineFeedback
gType
- A com.esri.arcgis.geometry.esriGeodeticType constant (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 |