|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IComboBoxHook
Provides methods to program system provided combo boxes.
| Method Summary | |
|---|---|
int |
add(String str)
Add an element to the combo box. |
void |
clear()
Clear the combo box of all items. |
Object |
getHook()
Get Application hook. |
int |
getSelected()
GetThe currently selected item in the combo box. |
String |
getValue()
Set the value for the edit control. |
void |
remove(int cookie)
Remove an element from the combo box. |
void |
select(int cookie)
Select an Item in the combo box. |
void |
setValue(String value)
Set the value for the edit control. |
| Method Detail |
|---|
Object getHook()
throws IOException,
AutomationException
Returns the hook to the application.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int add(String str)
throws IOException,
AutomationException
Add an item to the combo box.
str - The str (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void remove(int cookie)
throws IOException,
AutomationException
Removes the item that corresponds to the provided cookie.
cookie - The cookie (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setValue(String value)
throws IOException,
AutomationException
Sets the string that will show in the editbox.
value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getValue()
throws IOException,
AutomationException
Gets the string that will show in the editbox.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void clear()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void select(int cookie)
throws IOException,
AutomationException
Selects a combo box item based on the provided cookie.
cookie - The cookie (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getSelected()
throws IOException,
AutomationException
Returns the cookie of the current selected item.
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 | ||||||||