com.esri.arcgis.trackinganalyst
Class TxSymbolSelector

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.TxSymbolSelector
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, ITxSymbolSelector, Serializable

public class TxSymbolSelector
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITxSymbolSelector, ISupportErrorInfo

Symbol picker.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also:
Serialized Form

Constructor Summary
TxSymbolSelector()
          Constructs a TxSymbolSelector using ArcGIS Engine.
TxSymbolSelector(Object obj)
          Construct a TxSymbolSelector using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean addSymbol(ISymbol symbol)
          Brings up a dialog for Adding a symbol.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 ISymbol getSymbolAt(int index)
          Gets the symbol at the given index.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean selectSymbol(int hWnd)
          Displays a dialog that lets the user select a symbol.
 
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

TxSymbolSelector

public TxSymbolSelector()
                 throws IOException,
                        UnknownHostException
Constructs a TxSymbolSelector using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

TxSymbolSelector

public TxSymbolSelector(Object obj)
                 throws IOException
Construct a TxSymbolSelector using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TxSymbolSelector.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems TxSymbolSelector theTxSymbolSelector = (TxSymbolSelector) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

addSymbol

public boolean addSymbol(ISymbol symbol)
                  throws IOException,
                         AutomationException
Brings up a dialog for Adding a symbol.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
addSymbol in interface ITxSymbolSelector
Parameters:
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
Returns:
The result
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbolAt

public ISymbol getSymbolAt(int index)
                    throws IOException,
                           AutomationException
Gets the symbol at the given index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
getSymbolAt in interface ITxSymbolSelector
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.display.ISymbol
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectSymbol

public boolean selectSymbol(int hWnd)
                     throws IOException,
                            AutomationException
Displays a dialog that lets the user select a symbol.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Specified by:
selectSymbol in interface ITxSymbolSelector
Parameters:
hWnd - The hWnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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