com.esri.arcgis.display
Interface IScaleTracker

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IScaleTrackerProxy, ScaleTracker

public interface IScaleTracker
extends java.io.Serializable

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

Description: 'Provides access to members that control the scale 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 IID2dc98f3b_38aa_11d3_9f3c_00c04f6bc979
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addGeometry(IGeometry geometry)
          Adds a geometry to be scaled.
 void clearGeometry()
          Clears all the geometries.
 boolean deactivate()
          Cancel tracking.
 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 scale origin.
 double getScaleFactor()
          The scale factor.
 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 scale origin.
 

Field Detail

IID2dc98f3b_38aa_11d3_9f3c_00c04f6bc979

static final int IID2dc98f3b_38aa_11d3_9f3c_00c04f6bc979
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 scaleChanged
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 scaleChanged
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 scale 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 scale 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 scaled.

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.

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.

getScaleFactor

double getScaleFactor()
                      throws java.io.IOException,
                             AutomationException
The scale factor.

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