|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.tree.DefaultMutableTreeNode
|
+--com.klg.jclass.datasource.DataSourceTreeNode
|
+--com.klg.jclass.datasource.BaseMetaData
|
+--com.klg.jclass.datasource.IdeMetaData
Exploits commonality betwee ides.
| Field Summary | |
static long |
globalBookmarkBeforeLastMove
|
static com.klg.jclass.datasource.DataTableModel |
globalDataTableBeforeLastMove
|
| Fields inherited from class com.klg.jclass.datasource.BaseMetaData |
binding, bufferSize, cacheChildren, columns, commitPolicy, counter, currentBookmark, currentDataTable, dataModel, deletePermissions, description, idxToColumnMap, initialHashtableSize, insertPermissions, maxRows, metaDataID, provider, showDeletedRows, storeClass, updatePermissions |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Fields inherited from interface com.klg.jclass.datasource.MetaDataModel |
COMMIT_LEAVING_ANCESTOR, COMMIT_LEAVING_RECORD, COMMIT_MANUALLY, TYPE_BIG_DECIMAL, TYPE_BOOLEAN, TYPE_BYTE, TYPE_BYTE_ARRAY, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INTEGER, TYPE_LONG, TYPE_OBJECT, TYPE_SHORT, TYPE_SQL_DATE, TYPE_SQL_TIME, TYPE_SQL_TIMESTAMP, TYPE_STRING, TYPE_UTIL_DATE |
| Constructor Summary | |
IdeMetaData(com.klg.jclass.datasource.DataModel dm)
|
|
| Method Summary | |
void |
cleanChildDataSets()
For internal use only. |
protected void |
cleanChildDataSets(com.klg.jclass.datasource.IdeMetaData md)
For internal use only. |
protected boolean |
handledAsSingleLevelBindingMove()
handle the non-heirarchical case where the ide has its data sets linked in master-detail relationships and there are jclass components bound in single-level to each master-detail level. |
void |
handleIDEUpdateCellRequest(com.klg.jclass.datasource.IdeDataTableModel dt,
long bookmark)
We have received an event from the IDE data source telling us that changes applied to a row have been posted. |
void |
navigated(int row)
Responds to navigation events from ide underlying data sources. |
void |
requeryCurrentRowAndBelow(com.klg.jclass.datasource.DataModelListener originator,
com.klg.jclass.datasource.DataTableModel dt)
Requery the current row in this data table and its subtree. |
void |
setCommitPolicy(int commit_policy)
Overrides BaseMetaData.setCommitPolicy to only allow COMMIT_LEAVING_RECORD to be selected. |
void |
turnOffDataModelEvents()
This simply calls dataModel.enableDataModelEvents() but remembers the previous state. |
void |
turnOnDataModelEvents()
If events were originally on turn them back on. |
| Methods inherited from class com.klg.jclass.datasource.DataSourceTreeNode |
getChildren, getFirstChild, getIterator, getIterator, getIterator, getIterator, getLastChild, getNextChild, getPreviousChild, hasChildren, insert, isChildOf, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.klg.jclass.datasource.IdeMetaDataModel |
refreshDataSet |
| Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Field Detail |
public static long globalBookmarkBeforeLastMove
public static com.klg.jclass.datasource.DataTableModel globalDataTableBeforeLastMove
| Constructor Detail |
public IdeMetaData(com.klg.jclass.datasource.DataModel dm)
| Method Detail |
public void navigated(int row)
row - an int which is the row in the ide
public void requeryCurrentRowAndBelow(com.klg.jclass.datasource.DataModelListener originator,
com.klg.jclass.datasource.DataTableModel dt)
originator - the DataModelListener which initiated this actiondt - the DataTableModel for which the current row and
subtree is to be requeried.
public void handleIDEUpdateCellRequest(com.klg.jclass.datasource.IdeDataTableModel dt,
long bookmark)
dt - the IdeDataTableModel in which the change occurredbookmark - a long which uniquely identifies a rowpublic void turnOffDataModelEvents()
public void turnOnDataModelEvents()
public void cleanChildDataSets()
throws DataModelException
DataModelException - If an exception occurs while refreshing the data sets.
protected void cleanChildDataSets(com.klg.jclass.datasource.IdeMetaData md)
throws DataModelException
DataModelException - If an exception occurs while refreshing the data sets.
public void setCommitPolicy(int commit_policy)
throws DataModelException
setCommitPolicy in interface MetaDataModelsetCommitPolicy in class BaseMetaDatacommit_policy - an int, must be COMMIT_LEAVING_RECORD.
DataModelException - If set fails.BaseMetaData.getShowDeletedRows()
protected boolean handledAsSingleLevelBindingMove()
throws Exception
Exception - If an exception occurs while refreshing the data set.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||