protected class SourceEditor.ActiveSourcesModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
private List<SourceEntry> |
data |
private DefaultListSelectionModel |
selectionModel |
listenerList| Constructor and Description |
|---|
ActiveSourcesModel(DefaultListSelectionModel selectionModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtendedSourceEntries(List<SourceEditor.ExtendedSourceEntry> sources) |
void |
addSource(SourceEntry entry) |
boolean |
canMove(int i) |
Class<?> |
getColumnClass(int column) |
int |
getColumnCount() |
int |
getRowCount() |
List<SourceEntry> |
getSources() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
move(int i) |
void |
removeIdxs(Collection<Integer> idxs) |
void |
removeSelected() |
void |
setActiveSources(Collection<? extends SourceEntry> sources) |
void |
setValueAt(Object aValue,
int row,
int column) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListenerprivate List<SourceEntry> data
private DefaultListSelectionModel selectionModel
public ActiveSourcesModel(DefaultListSelectionModel selectionModel)
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic Class<?> getColumnClass(int column)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic void setValueAt(Object aValue, int row, int column)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic void setActiveSources(Collection<? extends SourceEntry> sources)
public void addSource(SourceEntry entry)
public void removeSelected()
public void removeIdxs(Collection<Integer> idxs)
public void addExtendedSourceEntries(List<SourceEditor.ExtendedSourceEntry> sources)
public List<SourceEntry> getSources()
public boolean canMove(int i)
public void move(int i)