public class LsmImageTableModel extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
String[] |
columnTitles |
ArrayList<File> |
files |
listenerList
Constructor and Description |
---|
LsmImageTableModel() |
LsmImageTableModel(ArrayList<File> files) |
Modifier and Type | Method and Description |
---|---|
void |
addFile(File file) |
Class<String> |
getColumnClass(int col) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
File |
getFileAt(int row,
int col) |
ArrayList<File> |
getFiles() |
int |
getRowCount() |
Object |
getValueAt(int row,
int col) |
void |
insertFile(Object object,
int row,
int col) |
void |
removeAllFiles() |
void |
removeFile(int index) |
void |
removeFile(int row,
int col) |
void |
setFileAt(File file,
int row,
int col) |
void |
setValueAt(Object object,
int row,
int col) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener
public int getRowCount()
public int getColumnCount()
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Object getValueAt(int row, int col)
public Class<String> getColumnClass(int col)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public void addFile(File file)
public void removeFile(int index)
public void removeFile(int row, int col)
public void removeAllFiles()
public void setValueAt(Object object, int row, int col)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public void insertFile(Object object, int row, int col)
public void setFileAt(File file, int row, int col)
public File getFileAt(int row, int col)
Copyright © 2015–2021 Fiji. All rights reserved.