com.esri.arcgis.display
Interface IRotateTracker

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
EngineRotateTracker, IRotateTrackerProxy, RotateTracker

public interface IRotateTracker
extends java.io.Serializable

COM Interface 'IRotateTracker'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to members that control the rotation tracker.' 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
static java.lang.String IID
          Deprecated. Internal use only
static int IID66770313_fbc0_11d1_a24e_080009b6f22b
           
static int xxDummy
          Deprecated. Internal use only
 
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.
 double getAngle()
          The angle.
 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.
 IPoint getOrigin()
          The rotation origin.
 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 setDisplayByRef(IScreenDisplay rhs1)
          The display used by the tracker.
 void setOrigin(IPoint anchor)
          The rotation origin.
 

Field Detail

IID66770313_fbc0_11d1_a24e_080009b6f22b

static final int IID66770313_fbc0_11d1_a24e_080009b6f22b
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setDisplayByRef

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

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

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.

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

refresh

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMouseDown

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMouseMove

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

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

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

Returns:
The angleChanged
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onKeyDown

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

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

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

Returns:
The complete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOrigin

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

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

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

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

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

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

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

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

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngle

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

Returns:
The angle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.