|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.system.IStringArrayProxy
Provides access to members that control string arrays.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IStringArrayProxy()
For internal use only |
|
IStringArrayProxy(java.lang.Object obj)
|
protected |
IStringArrayProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IStringArrayProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IStringArrayProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
add(java.lang.String element)
Add an element. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
int |
getCount()
The element count. |
java.lang.String |
getElement(int index)
An element in the array. |
void |
insert(int index,
java.lang.String element)
Add an element at the specified posiiton. |
void |
remove(int index)
Removes element at the specified position. |
void |
removeAll()
Removes all elements. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
setElement(int index,
java.lang.String element)
An element in the array. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public IStringArrayProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IStringArrayProxy()
public IStringArrayProxy(java.lang.Object obj)
throws java.io.IOException
protected IStringArrayProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IStringArrayProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the events
java.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the events
java.io.IOException
public int getCount()
throws java.io.IOException,
AutomationException
IStringArrayReturns the number of elements in the array.
getCount in interface IStringArrayAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getElement(int index)
throws java.io.IOException,
AutomationException
IStringArrayReturns or sets the element at the specified index in the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.
getElement in interface IStringArrayindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setElement(int index,
java.lang.String element)
throws java.io.IOException,
AutomationException
IStringArray
setElement in interface IStringArrayindex - The index (in)element - The element (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void remove(int index)
throws java.io.IOException,
AutomationException
IStringArrayRemoves the element at the specified index from the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.
remove in interface IStringArrayindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAll()
throws java.io.IOException,
AutomationException
IStringArrayRemoves all of the elements from the array.
removeAll in interface IStringArrayjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void add(java.lang.String element)
throws java.io.IOException,
AutomationException
IStringArrayAdds the element to the end of the array.
add in interface IStringArrayelement - The element (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void insert(int index,
java.lang.String element)
throws java.io.IOException,
AutomationException
IStringArrayAdds the element to the array at the specified index. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.
insert in interface IStringArrayindex - The index (in)element - The element (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 | |||||||||