org.xnap.gui.table
Class LibraryTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.xnap.gui.table.AbstractSortableTableModel
org.xnap.gui.table.AbstractColumnTableModel
org.xnap.gui.table.LibraryTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel, ColumnModel, SortableModel
public class LibraryTableModel
- extends AbstractColumnTableModel
Table model which displays repository files in its columns.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class org.xnap.gui.table.AbstractSortableTableModel |
compare, compareRowsByColumn, fireTableChanged, getSortedColumn, getValueAt, isSortedAscending, mapToDtmIndex, mapToIndex, n2sort, reallocateIndexes, reallocateIndexes, resort, set, setMaintainSortOrder, setSortedAscending, shuttlesort, sort, sortByColumn, swap |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final int NAME
- See Also:
- Constant Field Values
FULLNAME
public static final int FULLNAME
- See Also:
- Constant Field Values
PATH
public static final int PATH
- See Also:
- Constant Field Values
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
MODIFIED
public static final int MODIFIED
- See Also:
- Constant Field Values
INFO
public static final int INFO
- See Also:
- Constant Field Values
columns
protected Column[] columns
LibraryTableModel
public LibraryTableModel()
add
public void add(java.io.File f)
add
public void add(java.io.File[] list)
addFile
public void addFile(java.io.File file)
delete
public boolean delete(java.io.File f)
clear
public void clear()
get
public java.io.File get(int i)
getRowCount
public int getRowCount()
get
public java.lang.Object get(int i,
int j)
- Specified by:
get
in class AbstractSortableTableModel
getTableName
public java.lang.String getTableName()
getTotalSize
public long getTotalSize()
isCellEditable
public boolean isCellEditable(int row,
int column)
- Specified by:
isCellEditable
in interface javax.swing.table.TableModel
- Overrides:
isCellEditable
in class AbstractSortableTableModel
remove
public void remove(int i)
setCellEditable
public void setCellEditable(int row,
int column)
setValueAt
public void setValueAt(java.lang.Object obj,
int row,
int column)
- Specified by:
setValueAt
in interface javax.swing.table.TableModel
- Overrides:
setValueAt
in class AbstractSortableTableModel
Copyright © 2001-2005 XNap Team. All Rights Reserved.