public class FilterableObjectTableModel<T> extends AbstractTableModel implements IObjectTableModel<T>
listenerList| Constructor and Description |
|---|
FilterableObjectTableModel(IObjectTableModel<T> objectTableModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Iterable<T> objects) |
void |
add(T... objects) |
void |
addListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener) |
Collection<T> |
get(int... indices) |
T |
get(int rowIndex) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
int[] |
indices(Iterable<T> objects) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
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 rowIndex,
T object) |
void |
set(Iterable<T> objects) |
void |
set(T... objects) |
void |
setRowFilter(IRowFilter filter) |
void |
setValueAt(Object value,
int rowIndex,
int columnIndex) |
int |
size() |
Iterable<T> |
values() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTableModelListener, removeTableModelListenerpublic FilterableObjectTableModel(IObjectTableModel<T> objectTableModel)
public void setRowFilter(IRowFilter filter)
public T get(int rowIndex)
get in interface net.anwiba.commons.model.IListObjectsProvider<T>public Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic int getRowCount()
getRowCount in interface TableModelpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object value, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic int[] indices(Iterable<T> objects)
indices in interface net.anwiba.commons.model.IListObjectsProvider<T>public void addListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener)
addListModelListener in interface net.anwiba.commons.model.IListChangedNotifier<T>public void removeListModelListener(net.anwiba.commons.model.IChangeableListListener<T> listener)
removeListModelListener in interface net.anwiba.commons.model.IListChangedNotifier<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 rowIndex,
T object)
set in interface net.anwiba.commons.lang.object.IObjectListReceiver<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 removeAll()
removeAll in interface net.anwiba.commons.model.IObjectListModel<T>public void remove(int... indices)
remove in interface net.anwiba.commons.model.IObjectListModel<T>public 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 Iterable<T> values()
values in interface net.anwiba.commons.model.IListObjectsProvider<T>public Collection<T> get(int... indices)
get in interface net.anwiba.commons.model.IListObjectsProvider<T>public boolean isEmpty()
isEmpty in interface net.anwiba.commons.model.IListObjectsProvider<T>Copyright © 2007–2017 Andreas Bartels. All rights reserved.