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, removeTableModelListenerprotected 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 TableModelgetColumnClass in class AbstractTableModelpublic String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic FileObject getEntry(int rowIndex)
public int getRowCount()
public Object getValueAt(int row, int column)
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object value, int row, int column)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic void fireRowChanged(int row)
public void fireFileChanged(FileObject file)
protected void updateMappings()
Copyright © 2014–2022 ImageJ. All rights reserved.