public class DirectoryTableModel extends Object implements TableModel
| Constructor and Description |
|---|
DirectoryTableModel(File directory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTableModelListener(TableModelListener tableModelListener) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
File |
getDirectory() |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeTableModelListener(TableModelListener tableModelListener) |
void |
setDirectory(File directory) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
public DirectoryTableModel(File directory)
public File getDirectory()
public void setDirectory(File directory)
public int getRowCount()
getRowCount in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelpublic Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelpublic void addTableModelListener(TableModelListener tableModelListener)
addTableModelListener in interface TableModelpublic void removeTableModelListener(TableModelListener tableModelListener)
removeTableModelListener in interface TableModelCopyright © 2017. All rights reserved.