public abstract class AbstractObjectTableModel<T> extends AbstractTableModel implements IObjectTableModel<T>
listenerList| Constructor and Description |
|---|
AbstractObjectTableModel(List<T> objects) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Iterable<T> objects) |
void |
add(T... objects) |
void |
addListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener) |
protected void |
fireObjectsAdded(Iterable<Integer> indeces,
Iterable<T> objects) |
protected void |
fireObjectsChanged(List<T> oldObjects,
List<T> newObjects) |
protected void |
fireObjectsRemoved(Iterable<Integer> indeces,
Iterable<T> objects) |
protected void |
fireObjectsUpdated(Iterable<Integer> indeces,
List<T> oldObjects,
List<T> newObjects) |
Collection<T> |
get(int... indices) |
T |
get(int rowIndex) |
String |
getColumnName(int columnIndex) |
protected List<T> |
getObjects() |
int |
getRowCount() |
int[] |
indices(Iterable<T> objects) |
boolean |
isEmpty() |
void |
remove(int... indices) |
void |
remove(Iterable<T> objects) |
void |
remove(T... objects) |
void |
removeAll() |
void |
removeListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener) |
void |
set(int index,
T object) |
void |
set(Iterable<T> objects) |
void |
set(T... objects) |
int |
size() |
Iterable<T> |
values() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTableModelListener, getColumnClass, getColumnCount, getValueAt, isCellEditable, removeTableModelListener, setValueAtpublic final String getColumnName(int columnIndex)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic int size()
size in interface net.anwiba.commons.model.IListObjectsProvider<T>public void set(T... objects)
set in interface net.anwiba.commons.lang.object.IObjectListReceiver<T>public void set(Iterable<T> objects)
set in interface net.anwiba.commons.lang.object.IObjectListReceiver<T>public void add(T... objects)
add in interface net.anwiba.commons.lang.object.IObjectListReceiver<T>public void add(Iterable<T> objects)
add in interface net.anwiba.commons.lang.object.IObjectListReceiver<T>public void set(int index,
T object)
set in interface net.anwiba.commons.lang.object.IObjectListReceiver<T>public int[] indices(Iterable<T> objects)
indices in interface net.anwiba.commons.model.IListObjectsProvider<T>public void remove(T... objects)
remove in interface net.anwiba.commons.model.IObjectListModel<T>public void remove(Iterable<T> objects)
remove in interface net.anwiba.commons.model.IObjectListModel<T>public void remove(int... indices)
remove in interface net.anwiba.commons.model.IObjectListModel<T>public void removeAll()
removeAll in interface net.anwiba.commons.model.IObjectListModel<T>public Iterable<T> values()
values in interface net.anwiba.commons.model.IListObjectsProvider<T>public boolean isEmpty()
isEmpty in interface net.anwiba.commons.model.IListObjectsProvider<T>public final int getRowCount()
getRowCount in interface TableModelpublic Collection<T> get(int... indices)
get in interface net.anwiba.commons.model.IListObjectsProvider<T>public T get(int rowIndex)
get in interface net.anwiba.commons.model.IListObjectsProvider<T>public final void addListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener)
addListModelListener in interface net.anwiba.commons.model.IListChangedNotifier<T>public final void removeListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener)
removeListModelListener in interface net.anwiba.commons.model.IListChangedNotifier<T>protected final void fireObjectsAdded(Iterable<Integer> indeces, Iterable<T> objects)
protected final void fireObjectsUpdated(Iterable<Integer> indeces, List<T> oldObjects, List<T> newObjects)
Copyright © 2007–2017 Andreas Bartels. All rights reserved.