
Specified by: flush in interface ICursor Throws: IOException - If there are interop problems. Specified by: insertRow in interface ICursor Parameters: buffer - A reference to a .IRowBuffer (in)ĪutomationException Flush any outstanding buffered writes to the database. This method should only be called on insert cursors. The object ID of the new Row, if there is one, is returned. Public Object insertRow( IRowBuffer buffer)ĪutomationException Insert a new Row into the database using the property values in the input buffer. Specified by: deleteRow in interface ICursor Throws: IOException - If there are interop problems. To delete a row retrieved from a search cursor, call IRow.Delete on the row itself.
#Arcobjects icursor update#
This should only be called on update cursors. The cursor must be initialized to a row (with the NextRow method) before this method can be successfully called. Specified by: updateRow in interface ICursor Parameters: row - A reference to a .IRow (in)ĪutomationException Delete the existing Row in the database corresponding to the current position of the cursor. This method should only be called on update cursors. Specified by: nextRow in interface ICursor Returns: A reference to a .IRow Throws: IOException - If there are interop problems.ĪutomationException Update the existing Row in the database corresponding to the current position of the cursor. If no rows remain in the result set, this method returns a null value.

To retrieve all rows in a result set containing N rows, the application must make N calls to NextRow. The row object returned is allocated and hydrated by the cursor, and a reference to it is handed to the application. The NextRow method on a search or update cursor returns the next row in the result set to the application. Specified by: getFields in interface ICursor Returns: A reference to a .IFields Throws: IOException - If there are interop problems.ĪutomationException Advance the position of the cursor by one and return the Row object at that position. Throws: IOException - If there are interop problems.ĪutomationException - If the ArcObject component throws an exception.ĪutomationException The Fields Collection for this cursor. I have added a second cursor (.cur) file to my project resources in. The tool has select and measure functionality. Specified by: findField in interface ICursor Parameters: name - The name (in) Is it possible to change the mouse cursor of an ArcMap addin-tool using Arcobjects I have the cursor set in the Config.esriaddinx file, however I would like to change the cursor to reflect the underlying functionality of the tool. If the specified field cannot be found, this method returns a value of -1. Public int hashCode() the hashcode for this objectĪutomationException The index of the field with the specified name. Public boolean equals( Object o) Compare this object with another Throws: IOException - if there are interop problemsĬursor theCursor = (Cursor) obj Method Detail *Ĭursor o = new Cursor(obj) // Use this constructor instead * obj an object returned from ArcGIS Engine or Server This is semantically equivalent to casting obj to Cursor.Ĭasting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects. Throws IOException Construct a Cursor using a reference to such an object returned from ArcGIS Engine or Server. Methods inherited from interface .RemoteObjRef ObjectĬlone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait Update the existing Row in the database corresponding to the current position of the cursor. Insert a new Row into the database using the property values in the input buffer.Īdvance the position of the cursor by one and return the Row object at that position. The index of the field with the specified name.įlush any outstanding buffered writes to the database. Public class Cursor extends Object implements .RemoteObjRef, ICursorĪvailable with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.Ĭonstruct a Cursor using a reference to such an object returned from ArcGIS Engine or Server.ĭelete the existing Row in the database corresponding to the current position of the cursor. void: updateRow(IRow row) Update the existing Row in the database corresponding to the.

IRow: nextRow() Advance the position of the cursor by one and return the Row object at that position. (console.SUMMARY: NESTED | FIELD | CONSTR | METHODĬlass Cursor .Cursor All Implemented Interfaces: ICursor, .RemoteObjRef, Serializable Object: insertRow(IRowBuffer buffer) Insert a new Row into the database using the property values in the input buffer. Unlike other types of HTML inputs, I found it rather surprising that typing into an input of type Number would trigger valueChanges when the input is blurred, as well as clicking on the spinners (the small arrows on the side) would trigger valueChanges twice, is this an expected behavior, or am I missing something?
