|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.enginecore.GraphicTracker
public class GraphicTracker
COM Class 'GraphicTracker'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriEngineCore.olb'
Description 'A collection of Graphics that will be displayed on a Map or Globe' 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 |
---|
Fields inherited from interface com.esri.arcgis.enginecore.IGraphicTracker |
---|
IID, IID8aac2f0d_6020_44fb_bb2c_94a153ad7500, xxDummy |
Constructor Summary | |
---|---|
GraphicTracker()
Constructs a GraphicTracker using ArcGIS Engine. |
|
GraphicTracker(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GraphicTracker theGraphicTracker = (GraphicTracker) obj; |
Method Summary | |
---|---|
int |
add(IGeometry pGeometry,
IGraphicTrackerSymbol pGraphicTrackerSymbol)
Adds a new graphic from the given geometry and symbol. |
void |
addIActiveViewEventsListener(IActiveViewEvents theListener)
addIActiveViewEventsListener. |
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. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
int |
getCount()
Indicates the number of graphics in the collection. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
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 |
release()
Release a GraphicTracker. |
void |
remove(int id)
Removes the graphic specified by the supplied ID. |
void |
removeAll()
Removes all graphics from the collection. |
void |
removeIActiveViewEventsListener(IActiveViewEvents theListener)
removeIActiveViewEventsListener. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphicTracker() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic GraphicTracker(java.lang.Object obj) throws java.io.IOException
GraphicTracker theGraphicTracker = (GraphicTracker) obj;
obj
to GraphicTracker
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIActiveViewEventsListener(IActiveViewEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.IActiveViewEvents interface.
java.io.IOException
- If there are communications problems.public void removeIActiveViewEventsListener(IActiveViewEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.carto.IActiveViewEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IGraphicTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGraphicTrackerSymbol createSymbol(ISymbol pSymbol2D, ISymbol pSymbol3D) throws java.io.IOException, AutomationException
createSymbol
in interface IGraphicTracker
pSymbol2D
- A reference to a com.esri.arcgis.display.ISymbol (in)pSymbol3D
- A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGraphicTrackerSymbol createSymbolFromPath(java.lang.String pathTo2D, java.lang.String pathTo3D) throws java.io.IOException, AutomationException
createSymbolFromPath
in interface IGraphicTracker
pathTo2D
- The pathTo2D (in)pathTo3D
- The pathTo3D (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int add(IGeometry pGeometry, IGraphicTrackerSymbol pGraphicTrackerSymbol) throws java.io.IOException, AutomationException
add
in interface IGraphicTracker
pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pGraphicTrackerSymbol
- A reference to a com.esri.arcgis.enginecore.IGraphicTrackerSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int id) throws java.io.IOException, AutomationException
remove
in interface IGraphicTracker
id
- The id (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws java.io.IOException, AutomationException
removeAll
in interface IGraphicTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replace(int id, IGeometry pGeometry, IGraphicTrackerSymbol pGraphicTrackerSymbol) throws java.io.IOException, AutomationException
replace
in interface IGraphicTracker
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initialize(java.lang.Object pMapOrGlobe) throws java.io.IOException, AutomationException
initialize
in interface IGraphicTracker
pMapOrGlobe
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabel(int id, java.lang.String newLabel) throws java.io.IOException, AutomationException
setLabel
in interface IGraphicTracker
id
- The id (in)newLabel
- The newLabel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeometry(int id, IGeometry pGeometry) throws java.io.IOException, AutomationException
setGeometry
in interface IGraphicTracker
id
- The id (in)pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbol(int id, IGraphicTrackerSymbol pGraphicTrackerSymbol) throws java.io.IOException, AutomationException
setSymbol
in interface IGraphicTracker
id
- The id (in)pGraphicTrackerSymbol
- A reference to a com.esri.arcgis.enginecore.IGraphicTrackerSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setScaleMode(int id, int eScale) throws java.io.IOException, AutomationException
setScaleMode
in interface IGraphicTracker
id
- The id (in)eScale
- A com.esri.arcgis.enginecore.esriGTScale constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOrientationMode(int id, int eOrientation) throws java.io.IOException, AutomationException
setOrientationMode
in interface IGraphicTracker
id
- The id (in)eOrientation
- A com.esri.arcgis.enginecore.esriGTOrientation constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setElevationMode(int id, int eElevation) throws java.io.IOException, AutomationException
setElevationMode
in interface IGraphicTracker
id
- The id (in)eElevation
- A com.esri.arcgis.enginecore.esriGTElevation constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(int id, boolean bVisible) throws java.io.IOException, AutomationException
setVisible
in interface IGraphicTracker
id
- The id (in)bVisible
- The bVisible (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparency(int id, int lTransparency) throws java.io.IOException, AutomationException
setTransparency
in interface IGraphicTracker
id
- The id (in)lTransparency
- The lTransparency (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextSymbol(int id, ISimpleTextSymbol pSymbol) throws java.io.IOException, AutomationException
setTextSymbol
in interface IGraphicTracker
id
- The id (in)pSymbol
- A reference to a com.esri.arcgis.display.ISimpleTextSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPointOrientation(int id, double dPitch, double dRoll, double dYaw) throws java.io.IOException, AutomationException
setPointOrientation
in interface IGraphicTracker
id
- The id (in)dPitch
- The dPitch (in)dRoll
- The dRoll (in)dYaw
- The dYaw (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPointSymbolSize(int id, double size) throws java.io.IOException, AutomationException
setPointSymbolSize
in interface IGraphicTracker
id
- The id (in)size
- The size (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void highlight(int id, boolean bHighlight) throws java.io.IOException, AutomationException
highlight
in interface IGraphicTracker
id
- The id (in)bHighlight
- The bHighlight (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int hitTest(int x, int y) throws java.io.IOException, AutomationException
hitTest
in interface IGraphicTracker
x
- The x (in)y
- The y (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveTo(int id, double x, double y, double z) throws java.io.IOException, AutomationException
moveTo
in interface IGraphicTracker
id
- The id (in)x
- The x (in)y
- The y (in)z
- The z (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSuspendUpdate() throws java.io.IOException, AutomationException
isSuspendUpdate
in interface IGraphicTracker
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSuspendUpdate(boolean suspendUpdate) throws java.io.IOException, AutomationException
setSuspendUpdate
in interface IGraphicTracker
suspendUpdate
- The suspendUpdate (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |