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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
columnMoved
(int fromIndex, int toIndex) int
expand
(VFS vfs, org.gjt.sp.jedit.browser.VFSDirectoryEntryTableModel.Entry entry, List<VFSFile> list) boolean
Class<org.gjt.sp.jedit.browser.VFSDirectoryEntryTableModel.Entry>
getColumnClass
(int col) int
getColumnName
(int col) int
getColumnWidth
(int index) getExtendedAttribute
(int index) VFSFile[]
getFiles()
int
getSortAttribute
(int column) int
getValueAt
(int row, int col) void
saveColumnWidth
(int index, int w) void
boolean
sortByColumn
(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:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in 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
-