|
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.ColumnDataBinding
An extension of DataBinding that further allows binding to a particular column
This is an abstract class and is further extended to either (as of this writing) by FieldDataBinding which allows one to bind to the current of the bound column and ColumnDataBinding which allows you to bind to the whole column of the current table of the particular meta-data level.
Field Summary | |
protected String |
column_name
|
protected int |
column_type
|
Fields inherited from class com.klg.jclass.datasource.util.DataBinding |
binding, component, dataBinding, PATH_DELIMITER, SOURCE_DELIMITER |
Constructor Summary | |
ColumnDataBinding(Component component)
|
|
ColumnDataBinding(Component component,
com.klg.jclass.datasource.BindingModel binding,
String column_name)
|
Method Summary | |
String |
getDataBinding()
Returns the data binding hierarchy string, starting from a JCTreeData instance name and containing full sequence of MetaDataModel levels starting from the root to the level the table is bound with and further down to the particular column. |
boolean |
isColumnEditable()
Determines whether the current column can be edited. |
void |
setDataBinding(com.klg.jclass.datasource.BindingModel binding,
String column_name)
Bind to a level using a Binding. |
void |
setDataBinding(com.klg.jclass.datasource.DataModel dataModel,
com.klg.jclass.datasource.MetaDataModel metaDataModel,
String column_name)
Sets up parameters to bind the JCDataSource to a MetaDataModel in the given DataModel. |
void |
setDataBinding(com.klg.jclass.datasource.DataModel dataModel,
String meta_description)
Sets the data source to a DataModel and binds the MetaData and column to the MetaDataModel represented by a "path" of MetaDataModel descriptions separated by '|' (e.g. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int column_type
protected String column_name
Constructor Detail |
public ColumnDataBinding(Component component)
public ColumnDataBinding(Component component, com.klg.jclass.datasource.BindingModel binding, String column_name)
Method Detail |
public String getDataBinding()
getDataBinding
in class DataBinding
NodeProperties.setDataSource(java.lang.Object)
,
getDataBinding()
,
JCTreeData
,
MetaDataModel
public void setDataBinding(com.klg.jclass.datasource.DataModel dataModel, com.klg.jclass.datasource.MetaDataModel metaDataModel, String column_name)
public void setDataBinding(com.klg.jclass.datasource.BindingModel binding, String column_name)
binding
- the binding level.public void setDataBinding(com.klg.jclass.datasource.DataModel dataModel, String meta_description)
This overrides the super class version of this which binds only to a particular meta-data level
setDataBinding
in class DataBinding
public boolean isColumnEditable()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |