com.esri.arcgis.enginecore
Interface IGraphicTracker

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GraphicTracker, IGraphicTrackerProxy

public interface IGraphicTracker
extends java.io.Serializable

COM Interface 'IGraphicTracker'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriEngineCore.olb'

Description: 'Provides access to members that set the state of a Graphic Tracker object' 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 IID8aac2f0d_6020_44fb_bb2c_94a153ad7500
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int add(IGeometry pGeometry, IGraphicTrackerSymbol pGraphicTrackerSymbol)
          Adds a new graphic from the given geometry and symbol.
 IGraphicTrackerSymbol createSymbol(ISymbol pSymbol2D, ISymbol pSymbol3D)
          Creates a Graphic Tracker symbol given a 2D and a 3D symbol.
 IGraphicTrackerSymbol createSymbolFromPath(java.lang.String pathTo2D, java.lang.String pathTo3D)
          Creates a Graphic Tracker symbol given a path to a 2D symbol and a path to a 3D symbol.
 int getCount()
          Indicates the number of graphics in the collection.
 void highlight(int id, boolean bHighlight)
          Emphasizes the graphic.
 int hitTest(int x, int y)
          Returns the ID of the first graphic touched by the input window coordinates.
 void initialize(java.lang.Object pMapOrGlobe)
          Sets the Map or Globe that will be used to render the Graphic Tracker.
 boolean isSuspendUpdate()
          Disables automatic refreshing of the display until unsuspended or until the display is explicitly refreshed.
 void moveTo(int id, double x, double y, double z)
          Moves the given graphic to the location specified by the input map coordinates.
 void remove(int id)
          Removes the graphic specified by the supplied ID.
 void removeAll()
          Removes all graphics from the collection.
 void replace(int id, IGeometry pGeometry, IGraphicTrackerSymbol pGraphicTrackerSymbol)
          Creates a new graphic which will replace the element specified by the given ID.
 void setElevationMode(int id, int eElevation)
          Sets the elevation mode for the given graphic.
 void setGeometry(int id, IGeometry pGeometry)
          Sets a new geometry for the given graphic.
 void setLabel(int id, java.lang.String newLabel)
          Sets a label for the given graphic.
 void setOrientationMode(int id, int eOrientation)
          Sets the orientation mode for the given graphic.
 void setPointOrientation(int id, double dPitch, double dRoll, double dYaw)
          Sets the orientation for the given point graphic.
 void setPointSymbolSize(int id, double size)
          Sets the symbol size for the given point graphic.
 void setScaleMode(int id, int eScale)
          Sets the scaling mode for the given graphic.
 void setSuspendUpdate(boolean suspendUpdate)
          Disables automatic refreshing of the display until unsuspended or until the display is explicitly refreshed.
 void setSymbol(int id, IGraphicTrackerSymbol pGraphicTrackerSymbol)
          Sets a new symbol for the given graphic.
 void setTextSymbol(int id, ISimpleTextSymbol pSymbol)
          Sets the text symbol for the given graphic.
 void setTransparency(int id, int lTransparency)
          Sets the transparency for the given graphic.
 void setVisible(int id, boolean bVisible)
          Sets the visibility for the given graphic.
 

Field Detail

IID8aac2f0d_6020_44fb_bb2c_94a153ad7500

static final int IID8aac2f0d_6020_44fb_bb2c_94a153ad7500
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

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
Indicates the number of graphics in the collection.

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

createSymbol

IGraphicTrackerSymbol createSymbol(ISymbol pSymbol2D,
                                   ISymbol pSymbol3D)
                                   throws java.io.IOException,
                                          AutomationException
Creates a Graphic Tracker symbol given a 2D and a 3D symbol.

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

createSymbolFromPath

IGraphicTrackerSymbol createSymbolFromPath(java.lang.String pathTo2D,
                                           java.lang.String pathTo3D)
                                           throws java.io.IOException,
                                                  AutomationException
Creates a Graphic Tracker symbol given a path to a 2D symbol and a path to a 3D symbol.

Parameters:
pathTo2D - The pathTo2D (in)
pathTo3D - The pathTo3D (in)
Returns:
A reference to a com.esri.arcgis.enginecore.IGraphicTrackerSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

int add(IGeometry pGeometry,
        IGraphicTrackerSymbol pGraphicTrackerSymbol)
        throws java.io.IOException,
               AutomationException
Adds a new graphic from the given geometry and symbol. The returned Id should be used to manage the graphic.

Parameters:
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pGraphicTrackerSymbol - A reference to a com.esri.arcgis.enginecore.IGraphicTrackerSymbol (in)
Returns:
The id
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int id)
            throws java.io.IOException,
                   AutomationException
Removes the graphic specified by the supplied ID.

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

removeAll

void removeAll()
               throws java.io.IOException,
                      AutomationException
Removes all graphics from the collection.

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

replace

void replace(int id,
             IGeometry pGeometry,
             IGraphicTrackerSymbol pGraphicTrackerSymbol)
             throws java.io.IOException,
                    AutomationException
Creates a new graphic which will replace the element specified by the given ID.

Parameters:
id - The id (in)
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pGraphicTrackerSymbol - A reference to a com.esri.arcgis.enginecore.IGraphicTrackerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

void initialize(java.lang.Object pMapOrGlobe)
                throws java.io.IOException,
                       AutomationException
Sets the Map or Globe that will be used to render the Graphic Tracker.

Parameters:
pMapOrGlobe - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLabel

void setLabel(int id,
              java.lang.String newLabel)
              throws java.io.IOException,
                     AutomationException
Sets a label for the given graphic.

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

setGeometry

void setGeometry(int id,
                 IGeometry pGeometry)
                 throws java.io.IOException,
                        AutomationException
Sets a new geometry for the given graphic.

Parameters:
id - The id (in)
pGeometry - 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.

setSymbol

void setSymbol(int id,
               IGraphicTrackerSymbol pGraphicTrackerSymbol)
               throws java.io.IOException,
                      AutomationException
Sets a new symbol for the given graphic.

Parameters:
id - The id (in)
pGraphicTrackerSymbol - A reference to a com.esri.arcgis.enginecore.IGraphicTrackerSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScaleMode

void setScaleMode(int id,
                  int eScale)
                  throws java.io.IOException,
                         AutomationException
Sets the scaling mode for the given graphic.

Parameters:
id - The id (in)
eScale - A com.esri.arcgis.enginecore.esriGTScale constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOrientationMode

void setOrientationMode(int id,
                        int eOrientation)
                        throws java.io.IOException,
                               AutomationException
Sets the orientation mode for the given graphic.

Parameters:
id - The id (in)
eOrientation - A com.esri.arcgis.enginecore.esriGTOrientation constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setElevationMode

void setElevationMode(int id,
                      int eElevation)
                      throws java.io.IOException,
                             AutomationException
Sets the elevation mode for the given graphic.

Parameters:
id - The id (in)
eElevation - A com.esri.arcgis.enginecore.esriGTElevation constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisible

void setVisible(int id,
                boolean bVisible)
                throws java.io.IOException,
                       AutomationException
Sets the visibility for the given graphic.

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

setTransparency

void setTransparency(int id,
                     int lTransparency)
                     throws java.io.IOException,
                            AutomationException
Sets the transparency for the given graphic.

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

setTextSymbol

void setTextSymbol(int id,
                   ISimpleTextSymbol pSymbol)
                   throws java.io.IOException,
                          AutomationException
Sets the text symbol for the given graphic.

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

setPointOrientation

void setPointOrientation(int id,
                         double dPitch,
                         double dRoll,
                         double dYaw)
                         throws java.io.IOException,
                                AutomationException
Sets the orientation for the given point graphic. Note that the orientation will only be applied if the graphic has its orientation mode set to esriGTOrientationFixed.

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

setPointSymbolSize

void setPointSymbolSize(int id,
                        double size)
                        throws java.io.IOException,
                               AutomationException
Sets the symbol size for the given point graphic.

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

highlight

void highlight(int id,
               boolean bHighlight)
               throws java.io.IOException,
                      AutomationException
Emphasizes the graphic.

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

hitTest

int hitTest(int x,
            int y)
            throws java.io.IOException,
                   AutomationException
Returns the ID of the first graphic touched by the input window coordinates.

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

moveTo

void moveTo(int id,
            double x,
            double y,
            double z)
            throws java.io.IOException,
                   AutomationException
Moves the given graphic to the location specified by the input map coordinates.

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

isSuspendUpdate

boolean isSuspendUpdate()
                        throws java.io.IOException,
                               AutomationException
Disables automatic refreshing of the display until unsuspended or until the display is explicitly refreshed. Suspending automatic refresh is ideal before bulk updates.

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

setSuspendUpdate

void setSuspendUpdate(boolean suspendUpdate)
                      throws java.io.IOException,
                             AutomationException
Disables automatic refreshing of the display until unsuspended or until the display is explicitly refreshed. Suspending automatic refresh is ideal before bulk updates.

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