com.esri.arcgis.display
Interface ISelectionTracker

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ICalloutTracker
All Known Implementing Classes:
CalloutTracker, EnvelopeTracker, ICalloutTrackerProxy, ISelectionTrackerProxy, LineTracker, PointTracker, PolygonTracker

public interface ISelectionTracker
extends java.io.Serializable

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

Description: 'Provides access to members that control the managing of selection handle tracking.' 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 IIDe6bdb00c_4d35_11d0_98be_00805f7ced21
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 boolean deactivate()
          Cancel tracking.
 void draw(IDisplay display, int hDC, int style)
          Draw selection indicater.
 IEnvelope getBounds(IDisplay display)
          The area covered by the tracker including handles.
 IGeometry getGeometry()
          Geometry used for tracking feedback.
 int hitTest(IPoint point)
          Check if mouse is over tracker.
 boolean isLocked()
          Indicates if the tracker is locked or not.
 boolean isShowHandles()
          Indicates if the tracker is showing handles or not.
 boolean onKeyDown(int keyCode, int shift)
          Special keypress processing while tracking.
 boolean onKeyUp(int keyCode, int shift)
          Special keypress processing while tracking.
 void onMouseDown(int button, int shift, int x, int y)
          Begin tracking move or resize based on the location of the mouse over the tracker handles.
 void onMouseMove(int button, int shift, int x, int y)
          In process move or resize tracking.
 void onMouseUp(int button, int shift, int x, int y)
          Finish move or resize tracking.
 int queryCursor(IPoint point)
          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.
 void queryMoveFeedback(IDisplayFeedback moveFeedback)
          The move feedback for the selection tracker.
 void queryResizeFeedback(IDisplayFeedback resizeFeedback)
          The resize feedback for the selection tracker.
 void setDisplayByRef(IScreenDisplay rhs1)
          The display used by the tracker.
 void setGeometry(IGeometry geometry)
          Geometry used for tracking feedback.
 void setLocked(boolean locked)
          Indicates if the tracker is locked or not.
 void setShowHandles(boolean showHandles)
          Indicates if the tracker is showing handles or not.
 

Field Detail

IIDe6bdb00c_4d35_11d0_98be_00805f7ced21

static final int IIDe6bdb00c_4d35_11d0_98be_00805f7ced21
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.

setGeometry

void setGeometry(IGeometry geometry)
                 throws java.io.IOException,
                        AutomationException
Geometry used for tracking feedback.

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.

getGeometry

IGeometry getGeometry()
                      throws java.io.IOException,
                             AutomationException
Geometry used for tracking feedback.

Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBounds

IEnvelope getBounds(IDisplay display)
                    throws java.io.IOException,
                           AutomationException
The area covered by the tracker including handles.

Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCursor

int queryCursor(IPoint point)
                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.

Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The cursor (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hitTest

int hitTest(IPoint point)
            throws java.io.IOException,
                   AutomationException
Check if mouse is over tracker. Return a TrackerLocation to indicate which handle mouse is over.

Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A com.esri.arcgis.display.esriTrackerLocation constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

void draw(IDisplay display,
          int hDC,
          int style)
          throws java.io.IOException,
                 AutomationException
Draw selection indicater. Usually a color outline with selection handles.

Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
hDC - The hDC (A COM typedef) (in)
style - A com.esri.arcgis.display.esriTrackerStyle constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMouseDown

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

Parameters:
button - The button (in)
shift - The shift (in)
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMouseMove

void onMouseMove(int button,
                 int shift,
                 int x,
                 int y)
                 throws java.io.IOException,
                        AutomationException
In process move or resize tracking.

Parameters:
button - The button (in)
shift - The shift (in)
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMouseUp

void onMouseUp(int button,
               int shift,
               int x,
               int y)
               throws java.io.IOException,
                      AutomationException
Finish move or resize tracking.

Parameters:
button - The button (in)
shift - The shift (in)
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onKeyDown

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

Parameters:
keyCode - The keyCode (in)
shift - The shift (in)
Returns:
The complete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onKeyUp

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

Parameters:
keyCode - The keyCode (in)
shift - The shift (in)
Returns:
The complete
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.

setLocked

void setLocked(boolean locked)
               throws java.io.IOException,
                      AutomationException
Indicates if the tracker is locked or not. Locked means nodes cannot be moved.

Parameters:
locked - The locked (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLocked

boolean isLocked()
                 throws java.io.IOException,
                        AutomationException
Indicates if the tracker is locked or not. Locked means nodes cannot be moved.

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

setShowHandles

void setShowHandles(boolean showHandles)
                    throws java.io.IOException,
                           AutomationException
Indicates if the tracker is showing handles or not.

Parameters:
showHandles - The showHandles (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowHandles

boolean isShowHandles()
                      throws java.io.IOException,
                             AutomationException
Indicates if the tracker is showing handles or not.

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

queryMoveFeedback

void queryMoveFeedback(IDisplayFeedback moveFeedback)
                       throws java.io.IOException,
                              AutomationException
The move feedback for the selection tracker.

Parameters:
moveFeedback - A reference to a com.esri.arcgis.display.IDisplayFeedback (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryResizeFeedback

void queryResizeFeedback(IDisplayFeedback resizeFeedback)
                         throws java.io.IOException,
                                AutomationException
The resize feedback for the selection tracker.

Parameters:
resizeFeedback - A reference to a com.esri.arcgis.display.IDisplayFeedback (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.