Interface IInsertHandler


public interface IInsertHandler
Interface IInsertHandler. An interface for objects that can handle requests to insert a new object into a collection being edited by a CompositeTable.
  • Method Summary

    Modifier and Type Method Description
    int insert​(int positionHint)
    Method insert.
  • Method Details

    • insert

      int insert​(int positionHint)
      Method insert. Requests that the receiver insert object(s) making up a new row at the specified position. The receiver returns the actual position where the insert occured (that doesn't have to be the same as the requested position).
      Parameters:
      positionHint - The user's current position in the user interface relative to the beginning of the collection (0-based).
      Returns:
      the actual position of the new object or -1 if a new object could not be inserted.