net.sourceforge.atunes.gui.model
Class RadioBrowserTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by net.sourceforge.atunes.gui.model.RadioBrowserTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class RadioBrowserTableModel
extends javax.swing.table.AbstractTableModel

The Class RadioBrowserTableModel.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
RadioBrowserTableModel()
           
 
Method Summary
 void addRadio(Radio r)
          Adds the radio.
 void clear()
          Clear.
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 Radio getRadio(int row)
          Gets the radio.
 int getRowCount()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioBrowserTableModel

public RadioBrowserTableModel()
Method Detail

addRadio

public void addRadio(Radio r)
Adds the radio.

Parameters:
r - the r

getRadio

public Radio getRadio(int row)
Gets the radio.

Parameters:
row - the row
Returns:
the radio

clear

public void clear()
Clear.


getColumnCount

public int getColumnCount()

getColumnName

public java.lang.String getColumnName(int column)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.