|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.systemUI.IComboBoxHookProxy
public class IComboBoxHookProxy
Provides methods to program system provided combo boxes.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IComboBoxHookProxy()
|
|
IComboBoxHookProxy(Object obj)
|
protected |
IComboBoxHookProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
int |
add(String str)
Add an element to the combo box. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
removeListener(String iidStr,
Object theListener)
|
void |
select(int cookie)
Select an Item in the combo box. |
void |
setValue(String value)
Set the value for the edit control. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IComboBoxHookProxy()
public IComboBoxHookProxy(Object obj) throws IOException
IOException
protected IComboBoxHookProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public Object getHook() throws IOException, AutomationException
Returns the hook to the application.
getHook
in interface IComboBoxHook
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int add(String str) throws IOException, AutomationException
Add an item to the combo box.
add
in interface IComboBoxHook
str
- The str (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int cookie) throws IOException, AutomationException
Removes the item that corresponds to the provided cookie.
remove
in interface IComboBoxHook
cookie
- The cookie (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(String value) throws IOException, AutomationException
Sets the string that will show in the editbox.
setValue
in interface IComboBoxHook
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getValue() throws IOException, AutomationException
Gets the string that will show in the editbox.
getValue
in interface IComboBoxHook
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
clear
in interface IComboBoxHook
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void select(int cookie) throws IOException, AutomationException
Selects a combo box item based on the provided cookie.
select
in interface IComboBoxHook
cookie
- The cookie (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSelected() throws IOException, AutomationException
Returns the cookie of the current selected item.
getSelected
in interface IComboBoxHook
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 |