com.esri.arcgis.display
Class EngineRotateTracker

java.lang.Object
  extended by com.esri.arcgis.display.EngineRotateTracker
All Implemented Interfaces:
IRotateTracker, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class EngineRotateTracker
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRotateTracker

COM Class 'EngineRotateTracker'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description 'Engine Rotate Tracker Class.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.display.IRotateTracker
IID, IID66770313_fbc0_11d1_a24e_080009b6f22b, xxDummy
 
Constructor Summary
EngineRotateTracker()
          Constructs a EngineRotateTracker using ArcGIS Engine.
EngineRotateTracker(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EngineRotateTracker theEngineRotateTracker = (EngineRotateTracker) obj;
 
Method Summary
 void addGeometry(IGeometry geometry)
          Adds a geometry to be rotated.
 void addPoint(IGeometry geometry, IMarkerSymbol sym)
          Adds a point and symbol to be rotated.
 void clearGeometry()
          Clears all the geometries.
 boolean deactivate()
          Cancel tracking.
 boolean equals(java.lang.Object o)
          Compare this object with another
 double getAngle()
          The angle.
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 rotation origin.
 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 EngineRotateTracker.
 void setDisplayByRef(IScreenDisplay rhs1)
          The display used by the tracker.
 void setOrigin(IPoint anchor)
          The rotation origin.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineRotateTracker

public EngineRotateTracker()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a EngineRotateTracker using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

EngineRotateTracker

public EngineRotateTracker(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EngineRotateTracker theEngineRotateTracker = (EngineRotateTracker) obj;

Construct a EngineRotateTracker using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EngineRotateTracker.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a EngineRotateTracker.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setDisplayByRef

public void setDisplayByRef(IScreenDisplay rhs1)
                     throws java.io.IOException,
                            AutomationException
The display used by the tracker.

Specified by:
setDisplayByRef in interface IRotateTracker
Parameters:
rhs1 - A reference to a com.esri.arcgis.display.IScreenDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCursor

public int getCursor()
              throws java.io.IOException,
                     AutomationException
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. Return 0 if mouse isn't over tracker.

Specified by:
getCursor in interface IRotateTracker
Returns:
The cursor (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Invalidate the portion of the screen covered by the tracker.

Specified by:
refresh in interface IRotateTracker
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMouseDown

public void onMouseDown()
                 throws java.io.IOException,
                        AutomationException
Begin tracking move or resize based on the location of the mouse over the tracker handles.

Specified by:
onMouseDown in interface IRotateTracker
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMouseMove

public void onMouseMove(IPoint mapPoint)
                 throws java.io.IOException,
                        AutomationException
In process move or resize tracking.

Specified by:
onMouseMove in interface IRotateTracker
Parameters:
mapPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMouseUp

public boolean onMouseUp()
                  throws java.io.IOException,
                         AutomationException
Finish move or resize tracking.

Specified by:
onMouseUp in interface IRotateTracker
Returns:
The angleChanged
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onKeyDown

public boolean onKeyDown(int keyCode)
                  throws java.io.IOException,
                         AutomationException
Special keypress processing while tracking.

Specified by:
onKeyDown in interface IRotateTracker
Parameters:
keyCode - The keyCode (in)
Returns:
The angleChanged
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public boolean deactivate()
                   throws java.io.IOException,
                          AutomationException
Cancel tracking.

Specified by:
deactivate in interface IRotateTracker
Returns:
The complete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOrigin

public void setOrigin(IPoint anchor)
               throws java.io.IOException,
                      AutomationException
The rotation origin.

Specified by:
setOrigin in interface IRotateTracker
Parameters:
anchor - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOrigin

public IPoint getOrigin()
                 throws java.io.IOException,
                        AutomationException
The rotation origin.

Specified by:
getOrigin in interface IRotateTracker
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addGeometry

public void addGeometry(IGeometry geometry)
                 throws java.io.IOException,
                        AutomationException
Adds a geometry to be rotated.

Specified by:
addGeometry in interface IRotateTracker
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addPoint

public void addPoint(IGeometry geometry,
                     IMarkerSymbol sym)
              throws java.io.IOException,
                     AutomationException
Adds a point and symbol to be rotated.

Specified by:
addPoint in interface IRotateTracker
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
sym - A reference to a com.esri.arcgis.display.IMarkerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearGeometry

public void clearGeometry()
                   throws java.io.IOException,
                          AutomationException
Clears all the geometries.

Specified by:
clearGeometry in interface IRotateTracker
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngle

public double getAngle()
                throws java.io.IOException,
                       AutomationException
The angle.

Specified by:
getAngle in interface IRotateTracker
Returns:
The angle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.