public class ResourceTableModel
extends uk.ac.starlink.util.gui.ArrayTableModel
RegResource
.Constructor | Description |
---|---|
ResourceTableModel() |
Constructs a ResourceTableModel with no AccessRef column.
|
ResourceTableModel(boolean includeAcref) |
Constructs a ResourceTableModel with an optional AccessRef column.
|
Modifier and Type | Method | Description |
---|---|---|
RegResource[] |
getResources() |
Returns the data array for this table.
|
void |
setResources(RegResource[] resources) |
Sets the data for this table.
|
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 © 2018 Central Laboratory of the Research Councils. All Rights Reserved.