public class TableBinding extends BindingBase
| Modifier and Type | Field and Description |
|---|---|
protected Class[] |
columnClass |
protected BindingExpression[] |
columns |
protected boolean[] |
editableState |
protected String[] |
headers |
static String |
ITEM_VAR
A variable exposed in the context of set/get cell value.
|
protected List |
list |
protected JTable |
table |
checkingForValueChange, context, delegate, expression, modelUpdateDisabled, usingNullForEmptyStrings| Constructor and Description |
|---|
TableBinding(JTable table,
String listBinding,
String[] headers,
BindingExpression[] columns,
Class[] columnClass,
boolean[] editableState,
Object[] sampleLongValues) |
| Modifier and Type | Method and Description |
|---|---|
Component |
getView() |
protected void |
resizeColumns(Object[] sampleLongValues) |
void |
setContext(Object object) |
void |
updateView() |
getContext, getDelegate, getExpression, getValue, isCheckingForValueChange, isUsingNullForEmptyStrings, processException, setCheckingForValueChange, setDelegate, setUsingNullForEmptyStrings, setValuepublic static final String ITEM_VAR
protected JTable table
protected String[] headers
protected BindingExpression[] columns
protected boolean[] editableState
protected Class[] columnClass
protected List list
protected void resizeColumns(Object[] sampleLongValues)
public void setContext(Object object)
setContext in interface ObjectBindingsetContext in class BindingBasepublic Component getView()
public void updateView()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.