public abstract class AbstractTableModel extends Object implements TableModel
| Modifier and Type | Field and Description |
|---|---|
protected List<TableModelListener> |
listeners |
| Constructor and Description |
|---|
AbstractTableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTableModelListener(TableModelListener listener)
Registers
listener with this table model if it is not already registered. |
protected void |
fireCellChanged(int colIndex,
int rowIndex)
Notifies any registered
TableModelListeners that a cell's value has changed. |
void |
fireEvent(String eventName,
Object value)
This method provides the means necessary to fire generic events which are received by any registered
TableModelListener. |
protected void |
fireSelectionChanged(List<Integer> colIndexes,
List<Integer> rowIndexes)
Notifies any registered
TableModelListeners that the selection has changed. |
protected UIAccessRightService |
getUIAccessRightService() |
void |
removeTableModelListener(TableModelListener listener)
Unregisters
listener with this table model if it is registered. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCellEditor, getCellRenderer, getColumnComponentModel, getListComponentModel, getNewInlineItemRenderer, getValueAt, isCellEditable, isCellSelectable, isCellSelectedprotected List<TableModelListener> listeners
public void addTableModelListener(TableModelListener listener)
listener with this table model if it is not already registered.addTableModelListener in interface TableModellistener - the TableModelListener to registerpublic void removeTableModelListener(TableModelListener listener)
listener with this table model if it is registered.removeTableModelListener in interface TableModellistener - the TableModelListener to unregisterprotected void fireSelectionChanged(List<Integer> colIndexes, List<Integer> rowIndexes)
TableModelListeners that the selection has changed.colIndexes - indexes of the currently selected columnsrowIndexes - indexes of the currently selected rowsprotected void fireCellChanged(int colIndex,
int rowIndex)
TableModelListeners that a cell's value has changed.colIndex - zero based column position index of the changed cellrowIndex - zero based row position index of the changed cellpublic void fireEvent(String eventName, Object value)
TableModelTableModelListener.fireEvent in interface TableModeleventName - name of eventvalue - attached valueprotected UIAccessRightService getUIAccessRightService()
Copyright © 2017 SAP SE. All Rights Reserved.