java.io.Serializable
, javax.swing.table.TableModel
public class CRCollection
extends javax.swing.table.AbstractTableModel
ComposedReferences
und
ist zugleich ein TableModel.Constructor | Description |
---|---|
CRCollection() |
|
CRCollection(java.util.List<ComposedReference> composedReferences) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(ComposedReference composedReference) |
|
void |
clear() |
|
boolean |
contains(ComposedReference reference) |
|
ComposedReference |
get(int index) |
|
int |
getColumnCount() |
|
java.lang.String |
getColumnName(int columnIndex) |
|
java.util.List<ComposedReference> |
getComposedReferences() |
|
int |
getRowCount() |
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
|
boolean |
isEmpty() |
|
boolean |
moveUpwards(int[] indices) |
Diese Methode ändert die Reihenfolge der EOR.
|
boolean |
remove(ComposedReference composedReference) |
|
int |
size() |
|
java.lang.String |
toString() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public CRCollection()
public CRCollection(java.util.List<ComposedReference> composedReferences)
public boolean add(ComposedReference composedReference)
public boolean remove(ComposedReference composedReference)
public boolean moveUpwards(int[] indices)
indices
- Indizespublic ComposedReference get(int index)
public int size()
public boolean isEmpty()
public void clear()
public java.util.List<ComposedReference> getComposedReferences()
public boolean contains(ComposedReference reference)
public int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
@Nullable public java.lang.Object getValueAt(int rowIndex, int columnIndex)
public java.lang.String toString()
toString
in class java.lang.Object