|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides a single-level, 2-dimensional view of a set of data. It groups all non-update methods and handles read-only events. This interface exists only to provide a logical separation between read-only and non-read-only methods and event handling.
BindingModel
Method Summary | |
void |
addBindingListener(com.klg.jclass.datasource.DataModelListener listener)
Implements DataModel method addDataModelListener. |
Object |
getCell(com.klg.jclass.datasource.DataModelListener originator,
int rowIndex,
int columnIndex)
Get the value in a cell for a specified row. |
Object |
getCell(com.klg.jclass.datasource.DataModelListener originator,
int rowIndex,
String columnName)
Get the value in a cell for a specified row. |
int |
getColumnCount()
Return the number of columns in this table. |
String |
getColumnIdentifier(int colIndex)
Return the name of this column. |
int |
getColumnIndex(String columnName)
Return the index for this column name. |
com.klg.jclass.datasource.ColumnModel |
getColumnObject(String columnName)
|
Object |
getCurrentCell(com.klg.jclass.datasource.DataModelListener originator,
String columnName)
Get the value in a cell for the row currently in focus. |
com.klg.jclass.datasource.DataTableModel |
getCurrentDataTableModel(com.klg.jclass.datasource.DataModelListener originator)
Get the table currently in scope. |
int |
getCurrentRowIndex()
Return the index of the row currently in focus. |
com.klg.jclass.datasource.DataModel |
getDataModel()
Get the data model containing this level. |
String |
getDescription()
Get the name for this level. |
int |
getJavaColumnType(int columnIndex)
Return the MetaDataModel type for this column. |
int |
getJavaColumnType(String columnName)
Return the MetaDataModel type for this column. |
Object |
getListeners()
Returns a list of listeners |
com.klg.jclass.datasource.MetaDataModel |
getMetaDataModel()
Get the meta data model for this level. |
com.klg.jclass.datasource.Binding |
getParent()
Get the parent Binding of this table. |
int |
getRowCount()
Return the number of rows in the table currently in scope. |
boolean |
isDataAvailable()
Return true if data is available from this table. |
boolean |
isOurData(com.klg.jclass.datasource.DataModelEvent e)
Is the event intend for this level? |
boolean |
moveToRowIndex(com.klg.jclass.datasource.DataModelListener originator,
int rowIndex)
Move focus to a new row in the current table. |
void |
removeBindingListener(com.klg.jclass.datasource.DataModelListener listener)
Implements DataModel method removeDataModelListener. |
void |
requeryAll(com.klg.jclass.datasource.DataModelListener originator)
Requery all levels. |
void |
requeryCurrentRow(com.klg.jclass.datasource.DataModelListener originator)
Requery the row currently in focus. |
void |
requeryCurrentRowAndDetails(com.klg.jclass.datasource.DataModelListener originator)
Requery the row currently in focus and its details. |
void |
requeryLevel(com.klg.jclass.datasource.DataModelListener originator)
Requery all rows in the table currently in focus. |
void |
requeryRow(com.klg.jclass.datasource.DataModelListener originator,
int rowIndex)
Requery the specified row. |
void |
requeryRowAndDetails(com.klg.jclass.datasource.DataModelListener originator,
int rowIndex)
Requery a row and its details. |
void |
setDataModel(com.klg.jclass.datasource.DataModel dataModel)
Set the data model for this level. |
void |
setDescription(String name)
Set the name for this level. |
void |
setMetaDataModel(com.klg.jclass.datasource.MetaDataModel metaDataModel)
Set the meta data model for this level. |
Method Detail |
public com.klg.jclass.datasource.DataTableModel getCurrentDataTableModel(com.klg.jclass.datasource.DataModelListener originator) throws DataModelException
originator
- the DataModelListener making this request.
DataModelException
public com.klg.jclass.datasource.MetaDataModel getMetaDataModel()
public void setMetaDataModel(com.klg.jclass.datasource.MetaDataModel metaDataModel)
public com.klg.jclass.datasource.Binding getParent()
public com.klg.jclass.datasource.DataModel getDataModel()
public void setDataModel(com.klg.jclass.datasource.DataModel dataModel)
dataModel
- the data model for this level.public void setDescription(String name)
public String getDescription()
public void addBindingListener(com.klg.jclass.datasource.DataModelListener listener)
public void removeBindingListener(com.klg.jclass.datasource.DataModelListener listener)
public Object getListeners()
public int getRowCount()
public int getColumnCount()
public boolean moveToRowIndex(com.klg.jclass.datasource.DataModelListener originator, int rowIndex) throws DataModelException
originator
- the DataModelListener requesting the move.rowIndex
- the index of the row
DataModelException
public boolean isDataAvailable()
public String getColumnIdentifier(int colIndex)
colIndex
- the int column index.
public int getJavaColumnType(String columnName)
columnName
- the name of the column.
MetaDataModel
public int getJavaColumnType(int columnIndex)
MetaDataModel
public Object getCell(com.klg.jclass.datasource.DataModelListener originator, int rowIndex, int columnIndex) throws DataModelException
originator
- the DataModelListener making the commit request.rowIndex
- the row index.columnIndex
- the column index.
DataModelException
- If get fails.public Object getCell(com.klg.jclass.datasource.DataModelListener originator, int rowIndex, String columnName) throws DataModelException
originator
- the DataModelListener making the commit request.rowIndex
- the row index.columnName
- the column name.
DataModelException
- If get fails.public Object getCurrentCell(com.klg.jclass.datasource.DataModelListener originator, String columnName) throws DataModelException
originator
- the DataModelListener requesting the value.columnName
- the String column name for the column.
DataModelException
- If get fails.public int getCurrentRowIndex()
public void requeryRow(com.klg.jclass.datasource.DataModelListener originator, int rowIndex) throws DataModelException
originator
- the DataModelListener making the requery request.rowIndex
- the row index to be requeried.
DataModelException
public void requeryCurrentRow(com.klg.jclass.datasource.DataModelListener originator) throws DataModelException
originator
- the DataModelListener making the requery request.
DataModelException
public void requeryRowAndDetails(com.klg.jclass.datasource.DataModelListener originator, int rowIndex) throws DataModelException
originator
- the DataModelListener making the requery request.rowIndex
- the row index to be requeried.
DataModelException
public void requeryCurrentRowAndDetails(com.klg.jclass.datasource.DataModelListener originator) throws DataModelException
originator
- the DataModelListener making the requery request.
DataModelException
public void requeryAll(com.klg.jclass.datasource.DataModelListener originator) throws DataModelException
originator
- the DataModelListener making the requery request.
DataModelException
public int getColumnIndex(String columnName)
public void requeryLevel(com.klg.jclass.datasource.DataModelListener originator) throws DataModelException
originator
- the DataModelListener making the requery request.
DataModelException
public boolean isOurData(com.klg.jclass.datasource.DataModelEvent e)
public com.klg.jclass.datasource.ColumnModel getColumnObject(String columnName)
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |