|
JClass 4.5.0 API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.datasource.util.DataBinding | +--com.klg.jclass.datasource.util.ColumnDataBinding | +--com.klg.jclass.datasource.util.FieldDataBinding | +--com.klg.jclass.field.db.jbuilder.DataBinding
Field Summary | |
protected boolean |
dataSourceUpdating
|
protected JCFieldComponent |
fieldComponent
|
Fields inherited from class com.klg.jclass.datasource.util.ColumnDataBinding |
column_name,
column_type |
Fields inherited from class com.klg.jclass.datasource.util.DataBinding |
binding,
component,
dataBinding,
PATH_DELIMITER,
SOURCE_DELIMITER |
Constructor Summary | |
DataBinding(JCFieldComponent c,
com.klg.jclass.util.value.JCValueModel model)
|
Method Summary | |
protected String |
convertMetaColumnTypeToClassName(int meta_column_type)
Converts a Meta column Type to a Class name. |
com.klg.jclass.datasource.ColumnModel |
getColumnModel()
|
Class |
getValueClass()
|
String |
getValueClassName()
|
boolean |
isCurrency()
|
boolean |
isDataSourceUpdating()
|
protected void |
refreshCell(Object item)
Implementation of abstract superclass method that updates the component's data contents when the current row changes or the record is modified. |
protected boolean |
saveCell()
Implementation of abstract superclasses method that saves the component's data to the datasource. |
void |
setDataBinding(com.klg.jclass.datasource.BindingModel binding,
String column_name)
Bind using a Binding |
void |
setDataBinding(com.klg.jclass.datasource.DataModel data_model,
com.klg.jclass.datasource.MetaDataModel meta_data_model,
String column_name)
Sets up parameters to bind the JCDataSource to a MetaDataModel in the given DataModel. |
Methods inherited from class com.klg.jclass.datasource.util.FieldDataBinding |
beforeCurrentRowChange,
cellDataChanged,
convertAndSaveItem,
currentRowChanged,
readCurrentCell,
rowDataChanged,
rowDeleted,
rowInserted,
saveItem,
setDataAvailable,
setDataAvailableState,
tableChanged,
toggleDataAvailableState |
Methods inherited from class com.klg.jclass.datasource.util.ColumnDataBinding |
getDataBinding,
isColumnEditable,
setDataBinding |
Methods inherited from class com.klg.jclass.datasource.util.DataBinding |
afterChangeOfRowData,
afterDeleteRow,
afterInsertRow,
afterMoveToCurrentRow,
afterRequeryRowAndDetails,
afterRequeryTable,
afterReset,
beforeCancelAll,
beforeCancelRowChanges,
beforeCommitAll,
beforeCommitConditional,
beforeCommitRow,
beforeDeleteRow,
beforeDeleteTable,
beforeEditCell,
beforeInsertRow,
beforeMoveToCurrentRow,
beforeRequery,
beforeReset,
beginEvents,
checkDataTableChanged,
checkDataTableChanged,
dispose,
endEvents,
finalize,
getBinding,
getComponent,
getCurrentRowIndex,
getJavaColumnType,
getNativeMetaData,
getNumColumns,
getNumRows,
getTableColumnLabel,
handleCancellingBeforeEvents,
handleCheckingAfterEvents,
initialize,
isColumnEditable,
isDataAvailable,
moveToBestRowAfterDelete,
moveToRowIndex,
originatorNavigateRow,
processException,
setDataBinding,
setDataBinding,
setDataBinding,
setDataBindingInternalBegin,
setDataBindingInternalEnd |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected JCFieldComponent fieldComponent
protected boolean dataSourceUpdating
Constructor Detail |
public DataBinding(JCFieldComponent c, com.klg.jclass.util.value.JCValueModel model)
Method Detail |
public boolean isDataSourceUpdating()
public com.klg.jclass.datasource.ColumnModel getColumnModel()
public boolean isCurrency()
public Class getValueClass()
public String getValueClassName()
protected String convertMetaColumnTypeToClassName(int meta_column_type)
public void setDataBinding(com.klg.jclass.datasource.DataModel data_model, com.klg.jclass.datasource.MetaDataModel meta_data_model, String column_name)
public void setDataBinding(com.klg.jclass.datasource.BindingModel binding, String column_name)
protected void refreshCell(Object item)
protected boolean saveCell()
|
Copyright© 1999-2000 KL Group Inc. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |