com.esri.arcgis.trackinganalyst
Class TrackingLabel

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.TrackingLabel
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, ITrackingLabel, ITrackingTextLabel, java.io.Serializable

public class TrackingLabel
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITrackingLabel, ITrackingTextLabel, ISupportErrorInfo

COM Class 'TrackingLabel'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriTrackingAnalyst.olb'

Description 'Controls settings for tracking labels.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITrackingLabel
IID, IIDe91113d0_eb5b_11d5_b81a_00010265adc5, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITrackingTextLabel
IID, IID80629b50_ec63_11d5_b81a_00010265adc5, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
TrackingLabel()
          Constructs a TrackingLabel using ArcGIS Engine.
TrackingLabel(java.lang.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(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IEnvelope getEnvelope()
          Property Envelope.
 java.lang.String getID()
          Indicates ID value for the label.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.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 release()
          Release a TrackingLabel.
 void setID(java.lang.String pbstrID)
          Indicates ID value for the label.
 void setLabelText(java.lang.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
 

Constructor Detail

TrackingLabel

public TrackingLabel()
              throws java.io.IOException,
                     java.net.UnknownHostException
Constructs a TrackingLabel using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TrackingLabel

public TrackingLabel(java.lang.Object obj)
              throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrackingLabel theTrackingLabel = (TrackingLabel) obj;

Construct a TrackingLabel using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TrackingLabel.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TrackingLabel.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

isDirty

public boolean isDirty()
                throws java.io.IOException,
                       AutomationException
Indicates if the label properties have changed since last drawn.

Specified by:
isDirty in interface ITrackingLabel
Specified by:
isDirty in interface ITrackingTextLabel
Returns:
The pbvarDirty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getID

public java.lang.String getID()
                       throws java.io.IOException,
                              AutomationException
Indicates ID value for the label.

Specified by:
getID in interface ITrackingLabel
Specified by:
getID in interface ITrackingTextLabel
Returns:
The pbstrID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setID

public void setID(java.lang.String pbstrID)
           throws java.io.IOException,
                  AutomationException
Indicates ID value for the label.

Specified by:
setID in interface ITrackingLabel
Specified by:
setID in interface ITrackingTextLabel
Parameters:
pbstrID - The pbstrID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnvelope

public IEnvelope getEnvelope()
                      throws java.io.IOException,
                             AutomationException
Property Envelope.

Specified by:
getEnvelope in interface ITrackingLabel
Specified by:
getEnvelope in interface ITrackingTextLabel
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.

setLocationByRef

public void setLocationByRef(IGeometry ppiLocation)
                      throws java.io.IOException,
                             AutomationException
Labels geometric location.

Specified by:
setLocationByRef in interface ITrackingLabel
Specified by:
setLocationByRef in interface ITrackingTextLabel
Parameters:
ppiLocation - 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.

getLocation

public IGeometry getLocation()
                      throws java.io.IOException,
                             AutomationException
Labels geometric location.

Specified by:
getLocation in interface ITrackingLabel
Specified by:
getLocation in interface ITrackingTextLabel
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.

draw

public void draw(IDisplay piDisplay)
          throws java.io.IOException,
                 AutomationException
Draws the label to the map display.

Specified by:
draw in interface ITrackingLabel
Specified by:
draw in interface ITrackingTextLabel
Parameters:
piDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

public boolean isVisible()
                  throws java.io.IOException,
                         AutomationException
Indicates whether the tracking label is visible on the map display.

Specified by:
isVisible in interface ITrackingLabel
Specified by:
isVisible in interface ITrackingTextLabel
Returns:
The pbvarVisible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisible

public void setVisible(boolean pbvarVisible)
                throws java.io.IOException,
                       AutomationException
Indicates whether the tracking label is visible on the map display.

Specified by:
setVisible in interface ITrackingLabel
Specified by:
setVisible in interface ITrackingTextLabel
Parameters:
pbvarVisible - The pbvarVisible (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelOffset

public short getPixelOffset()
                     throws java.io.IOException,
                            AutomationException
Indicates the pixel offset from centroid of the location.

Specified by:
getPixelOffset in interface ITrackingLabel
Specified by:
getPixelOffset in interface ITrackingTextLabel
Returns:
The pnPixelOffset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelOffset

public void setPixelOffset(short pnPixelOffset)
                    throws java.io.IOException,
                           AutomationException
Indicates the pixel offset from centroid of the location.

Specified by:
setPixelOffset in interface ITrackingLabel
Specified by:
setPixelOffset in interface ITrackingTextLabel
Parameters:
pnPixelOffset - The pnPixelOffset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOffsetAngle

public double getOffsetAngle()
                      throws java.io.IOException,
                             AutomationException
Indicates the pixel offset bearing from the centroid of the location.

Specified by:
getOffsetAngle in interface ITrackingLabel
Specified by:
getOffsetAngle in interface ITrackingTextLabel
Returns:
The pdOffsetAngle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOffsetAngle

public void setOffsetAngle(double pdOffsetAngle)
                    throws java.io.IOException,
                           AutomationException
Indicates the pixel offset bearing from the centroid of the location.

Specified by:
setOffsetAngle in interface ITrackingLabel
Specified by:
setOffsetAngle in interface ITrackingTextLabel
Parameters:
pdOffsetAngle - The pdOffsetAngle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLabelText

public java.lang.String getLabelText()
                              throws java.io.IOException,
                                     AutomationException
Defines label text.

Specified by:
getLabelText in interface ITrackingTextLabel
Returns:
The pbstrLabelText
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLabelText

public void setLabelText(java.lang.String pbstrLabelText)
                  throws java.io.IOException,
                         AutomationException
Defines label text.

Specified by:
setLabelText in interface ITrackingTextLabel
Parameters:
pbstrLabelText - The pbstrLabelText (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextSymbol

public ITextSymbol getTextSymbol()
                          throws java.io.IOException,
                                 AutomationException
Defines symbol(s) used in text label.

Specified by:
getTextSymbol in interface ITrackingTextLabel
Returns:
A reference to a com.esri.arcgis.display.ITextSymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextSymbolByRef

public void setTextSymbolByRef(ITextSymbol ppiTextSymbol)
                        throws java.io.IOException,
                               AutomationException
Defines symbol(s) used in text label.

Specified by:
setTextSymbolByRef in interface ITrackingTextLabel
Parameters:
ppiTextSymbol - A reference to a com.esri.arcgis.display.ITextSymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.