|
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 | +--com.klg.jclass.datasource.util.DataBinding | +--com.klg.jclass.datasource.util.NavigatorDataBinding
An abstract class extending DataBinding with data manipulation functionality.
Field Summary |
Fields inherited from class com.klg.jclass.datasource.util.DataBinding |
binding, component, dataBinding, PATH_DELIMITER, SOURCE_DELIMITER |
Constructor Summary | |
NavigatorDataBinding(Component component)
Creates a new NavigatorDataBinding object for the the given componenet. |
|
NavigatorDataBinding(Component component,
com.klg.jclass.datasource.Binding binding)
Creates a new NavigatorDataBinding object which has to bind the componenet to the given data model and metadata level. |
Method Summary | |
boolean |
addRow()
Inserts a new row into the data source and moved the data source current row to the end of the table. |
boolean |
cancelAll()
Recursively cancels all uncommited rows. |
boolean |
cancelRow()
Cancels all the changes made for the current row in the data source. |
boolean |
cancelRows(int row,
int number)
Cancels all the changes made for the specified number of rows starting with given row index in the data source. |
boolean |
commitAll()
Commits all the changes made in the data source. |
boolean |
commitRow()
Commits all the changes made for the current row in the data source. |
boolean |
commitRows(int row,
int number)
Commits all the changes made for the specified number of rows starting with given row index in the data source. |
boolean |
deleteRow()
Deletes current row from the data source. |
boolean |
deleteRows(int row,
int number)
Deletes specified number of rows starting with given row index from the data source. |
Object |
getResultData(int row,
int column)
Returns the value for the specified location. |
int |
getRowStatus(int row)
Returns the status of the row. |
Object |
getTableRowLabel(int row)
Returns the value for the row label at the specified row. |
boolean |
isAvailable()
Returns true if the component is bound to the datasource and data are available. |
boolean |
isEnabled()
Returns true if the component is bound to the datasource. |
boolean |
isRowModified(int row)
Returns true if the row has been modified. |
boolean |
requeryAll()
Requeries all data tables in the data source. |
boolean |
requeryLevel()
Requeries a level if the data source table is available or all otherwise. |
boolean |
requeryRow()
Requeries the current row in the data source. |
boolean |
requeryRowAndDetails()
Requeries the current row and detail tables in the data source. |
boolean |
requeryRows(int row,
int number)
Requeries specified number of rows starting with given row index in the data source. |
boolean |
requeryRowsAndDetails(int row,
int number)
Requeries rows and detail tables for specified number of rows starting with given row index from the data source. |
protected void |
setDataAvailable(boolean state)
Called whenever the DataTableModel changes to an invalid or valid state. |
boolean |
updateCell(Object value,
int row,
int column)
Set the value in the data source. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NavigatorDataBinding(Component component)
component
- data-aware component instancepublic NavigatorDataBinding(Component component, com.klg.jclass.datasource.Binding binding)
component
- data-aware component instanceMethod Detail |
public boolean addRow()
public boolean deleteRow()
public boolean deleteRows(int row, int number)
public boolean requeryRow()
public boolean requeryRows(int row, int number)
public boolean requeryRowAndDetails()
public boolean requeryRowsAndDetails(int row, int number)
public boolean requeryAll()
public boolean cancelRow()
public boolean cancelRows(int row, int number)
public boolean cancelAll()
public boolean commitRow()
public boolean commitRows(int row, int number)
public boolean commitAll()
public Object getTableRowLabel(int row)
public Object getResultData(int row, int column)
public boolean updateCell(Object value, int row, int column)
public boolean isRowModified(int row)
public int getRowStatus(int row)
public boolean requeryLevel()
protected void setDataAvailable(boolean state)
setDataAvailable
in class DataBinding
public boolean isEnabled()
public boolean isAvailable()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |