|
|||||||||
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.system.IDoubleArrayProxy
public class IDoubleArrayProxy
Provides access to members that control double arrays.
The IDoubleArray interface provides methods and properties for inserting, removing and accessing elements in a DoubleArray via a zero-based index.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IDoubleArrayProxy()
|
|
IDoubleArrayProxy(Object obj)
|
protected |
IDoubleArrayProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
add(double element)
Adds an element to the array. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getCount()
The number of elements in the array. |
double |
getElement(int index)
An element from the array. |
void |
insert(int index,
double element)
Inserts an element to the array. |
void |
remove(int index)
Removes an element from the array. |
void |
removeAll()
Removes all elements from the array. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setElement(int index,
double pElement)
An element from the array. |
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 IDoubleArrayProxy()
public IDoubleArrayProxy(Object obj) throws IOException
IOException
protected IDoubleArrayProxy(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 int getCount() throws IOException, AutomationException
Returns the number of elements in the array.
getCount
in interface IDoubleArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws IOException, AutomationException
Removes 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 IDoubleArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
Removes all of the elements from the array.
removeAll
in interface IDoubleArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getElement(int index) throws IOException, AutomationException
getElement
in interface IDoubleArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setElement(int index, double pElement) throws IOException, AutomationException
setElement
in interface IDoubleArray
index
- The index (in)pElement
- The pElement (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(double element) throws IOException, AutomationException
Adds the element to the end of the array.
add
in interface IDoubleArray
element
- The element (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int index, double element) throws IOException, AutomationException
Adds 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 IDoubleArray
index
- The index (in)element
- The element (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 |