|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.TrackingLabel
public class TrackingLabel
Controls settings for tracking labels.
This object controls settings for tracking labels and tracking text labels.
Constructor Summary | |
---|---|
TrackingLabel()
Constructs a TrackingLabel using ArcGIS Engine. |
|
TrackingLabel(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TrackingLabel theTrackingLabel = (TrackingLabel) obj; |
Method Summary | |
---|---|
void |
draw(IDisplay piDisplay)
Draws the label to the map display. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IEnvelope |
getEnvelope()
Property Envelope. |
String |
getID()
Indicates ID value for the label. |
String |
getLabelText()
Defines label text. |
IGeometry |
getLocation()
Labels geometric location. |
double |
getOffsetAngle()
Indicates the pixel offset bearing from the centroid of the location. |
short |
getPixelOffset()
Indicates the pixel offset from centroid of the location. |
ITextSymbol |
getTextSymbol()
Defines symbol(s) used in text label. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isDirty()
Indicates if the label properties have changed since last drawn. |
boolean |
isVisible()
Indicates whether the tracking label is visible on the map display. |
void |
setID(String pbstrID)
Indicates ID value for the label. |
void |
setLabelText(String pbstrLabelText)
Defines label text. |
void |
setLocationByRef(IGeometry ppiLocation)
Labels geometric location. |
void |
setOffsetAngle(double pdOffsetAngle)
Indicates the pixel offset bearing from the centroid of the location. |
void |
setPixelOffset(short pnPixelOffset)
Indicates the pixel offset from centroid of the location. |
void |
setTextSymbolByRef(ITextSymbol ppiTextSymbol)
Defines symbol(s) used in text label. |
void |
setVisible(boolean pbvarVisible)
Indicates whether the tracking label is visible on the map display. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public TrackingLabel() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TrackingLabel(Object obj) throws IOException
TrackingLabel theTrackingLabel = (TrackingLabel) obj;
obj
to TrackingLabel
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean isDirty() throws IOException, AutomationException
isDirty
in interface ITrackingLabel
isDirty
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getID() throws IOException, AutomationException
getID
in interface ITrackingLabel
getID
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setID(String pbstrID) throws IOException, AutomationException
setID
in interface ITrackingLabel
setID
in interface ITrackingTextLabel
pbstrID
- The pbstrID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getEnvelope() throws IOException, AutomationException
This property indicates the envelope of the label.
getEnvelope
in interface ITrackingLabel
getEnvelope
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLocationByRef(IGeometry ppiLocation) throws IOException, AutomationException
setLocationByRef
in interface ITrackingLabel
setLocationByRef
in interface ITrackingTextLabel
ppiLocation
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry getLocation() throws IOException, AutomationException
This property indicates label’s geometric location.
getLocation
in interface ITrackingLabel
getLocation
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IDisplay piDisplay) throws IOException, AutomationException
draw
in interface ITrackingLabel
draw
in interface ITrackingTextLabel
piDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws IOException, AutomationException
isVisible
in interface ITrackingLabel
isVisible
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(boolean pbvarVisible) throws IOException, AutomationException
setVisible
in interface ITrackingLabel
setVisible
in interface ITrackingTextLabel
pbvarVisible
- The pbvarVisible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getPixelOffset() throws IOException, AutomationException
getPixelOffset
in interface ITrackingLabel
getPixelOffset
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPixelOffset(short pnPixelOffset) throws IOException, AutomationException
setPixelOffset
in interface ITrackingLabel
setPixelOffset
in interface ITrackingTextLabel
pnPixelOffset
- The pnPixelOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getOffsetAngle() throws IOException, AutomationException
This property indicates the angle of offset for labels to display from the event on the map display.
getOffsetAngle
in interface ITrackingLabel
getOffsetAngle
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOffsetAngle(double pdOffsetAngle) throws IOException, AutomationException
setOffsetAngle
in interface ITrackingLabel
setOffsetAngle
in interface ITrackingTextLabel
pdOffsetAngle
- The pdOffsetAngle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getLabelText() throws IOException, AutomationException
getLabelText
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelText(String pbstrLabelText) throws IOException, AutomationException
setLabelText
in interface ITrackingTextLabel
pbstrLabelText
- The pbstrLabelText (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITextSymbol getTextSymbol() throws IOException, AutomationException
getTextSymbol
in interface ITrackingTextLabel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextSymbolByRef(ITextSymbol ppiTextSymbol) throws IOException, AutomationException
setTextSymbolByRef
in interface ITrackingTextLabel
ppiTextSymbol
- A reference to a com.esri.arcgis.display.ITextSymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 |