JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.datasource
Interface IdeDataTableModel

All Superinterfaces:
DataTableModel
All Known Implementing Classes:
IdeDataTable

public interface IdeDataTableModel
extends DataTableModel

An interface which abstracts common IDE methods.


Field Summary
 
Fields inherited from interface com.klg.jclass.datasource.DataTableModel
COMMITTED, CURSOR_BEFORE_FIRST, DELETED, INSERTED, NONEXISTENT, ROOT_BOOKMARK, ROW_NOT_FOUND, UPDATED
 
Method Summary
 long addRow2(int newRowIndex)
           
 void commitRow2(long bookmark)
           
 void copyTable()
           
 void deleteRow2(long bookmark)
           
 Object[] duplicateRow(int rowIndex)
           
 long getBookmarkFromIdeIndex(int ideIndex)
          Convert between an IDE index and our bookmark.
 Object getCell2(long bookmark, String column)
          Get the current cell value from the IDE, not from cache.
 void requeryFromIdeDataSource()
           
 void setValueAt2(long bookmark, String column, Object newValue)
          Calls super.setValueAt since setValueAt is overridden to call IDE update methods.
 
Methods inherited from interface com.klg.jclass.datasource.DataTableModel
absolute, addRow, addRow, addRow, addRow, afterLast, beforeFirst, cancelAllRowChanges, cancelRowChanges, clearEventQueue, commitAll, commitRow, commitSubTree, conditionallyCommitYourselfAndChildren, createNewRow, createTable, deleteCacheChildren, deleteRow, first, getAncestors, getCurrentBookmark, getCursor, getDeletedRowBookmarks, getInsertedRowBookmarks, getInternalData, getMetaData, getParentBookmark, getResultData, getRootAncestorBookmark, getRowCount, getRowIdentifier, getRowIndex, getRowStatus, getTable, getUpdatedRowBookmarks, getUserData, isAfterLast, isBeforeFirst, isModified, isSubTreeModified, isTableOrChildrenModified, last, moveCursorToRow, moveToRow, next, previous, processEventQueue, relative, requeryLevel, requeryRow, requeryRowAndDetails, requeryTable, setInternalData, setUserData, tableIsAncestor, updateCell
 

Method Detail

getCell2

public Object getCell2(long bookmark,
                       String column)
                throws DataModelException
Get the current cell value from the IDE, not from cache.

Throws:
DataModelException - If the get fails.

setValueAt2

public void setValueAt2(long bookmark,
                        String column,
                        Object newValue)
                 throws DataModelException
Calls super.setValueAt since setValueAt is overridden to call IDE update methods.

Throws:
DataModelException - If set fails.

duplicateRow

public Object[] duplicateRow(int rowIndex)
                      throws DataModelException
DataModelException

deleteRow2

public void deleteRow2(long bookmark)

commitRow2

public void commitRow2(long bookmark)

addRow2

public long addRow2(int newRowIndex)
             throws DataModelException
Throws:
DataModelException - If row can't be added.

copyTable

public void copyTable()

getBookmarkFromIdeIndex

public long getBookmarkFromIdeIndex(int ideIndex)
Convert between an IDE index and our bookmark.


requeryFromIdeDataSource

public void requeryFromIdeDataSource()

Copyright © 2004 Quest Software Inc..
All rights reserved.