jmri.jmrit.beantable
Class AudioTableAction.AudioTableDataModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.beantable.BeanTableDataModel
jmri.jmrit.beantable.AudioTableAction.AudioTableDataModel
- All Implemented Interfaces:
- PropertyChangeListener, Serializable, EventListener, TableModel
- Direct Known Subclasses:
- AudioTableAction.AudioBufferTableDataModel, AudioTableAction.AudioListenerTableDataModel, AudioTableAction.AudioSourceTableDataModel
- Enclosing class:
- AudioTableAction
public abstract class AudioTableAction.AudioTableDataModel
- extends BeanTableDataModel
- implements PropertyChangeListener
Define abstract AudioTableDataModel
- See Also:
- Serialized Form
| Methods inherited from class jmri.jmrit.beantable.BeanTableDataModel |
configDeleteColumn, configureButton, configureTable, deleteBean, dispose, getDisplayDeleteMsg, getRowCount, makeJTable, matchPropertyName, moveBean, printColumns, printTable, propertyChange, removeName, renameBean, setColumnToHoldButton, setDisplayDeleteMsg, setManager, showPopup, updateNameList |
| 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 |
EDITCOL
public static final int EDITCOL
- See Also:
- Constant Field Values
AudioTableAction.AudioTableDataModel
public AudioTableAction.AudioTableDataModel(char subType)
getManager
public AudioManager getManager()
- Specified by:
getManager in class BeanTableDataModel
getMasterClassName
protected String getMasterClassName()
- Specified by:
getMasterClassName in class BeanTableDataModel
getBySystemName
public Audio getBySystemName(String name)
- Specified by:
getBySystemName in class BeanTableDataModel
getByUserName
public Audio getByUserName(String name)
- Specified by:
getByUserName in class BeanTableDataModel
updateSpecificNameList
protected void updateSpecificNameList(char subType)
- Update the NamedBean list for the specific sub-type
- Parameters:
subType - Audio sub-type to update
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount in interface TableModel- Overrides:
getColumnCount in class BeanTableDataModel
getColumnName
public String getColumnName(int col)
- Specified by:
getColumnName in interface TableModel- Overrides:
getColumnName in class BeanTableDataModel
getColumnClass
public Class<?> getColumnClass(int col)
- Specified by:
getColumnClass in interface TableModel- Overrides:
getColumnClass in class BeanTableDataModel
getValue
public String getValue(String systemName)
- Specified by:
getValue in class BeanTableDataModel
getValueAt
public Object getValueAt(int row,
int col)
- Specified by:
getValueAt in interface TableModel- Overrides:
getValueAt in class BeanTableDataModel
setValueAt
public void setValueAt(Object value,
int row,
int col)
- Specified by:
setValueAt in interface TableModel- Overrides:
setValueAt in class BeanTableDataModel
getPreferredWidth
public int getPreferredWidth(int col)
- Overrides:
getPreferredWidth in class BeanTableDataModel
isCellEditable
public boolean isCellEditable(int row,
int col)
- Specified by:
isCellEditable in interface TableModel- Overrides:
isCellEditable in class BeanTableDataModel
clickOn
protected void clickOn(NamedBean t)
- Specified by:
clickOn in class BeanTableDataModel
configValueColumn
protected void configValueColumn(JTable table)
- Overrides:
configValueColumn in class BeanTableDataModel
configEditColumn
protected void configEditColumn(JTable table)
getBeanType
protected String getBeanType()
- Specified by:
getBeanType in class BeanTableDataModel
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: