java.lang.Object
javax.swing.table.AbstractTableModel
org.gjt.sp.jedit.browser.VFSDirectoryEntryTableModel
- All Implemented Interfaces:
Serializable,TableModel
- Since:
- jEdit 4.2pre1
- Version:
- $Id: VFSDirectoryEntryTableModel.java 25188 2020-04-11 16:50:00Z kpouer $
- Author:
- Slava Pestov
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidcolumnMoved(int fromIndex, int toIndex) intexpand(VFS vfs, org.gjt.sp.jedit.browser.VFSDirectoryEntryTableModel.Entry entry, List<VFSFile> list) booleanClass<org.gjt.sp.jedit.browser.VFSDirectoryEntryTableModel.Entry> getColumnClass(int col) intgetColumnName(int col) intgetColumnWidth(int index) getExtendedAttribute(int index) VFSFile[]getFiles()intgetSortAttribute(int column) intgetValueAt(int row, int col) voidsaveColumnWidth(int index, int w) voidbooleansortByColumn(int columnIndex) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Constructor Details
-
VFSDirectoryEntryTableModel
public VFSDirectoryEntryTableModel()
-
-
Method Details
-
setRoot
-
expand
-
collapse
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
getValueAt
-
getAscending
public boolean getAscending() -
getSortColumnIndex
public int getSortColumnIndex() -
getSortAttribute
-
sortByColumn
public boolean sortByColumn(int columnIndex) -
getExtendedAttribute
-
getColumnWidth
public int getColumnWidth(int index) - Parameters:
index- The column index- Returns:
- A saved column width
- Since:
- jEdit 4.3pre2
-
saveColumnWidth
public void saveColumnWidth(int index, int w) - Parameters:
index- The column indexw- The column width- Since:
- jEdit 4.3pre2
-
columnMoved
protected void columnMoved(int fromIndex, int toIndex) -
getFiles
-