Module jEdit

Class VFSDirectoryEntryTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
org.gjt.sp.jedit.browser.VFSDirectoryEntryTableModel
All Implemented Interfaces:
Serializable, TableModel

public class VFSDirectoryEntryTableModel extends AbstractTableModel
Since:
jEdit 4.2pre1
Version:
$Id: VFSDirectoryEntryTableModel.java 25188 2020-04-11 16:50:00Z kpouer $
Author:
Slava Pestov
See Also:
  • Constructor Details

    • VFSDirectoryEntryTableModel

      public VFSDirectoryEntryTableModel()
  • Method Details

    • setRoot

      public void setRoot(VFS vfs, List<VFSFile> list)
    • expand

      public int expand(VFS vfs, org.gjt.sp.jedit.browser.VFSDirectoryEntryTableModel.Entry entry, List<VFSFile> list)
    • collapse

      public void collapse(VFS vfs, int index)
    • getColumnCount

      public int getColumnCount()
    • getRowCount

      public int getRowCount()
    • getColumnName

      public String getColumnName(int col)
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
    • getColumnClass

      public Class<org.gjt.sp.jedit.browser.VFSDirectoryEntryTableModel.Entry> getColumnClass(int col)
      Specified by:
      getColumnClass in interface TableModel
      Overrides:
      getColumnClass in class AbstractTableModel
    • getValueAt

      public Object getValueAt(int row, int col)
    • getAscending

      public boolean getAscending()
    • getSortColumnIndex

      public int getSortColumnIndex()
    • getSortAttribute

      public String getSortAttribute(int column)
    • sortByColumn

      public boolean sortByColumn(int columnIndex)
    • getExtendedAttribute

      public String getExtendedAttribute(int index)
    • 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 index
      w - The column width
      Since:
      jEdit 4.3pre2
    • columnMoved

      protected void columnMoved(int fromIndex, int toIndex)
    • getFiles

      public VFSFile[] getFiles()