|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.cartoUI.ScaleTracker
public class ScaleTracker
COM Class 'ScaleTracker'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriCartoUI.olb'
Description 'Tracker for scale operations.' 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.IScaleTracker |
---|
IID, IID2dc98f3b_38aa_11d3_9f3c_00c04f6bc979, xxDummy |
Constructor Summary | |
---|---|
ScaleTracker()
Constructs a ScaleTracker using ArcGIS Engine. |
|
ScaleTracker(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ScaleTracker theScaleTracker = (ScaleTracker) obj; |
Method Summary | |
---|---|
void |
addGeometry(IGeometry geometry)
Adds a geometry to be scaled. |
void |
clearGeometry()
Clears all the geometries. |
boolean |
deactivate()
Cancel tracking. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
int |
getCursor()
If the mouse is over the tracker, return an HCURSOR to indicate legal operations based on mouse's relation to selection handles: move resize, etc. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IPoint |
getOrigin()
The scale origin. |
double |
getScaleFactor()
The scale factor. |
int |
hashCode()
the hashcode for this object |
boolean |
onKeyDown(int keyCode)
Special keypress processing while tracking. |
void |
onMouseDown()
Begin tracking move or resize based on the location of the mouse over the tracker handles. |
void |
onMouseMove(IPoint mapPoint)
In process move or resize tracking. |
boolean |
onMouseUp()
Finish move or resize tracking. |
void |
refresh()
Invalidate the portion of the screen covered by the tracker. |
void |
release()
Release a ScaleTracker. |
void |
setDisplayByRef(IScreenDisplay rhs1)
The display used by the tracker. |
void |
setOrigin(IPoint anchor)
The scale origin. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScaleTracker() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic ScaleTracker(java.lang.Object obj) throws java.io.IOException
ScaleTracker theScaleTracker = (ScaleTracker) obj;
obj
to ScaleTracker
.
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 void setDisplayByRef(IScreenDisplay rhs1) throws java.io.IOException, AutomationException
setDisplayByRef
in interface IScaleTracker
rhs1
- A reference to a com.esri.arcgis.display.IScreenDisplay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCursor() throws java.io.IOException, AutomationException
getCursor
in interface IScaleTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws java.io.IOException, AutomationException
refresh
in interface IScaleTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onMouseDown() throws java.io.IOException, AutomationException
onMouseDown
in interface IScaleTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onMouseMove(IPoint mapPoint) throws java.io.IOException, AutomationException
onMouseMove
in interface IScaleTracker
mapPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean onMouseUp() throws java.io.IOException, AutomationException
onMouseUp
in interface IScaleTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean onKeyDown(int keyCode) throws java.io.IOException, AutomationException
onKeyDown
in interface IScaleTracker
keyCode
- The keyCode (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean deactivate() throws java.io.IOException, AutomationException
deactivate
in interface IScaleTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrigin(IPoint anchor) throws java.io.IOException, AutomationException
setOrigin
in interface IScaleTracker
anchor
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getOrigin() throws java.io.IOException, AutomationException
getOrigin
in interface IScaleTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addGeometry(IGeometry geometry) throws java.io.IOException, AutomationException
addGeometry
in interface IScaleTracker
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 void clearGeometry() throws java.io.IOException, AutomationException
clearGeometry
in interface IScaleTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getScaleFactor() throws java.io.IOException, AutomationException
getScaleFactor
in interface IScaleTracker
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 |