org.xnap.plugin.viewer.zipviewer
Class ZipFileTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.xnap.gui.table.AbstractSortableTableModel
          extended by org.xnap.gui.table.AbstractColumnTableModel
              extended by org.xnap.plugin.viewer.zipviewer.ZipFileTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel, ColumnModel, SortableModel

public class ZipFileTableModel
extends AbstractColumnTableModel

See Also:
Serialized Form

Field Summary
protected  Column[] columns
           
static int COMPRESSED_SIZE
           
static int CRC
           
static int FILE_NAME
           
static int RATIO
           
static int SIZE
           
static int TIME
           
 
Fields inherited from class org.xnap.gui.table.AbstractSortableTableModel
ascending, compares, indexes, lastSortedColumn, maintainSortOrder, revIndexes, sortingColumns
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ZipFileTableModel()
           
 
Method Summary
 void clear()
           
 java.util.zip.ZipEntry get(int row)
           
 java.lang.Object get(int row, int column)
           
 int getRowCount()
           
 java.lang.String getTableName()
           
 java.util.zip.ZipFile getZipFile()
           
 void setZipFile(java.io.File file)
           
 
Methods inherited from class org.xnap.gui.table.AbstractColumnTableModel
addColumn, addColumns, createColumnMenu, createTable, getColumnAt, getColumnClass, getColumnCount, getColumnName
 
Methods inherited from class org.xnap.gui.table.AbstractSortableTableModel
compare, compareRowsByColumn, fireTableChanged, getSortedColumn, getValueAt, isCellEditable, isSortedAscending, mapToDtmIndex, mapToIndex, n2sort, reallocateIndexes, reallocateIndexes, resort, set, setMaintainSortOrder, setSortedAscending, setValueAt, 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
 

Field Detail

FILE_NAME

public static final int FILE_NAME
See Also:
Constant Field Values

SIZE

public static final int SIZE
See Also:
Constant Field Values

COMPRESSED_SIZE

public static final int COMPRESSED_SIZE
See Also:
Constant Field Values

RATIO

public static final int RATIO
See Also:
Constant Field Values

TIME

public static final int TIME
See Also:
Constant Field Values

CRC

public static final int CRC
See Also:
Constant Field Values

columns

protected Column[] columns
Constructor Detail

ZipFileTableModel

public ZipFileTableModel()
Method Detail

setZipFile

public void setZipFile(java.io.File file)

getZipFile

public java.util.zip.ZipFile getZipFile()

get

public java.util.zip.ZipEntry get(int row)

clear

public void clear()

getRowCount

public int getRowCount()

getTableName

public java.lang.String getTableName()

get

public java.lang.Object get(int row,
                            int column)
Specified by:
get in class AbstractSortableTableModel


Copyright © 2001-2005 XNap Team. All Rights Reserved.