public class ResourceTableModel extends ArrayTableModel<RegResource>
RegResource
.listenerList
Constructor and Description |
---|
ResourceTableModel()
Constructs a ResourceTableModel with no AccessRef column.
|
ResourceTableModel(boolean includeAcref)
Constructs a ResourceTableModel with an optional AccessRef column.
|
Modifier and Type | Method and Description |
---|---|
RegResource[] |
getResources()
Returns the data array for this table.
|
void |
setResources(RegResource[] resources)
Sets the data for this table.
|
getColumnClass, getColumnCount, getColumnName, getColumns, getItems, getRowCount, getValueAt, setColumns, setItems, sortByColumn
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public ResourceTableModel()
public ResourceTableModel(boolean includeAcref)
includeAcref
is set true, a column is added for
this information, and it's populated only in the cases where
a 1:1 relationship does actually hold.includeAcref
- true if the access ref column is to be includedpublic void setResources(RegResource[] resources)
resources
- resource arraypublic RegResource[] getResources()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.