protected class FileTable.FileTableModel extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
protected Map<FileObject,Integer> |
fileToRow |
protected List<FileObject> |
rowToFile |
listenerList
Constructor and Description |
---|
FileTableModel(FilesCollection files) |
Modifier and Type | Method and Description |
---|---|
void |
fireFileChanged(FileObject file) |
void |
fireRowChanged(int row) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int column) |
FileObject |
getEntry(int rowIndex) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
setFiles(FilesCollection files) |
void |
setFiles(Iterable<FileObject> files) |
void |
setValueAt(Object value,
int row,
int column) |
protected void |
updateMappings() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
protected Map<FileObject,Integer> fileToRow
protected List<FileObject> rowToFile
public FileTableModel(FilesCollection files)
public void setFiles(Iterable<FileObject> files)
public void setFiles(FilesCollection files)
public int getColumnCount()
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public FileObject getEntry(int rowIndex)
public int getRowCount()
public Object getValueAt(int row, int column)
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void setValueAt(Object value, int row, int column)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public void fireRowChanged(int row)
public void fireFileChanged(FileObject file)
protected void updateMappings()
Copyright © 2014–2022 ImageJ. All rights reserved.