|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.SymbolIdentifier
public class SymbolIdentifier
Groups a symbol with both an ID and Name.
A SymbolIdentifier is a simple grouping of a Symbol with an ID and a Name. Any symbol that implements ISymbol can be stored in a SymbolIdentifier, however they are most commonly used with a TextSymbol in the SymbolCollection of an Annotation Feature class which is stored in the AnnotationFeatureClassExtension.
Constructor Summary | |
---|---|
SymbolIdentifier()
Constructs a SymbolIdentifier using ArcGIS Engine. |
|
SymbolIdentifier(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SymbolIdentifier theSymbolIdentifier = (SymbolIdentifier) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getID()
The symbolID associated with the symbol. |
String |
getName()
The name associated with the symbol. |
ISymbol |
getSymbol()
The symbol associated with the symbolID. |
int |
hashCode()
the hashcode for this object |
void |
setID(int symbolID)
The symbolID associated with the symbol. |
void |
setName(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SymbolIdentifier() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SymbolIdentifier(Object obj) throws IOException
SymbolIdentifier theSymbolIdentifier = (SymbolIdentifier) obj;
obj
to SymbolIdentifier
.
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 ISymbol getSymbol() throws IOException, AutomationException
getSymbol
in interface ISymbolIdentifier
getSymbol
in interface ISymbolIdentifier2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolByRef(ISymbol symbol) throws IOException, AutomationException
setSymbolByRef
in interface ISymbolIdentifier
setSymbolByRef
in interface ISymbolIdentifier2
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getID() throws IOException, AutomationException
getID
in interface ISymbolIdentifier
getID
in interface ISymbolIdentifier2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setID(int symbolID) throws IOException, AutomationException
setID
in interface ISymbolIdentifier
setID
in interface ISymbolIdentifier2
symbolID
- The symbolID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface ISymbolIdentifier2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface ISymbolIdentifier2
name
- The name (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 |