com.esri.arcgis.display
Class SymbolIdentifier

java.lang.Object
  extended by com.esri.arcgis.display.SymbolIdentifier
All Implemented Interfaces:
ISymbolIdentifier, ISymbolIdentifier2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SymbolIdentifier
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISymbolIdentifier, ISymbolIdentifier2

COM Class 'SymbolIdentifier'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description 'Groups a symbol with both an ID and Name.' 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.display.ISymbolIdentifier
IID, IID440b07bb_92f0_11d3_9fcc_00c04f6bc6a5, xxDummy
 
Fields inherited from interface com.esri.arcgis.display.ISymbolIdentifier2
IID, IID877a260a_cacb_48f6_aaf9_a24ce3bc75ff, xxDummy
 
Constructor Summary
SymbolIdentifier()
          Constructs a SymbolIdentifier using ArcGIS Engine.
SymbolIdentifier(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SymbolIdentifier theSymbolIdentifier = (SymbolIdentifier) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getID()
          The symbolID associated with the symbol.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name associated with the symbol.
 ISymbol getSymbol()
          The symbol associated with the symbolID.
 int hashCode()
          the hashcode for this object
 void release()
          Release a SymbolIdentifier.
 void setID(int symbolID)
          The symbolID associated with the symbol.
 void setName(java.lang.String name)
          The name associated with the symbol.
 void setSymbolByRef(ISymbol symbol)
          The symbol associated with the symbolID.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolIdentifier

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

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

SymbolIdentifier

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

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

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 SymbolIdentifier.

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

getSymbol

public ISymbol getSymbol()
                  throws java.io.IOException,
                         AutomationException
The symbol associated with the symbolID.

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

setSymbolByRef

public void setSymbolByRef(ISymbol symbol)
                    throws java.io.IOException,
                           AutomationException
The symbol associated with the symbolID.

Specified by:
setSymbolByRef in interface ISymbolIdentifier
Specified by:
setSymbolByRef in interface ISymbolIdentifier2
Parameters:
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getID

public int getID()
          throws java.io.IOException,
                 AutomationException
The symbolID associated with the symbol.

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

setID

public void setID(int symbolID)
           throws java.io.IOException,
                  AutomationException
The symbolID associated with the symbol.

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name associated with the symbol.

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

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
The name associated with the symbol.

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