|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.display.GraphicAttributeEnumType
public class GraphicAttributeEnumType
Enumeration graphic attribute type.
GraphicAttributeEnumType is a type of graphic attribute used for defining enumerations.
| Constructor Summary | |
|---|---|
GraphicAttributeEnumType()
Constructs a GraphicAttributeEnumType using ArcGIS Engine. |
|
GraphicAttributeEnumType(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GraphicAttributeEnumType theGraphicAttributeEnumType = (GraphicAttributeEnumType) obj; |
|
| Method Summary | |
|---|---|
void |
addValue(int value,
String text)
Adds a new value to the graphic attribute enumeration. |
void |
drawValue(Object value,
tagRECT rect,
int hDC,
boolean readOnly)
Draws a value on the device context. |
boolean |
equals(Object o)
Compare this object with another |
Object |
formatValue(Object value)
Formats the graphic attribute value. |
static String |
getClsid()
getClsid. |
int |
getType()
The graphic attribute type. |
int |
hashCode()
the hashcode for this object |
int |
nextValue()
Hands back the next value in the enumeration. |
void |
reset()
Resets the enumeration of values. |
Object |
textToValue(String text)
Converts text to the graphic attribute value. |
String |
valueToText(Object value)
Converts the graphic attribute value to text. |
| 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 GraphicAttributeEnumType()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GraphicAttributeEnumType(Object obj)
throws IOException
GraphicAttributeEnumType theGraphicAttributeEnumType = (GraphicAttributeEnumType) obj;
obj to GraphicAttributeEnumType.
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 int getType()
throws IOException,
AutomationException
getType in interface IGraphicAttributeTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object formatValue(Object value)
throws IOException,
AutomationException
formatValue in interface IGraphicAttributeTypevalue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object textToValue(String text)
throws IOException,
AutomationException
textToValue in interface IGraphicAttributeTypetext - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String valueToText(Object value)
throws IOException,
AutomationException
valueToText in interface IGraphicAttributeTypevalue - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawValue(Object value,
tagRECT rect,
int hDC,
boolean readOnly)
throws IOException,
AutomationException
drawValue in interface IGraphicAttributeTypevalue - A Variant (in)rect - A Structure: com.esri.arcgis.system.tagRECT (in)hDC - The hDC (A COM typedef) (in)readOnly - The readOnly (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reset()
throws IOException,
AutomationException
reset in interface IGraphicAttributeEnumTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int nextValue()
throws IOException,
AutomationException
nextValue in interface IGraphicAttributeEnumTypeIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addValue(int value,
String text)
throws IOException,
AutomationException
addValue in interface IGraphicAttributeEnumTypevalue - The value (in)text - The text (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 | ||||||||