|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public boolean isDirty()
throws IOException,
AutomationException
isDirty in interface ITrackingLabelisDirty in interface ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getID()
throws IOException,
AutomationException
getID in interface ITrackingLabelgetID in interface ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setID(String pbstrID)
throws IOException,
AutomationException
setID in interface ITrackingLabelsetID in interface ITrackingTextLabelpbstrID - 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 ITrackingLabelgetEnvelope in interface ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLocationByRef(IGeometry ppiLocation)
throws IOException,
AutomationException
setLocationByRef in interface ITrackingLabelsetLocationByRef in interface ITrackingTextLabelppiLocation - 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 ITrackingLabelgetLocation in interface ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay piDisplay)
throws IOException,
AutomationException
draw in interface ITrackingLabeldraw in interface ITrackingTextLabelpiDisplay - 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 ITrackingLabelisVisible in interface ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVisible(boolean pbvarVisible)
throws IOException,
AutomationException
setVisible in interface ITrackingLabelsetVisible in interface ITrackingTextLabelpbvarVisible - 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 ITrackingLabelgetPixelOffset in interface ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPixelOffset(short pnPixelOffset)
throws IOException,
AutomationException
setPixelOffset in interface ITrackingLabelsetPixelOffset in interface ITrackingTextLabelpnPixelOffset - 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 ITrackingLabelgetOffsetAngle in interface ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOffsetAngle(double pdOffsetAngle)
throws IOException,
AutomationException
setOffsetAngle in interface ITrackingLabelsetOffsetAngle in interface ITrackingTextLabelpdOffsetAngle - 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 ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelText(String pbstrLabelText)
throws IOException,
AutomationException
setLabelText in interface ITrackingTextLabelpbstrLabelText - 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 ITrackingTextLabelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextSymbolByRef(ITextSymbol ppiTextSymbol)
throws IOException,
AutomationException
setTextSymbolByRef in interface ITrackingTextLabelppiTextSymbol - 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 ISupportErrorInforiid - 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 | ||||||||