Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gjt.sp.jedit.browser
Class VFSDirectoryEntryTableModel  view VFSDirectoryEntryTableModel download VFSDirectoryEntryTableModel.java

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

public class VFSDirectoryEntryTableModel
extends javax.swing.table.AbstractTableModel

Since:
jEdit 4.2pre1
Version:
$Id: VFSDirectoryEntryTableModel.java,v 1.8 2003/05/29 19:02:56 spestov Exp $

Nested Class Summary
(package private) static class VFSDirectoryEntryTableModel.Entry
           
(package private) static class VFSDirectoryEntryTableModel.ExtendedAttribute
           
 
Field Summary
private  java.util.List extAttrs
           
(package private)  VFSDirectoryEntryTableModel.Entry[] files
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
VFSDirectoryEntryTableModel()
           
 
Method Summary
private  void addExtendedAttributes(org.gjt.sp.jedit.io.VFS vfs)
           
 void collapse(org.gjt.sp.jedit.io.VFS vfs, int index)
           
 int expand(org.gjt.sp.jedit.io.VFS vfs, VFSDirectoryEntryTableModel.Entry entry, java.util.ArrayList list)
           
 java.lang.Class getColumnClass(int col)
          Returns the Class for all Object instances in the specified column.
 int getColumnCount()
          Returns the number of columns in the model.
 java.lang.String getColumnName(int col)
          Returns the name of the specified column.
 java.lang.String getExtendedAttribute(int index)
           
 int getRowCount()
          Returns the number of rows in the model.
 java.lang.Object getValueAt(int row, int col)
          Returns the value (Object) at a particular cell in the table.
private  void removeExtendedAttributes(org.gjt.sp.jedit.io.VFS vfs)
           
 void setRoot(org.gjt.sp.jedit.io.VFS vfs, java.util.ArrayList list)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

files

VFSDirectoryEntryTableModel.Entry[] files

extAttrs

private java.util.List extAttrs
Constructor Detail

VFSDirectoryEntryTableModel

public VFSDirectoryEntryTableModel()
Method Detail

setRoot

public void setRoot(org.gjt.sp.jedit.io.VFS vfs,
                    java.util.ArrayList list)

expand

public int expand(org.gjt.sp.jedit.io.VFS vfs,
                  VFSDirectoryEntryTableModel.Entry entry,
                  java.util.ArrayList list)

collapse

public void collapse(org.gjt.sp.jedit.io.VFS vfs,
                     int index)

getColumnCount

public int getColumnCount()
Description copied from interface: javax.swing.table.TableModel
Returns the number of columns in the model.


getRowCount

public int getRowCount()
Description copied from interface: javax.swing.table.TableModel
Returns the number of rows in the model.


getColumnName

public java.lang.String getColumnName(int col)
Description copied from class: javax.swing.table.AbstractTableModel
Returns the name of the specified column. This method generates default names in a sequence (starting with column 0): A, B, C, ..., Z, AA, AB, AC, ..., AZ, BA, BB, BC, and so on. Subclasses may override this method to allow column names to be specified on some other basis.


getColumnClass

public java.lang.Class getColumnClass(int col)
Description copied from class: javax.swing.table.AbstractTableModel
Returns the Class for all Object instances in the specified column.


getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Description copied from interface: javax.swing.table.TableModel
Returns the value (Object) at a particular cell in the table.


getExtendedAttribute

public java.lang.String getExtendedAttribute(int index)

addExtendedAttributes

private void addExtendedAttributes(org.gjt.sp.jedit.io.VFS vfs)

removeExtendedAttributes

private void removeExtendedAttributes(org.gjt.sp.jedit.io.VFS vfs)