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

Quick Search    Search Deep

org.jempeg.empeg.emplode.model
Interface EmpegTableModelIfc  view EmpegTableModelIfc download EmpegTableModelIfc.java

All Superinterfaces:
javax.swing.table.TableModel
All Known Implementing Classes:
EmpegPlaylistTableModel, FIDPlaylistTableModel, TableSorter

public interface EmpegTableModelIfc
extends javax.swing.table.TableModel

EmpegTableModelIfc is a table model that proxies an EmpegPlaylistTreeNode, presenting it's children in table format.

Version:
$Revision: 1.5 $

Method Summary
 int getRowFor(EmpegTreeNodeIfc _treeNode)
          Returns the row of the given EmpegTreeNode.
 java.lang.Class getSortColumnClass(int _column)
          Returns the type that will be used to sort with.
 java.lang.Object getSortValueAt(int _row, int _column)
          Returns the value that will be used to sort with.
 EmpegPlaylistTreeNodeIfc getTreeNode()
          Returns the EmpegPlaylistTreeNode that this table model is proxying.
 EmpegTreeNodeIfc getValueAt(int _row)
          Returns the EmpegTreeNode at the given row.
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

getTreeNode

public EmpegPlaylistTreeNodeIfc getTreeNode()
Returns the EmpegPlaylistTreeNode that this table model is proxying.


getValueAt

public EmpegTreeNodeIfc getValueAt(int _row)
Returns the EmpegTreeNode at the given row.


getRowFor

public int getRowFor(EmpegTreeNodeIfc _treeNode)
Returns the row of the given EmpegTreeNode.


getSortColumnClass

public java.lang.Class getSortColumnClass(int _column)
Returns the type that will be used to sort with.


getSortValueAt

public java.lang.Object getSortValueAt(int _row,
                                       int _column)
Returns the value that will be used to sort with.