public abstract class AbstractTableController extends Object implements ComponentController, CockpitEventAcceptor
| Modifier and Type | Field and Description |
|---|---|
protected ColumnModelListener |
columnModelListener |
protected ListComponentModelListener |
listModelListener |
protected ListViewListener |
listViewListener |
protected MutableTableModel |
model |
protected TableModelListener |
tableModelListener |
protected UIListView |
view |
| Constructor and Description |
|---|
AbstractTableController(MutableTableModel model,
UIListView view) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ColumnModelListener |
createColumnModelListener() |
protected abstract ListComponentModelListener |
createListComponentModelListener() |
protected abstract ListViewListener |
createListViewListener() |
protected abstract TableModelListener |
createTableModelListener() |
protected MutableTableModel |
getModel() |
protected UIListView |
getView() |
void |
initialize()
Initialized this controller i.e.
|
void |
onCockpitEvent(CockpitEvent event) |
protected void |
registerFocusListener() |
protected void |
unregisterFocusListener() |
void |
unregisterListeners()
Removes all references to view components which are held by this controller.
|
protected final MutableTableModel model
protected final UIListView view
protected TableModelListener tableModelListener
protected ListViewListener listViewListener
protected ListComponentModelListener listModelListener
protected ColumnModelListener columnModelListener
public AbstractTableController(MutableTableModel model, UIListView view)
public void initialize()
ComponentControllerinitialize in interface ComponentControllerprotected abstract ListViewListener createListViewListener()
protected abstract TableModelListener createTableModelListener()
protected abstract ListComponentModelListener createListComponentModelListener()
protected abstract ColumnModelListener createColumnModelListener()
public void unregisterListeners()
ComponentControllerunregisterListeners in interface ComponentControllerprotected void registerFocusListener()
protected void unregisterFocusListener()
protected UIListView getView()
protected MutableTableModel getModel()
public void onCockpitEvent(CockpitEvent event)
onCockpitEvent in interface CockpitEventAcceptorCopyright © 2017 SAP SE. All Rights Reserved.