R - type of a rowM - type of the ui modelpublic abstract class AbstractTuttiTableUIHandler<R extends AbstractTuttiBeanUIModel,M extends AbstractTuttiTableUIModel<?,R,M>> extends AbstractTuttiUIHandler<M>
context| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTuttiTableUIHandler(TuttiUIContext context,
String... properties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBooleanColumnToModel(TableColumnModel model,
ColumnIdentifier<R> identifier,
JTable table) |
protected void |
addColumnToModel(TableColumnModel model,
ColumnIdentifier<R> identifier) |
protected void |
addColumnToModel(TableColumnModel model,
TableCellEditor editor,
TableCellRenderer renderer,
ColumnIdentifier<R> identifier) |
protected <B> void |
addComboDataColumnToModel(TableColumnModel model,
ColumnIdentifier<R> identifier,
org.nuiton.util.decorator.Decorator<B> decorator,
List<B> data) |
protected void |
addFloatColumnToModel(TableColumnModel model,
ColumnIdentifier<R> identifier,
String numberPattern) |
protected void |
addIntegerColumnToModel(TableColumnModel model,
ColumnIdentifier<R> identifier,
String numberPattern) |
protected abstract TableColumnModel |
createTableColumnModel() |
protected TuttiBeanMonitor<R> |
getRowMonitor() |
protected String[] |
getRowPropertiesToIgnore() |
protected abstract org.jdesktop.swingx.JXTable |
getTable() |
protected abstract AbstractTuttiTableModel<R> |
getTableModel() |
protected KeyListener |
installTableKeyListener(TableColumnModel columnModel,
JTable table) |
protected void |
listenRowsFromModel() |
protected <O> TableCellRenderer |
newTableCellRender(Class<O> type) |
protected <O> TableCellRenderer |
newTableCellRender(Class<O> type,
String name) |
protected <O> TableCellRenderer |
newTableCellRender(org.nuiton.util.decorator.Decorator<O> decorator) |
protected void |
onModelRowsChanged(List<R> rows) |
protected abstract void |
onRowModified(R row,
String propertyName,
Object oldValue,
Object newValue) |
protected abstract void |
onRowModifyStateChanged(R row,
Boolean oldValue,
Boolean newValue) |
protected abstract void |
onRowValidStateChanged(R row,
Boolean oldValue,
Boolean newValue) |
afterInitUI, beforeInitUI, getConfig, getContext, getDecorator, getModel, initBeanComboBox, initBeanList, initDatePicker, initNumberEditor, initTimeEditor, initUI, listenValidatorValid, listModelIsModify, newListCellRender, newListCellRender, newListCellRender, onCloseUI, selectListData, setBoolean, setDate, setText, updateIndicesprotected AbstractTuttiTableUIHandler(TuttiUIContext context, String... properties)
protected abstract org.jdesktop.swingx.JXTable getTable()
protected abstract AbstractTuttiTableModel<R> getTableModel()
protected abstract TableColumnModel createTableColumnModel()
protected abstract void onRowModified(R row, String propertyName, Object oldValue, Object newValue)
protected abstract void onRowValidStateChanged(R row, Boolean oldValue, Boolean newValue)
protected abstract void onRowModifyStateChanged(R row, Boolean oldValue, Boolean newValue)
protected String[] getRowPropertiesToIgnore()
protected KeyListener installTableKeyListener(TableColumnModel columnModel, JTable table)
protected void addColumnToModel(TableColumnModel model, TableCellEditor editor, TableCellRenderer renderer, ColumnIdentifier<R> identifier)
protected void addColumnToModel(TableColumnModel model, ColumnIdentifier<R> identifier)
protected void addFloatColumnToModel(TableColumnModel model, ColumnIdentifier<R> identifier, String numberPattern)
protected void addIntegerColumnToModel(TableColumnModel model, ColumnIdentifier<R> identifier, String numberPattern)
protected void addBooleanColumnToModel(TableColumnModel model, ColumnIdentifier<R> identifier, JTable table)
protected <B> void addComboDataColumnToModel(TableColumnModel model, ColumnIdentifier<R> identifier, org.nuiton.util.decorator.Decorator<B> decorator, List<B> data)
protected void listenRowsFromModel()
protected <O> TableCellRenderer newTableCellRender(Class<O> type)
protected <O> TableCellRenderer newTableCellRender(Class<O> type, String name)
protected <O> TableCellRenderer newTableCellRender(org.nuiton.util.decorator.Decorator<O> decorator)
protected TuttiBeanMonitor<R> getRowMonitor()
Copyright © 2012 Ifremer. All Rights Reserved.