|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.RubberPolygon
public class RubberPolygon
COM Class 'RubberPolygon'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'
Description 'Rubberbanding class for polygons.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.display.IRubberBand |
---|
IID, IIDe6bdb005_4d35_11d0_98be_00805f7ced21, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IRubberBand2 |
---|
IID, IIDe6bdb006_4d35_11d0_98be_00805f7ced21, xxDummy |
Constructor Summary | |
---|---|
RubberPolygon()
Constructs a RubberPolygon using ArcGIS Engine. |
|
RubberPolygon(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RubberPolygon theRubberPolygon = (RubberPolygon) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
boolean |
isShiftToConstrain()
Indicates whether the shift key constrain the shape. |
void |
release()
Release a RubberPolygon. |
void |
setShiftToConstrain(boolean flag)
Indicates whether the shift key constrain the shape. |
boolean |
trackExisting(IScreenDisplay screenDisplay,
ISymbol symbol,
IGeometry geometry)
Indicates if to move or reshape an existing shape on the specified screen in response to a mouse down event. |
IGeometry |
trackNew(IScreenDisplay screenDisplay,
ISymbol symbol)
Call in response to mouse down event to rubberband a new shape on the specified screen. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RubberPolygon() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic RubberPolygon(java.lang.Object obj) throws java.io.IOException
RubberPolygon theRubberPolygon = (RubberPolygon) obj;
obj
to RubberPolygon
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IGeometry trackNew(IScreenDisplay screenDisplay, ISymbol symbol) throws java.io.IOException, AutomationException
trackNew
in interface IRubberBand
trackNew
in interface IRubberBand2
screenDisplay
- A reference to a com.esri.arcgis.display.IScreenDisplay (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean trackExisting(IScreenDisplay screenDisplay, ISymbol symbol, IGeometry geometry) throws java.io.IOException, AutomationException
trackExisting
in interface IRubberBand
trackExisting
in interface IRubberBand2
screenDisplay
- A reference to a com.esri.arcgis.display.IScreenDisplay (in)symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShiftToConstrain() throws java.io.IOException, AutomationException
isShiftToConstrain
in interface IRubberBand2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShiftToConstrain(boolean flag) throws java.io.IOException, AutomationException
setShiftToConstrain
in interface IRubberBand2
flag
- The flag (in)
java.io.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 |