|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that return and modify coded value domain values.
| Method Summary | |
void |
addCode(java.lang.Object value,
java.lang.String name)
Adds a (value, name) code. |
void |
deleteCode(java.lang.Object value)
Deletes a code with the specified value. |
int |
getCodeCount()
The number of codes for the associated attribute. |
java.lang.String |
getName(int index)
The code name for the specified code index. |
java.lang.Object |
getValue(int index)
The value for the specified code index. |
| Method Detail |
public int getCodeCount()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName(int index)
throws java.io.IOException,
AutomationException
index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getValue(int index)
throws java.io.IOException,
AutomationException
The Object type returned depends on the field type which can be determined by calling IDomain::FieldType.
index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addCode(java.lang.Object value,
java.lang.String name)
throws java.io.IOException,
AutomationException
value - A Variant (in)name - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteCode(java.lang.Object value)
throws java.io.IOException,
AutomationException
value - A Variant (in)
java.io.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 | |||||||||