|
|||||||||
| Home >> All >> entagged >> gui >> tageditor >> [ models overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
entagged.gui.tageditor.models
Class ID3FramesTableModel

java.lang.Objectjavax.swing.table.AbstractTableModel
entagged.gui.tageditor.models.ID3FramesTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
- public class ID3FramesTableModel
- extends javax.swing.table.AbstractTableModel
Model of the table showing the id3v2 frames and their contents to allow advanced editing $Id: ID3FramesTableModel.java,v 1.1 2003/09/22 14:44:29 kikidonk Exp $
- Version:
- v0.04
| Field Summary | |
private java.lang.String[] |
colTitles
The column titles |
private java.util.Hashtable |
framesDict
The hashtable containing all the allowed id3v2 frames |
private java.lang.String[][] |
tableContents
Double array containing the frame name, the frame description, and the frame content |
private entagged.gui.tageditor.TagEditorFrame |
tagEditorFrame
Parent Tag Editor frame |
| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
| Constructor Summary | |
ID3FramesTableModel(entagged.gui.tageditor.TagEditorFrame tagEditorFrame)
Creates the new table model, read the file "resources/id3frames" extracts all the valid frames, read the selected MP3File's ID3v2 Tag and fill the corresponding cells |
|
| Method Summary | |
java.lang.Class |
getColumnClass(int c)
Returns the column class at the given index |
int |
getColumnCount()
Gets the columnCount attribute of the ID3FramesTableModel object |
java.lang.String |
getColumnName(int col)
Gets the columnName attribute of the ID3FramesTableModel object |
java.lang.String[][] |
getID3FramesContent()
Gets the iD3FramesContent attribute of the ID3FramesTableModel object |
int |
getRowCount()
Gets the rowCount attribute of the ID3FramesTableModel object |
java.lang.Object |
getValueAt(int row,
int col)
Gets the value at the given coordinate |
boolean |
isCellEditable(int row,
int col)
Return the editable state of the given cell. |
void |
setValueAt(java.lang.Object value,
int row,
int col)
Sets the value at the given coordinate |
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, 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 |
colTitles
private java.lang.String[] colTitles
- The column titles
framesDict
private java.util.Hashtable framesDict
- The hashtable containing all the allowed id3v2 frames
tableContents
private java.lang.String[][] tableContents
- Double array containing the frame name, the frame description, and the
frame content
tagEditorFrame
private entagged.gui.tageditor.TagEditorFrame tagEditorFrame
- Parent Tag Editor frame
| Constructor Detail |
ID3FramesTableModel
public ID3FramesTableModel(entagged.gui.tageditor.TagEditorFrame tagEditorFrame)
- Creates the new table model, read the file "resources/id3frames" extracts
all the valid frames, read the selected MP3File's ID3v2 Tag and fill the
corresponding cells
| Method Detail |
setValueAt
public void setValueAt(java.lang.Object value, int row, int col)
- Sets the value at the given coordinate
getColumnClass
public java.lang.Class getColumnClass(int c)
- Returns the column class at the given index
getColumnCount
public int getColumnCount()
- Gets the columnCount attribute of the ID3FramesTableModel object
getColumnName
public java.lang.String getColumnName(int col)
- Gets the columnName attribute of the ID3FramesTableModel object
getID3FramesContent
public java.lang.String[][] getID3FramesContent()
- Gets the iD3FramesContent attribute of the ID3FramesTableModel object
getRowCount
public int getRowCount()
- Gets the rowCount attribute of the ID3FramesTableModel object
getValueAt
public java.lang.Object getValueAt(int row, int col)
- Gets the value at the given coordinate
isCellEditable
public boolean isCellEditable(int row,
int col)
- Return the editable state of the given cell. Only the last column is
editable
|
|||||||||
| Home >> All >> entagged >> gui >> tageditor >> [ models overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC