jmri.jmrit.beantable.sensor
Class SensorTableDataModel
java.lang.Object
javax.swing.table.AbstractTableModel
jmri.jmrit.beantable.BeanTableDataModel
jmri.jmrit.beantable.sensor.SensorTableDataModel
- All Implemented Interfaces:
- PropertyChangeListener, Serializable, EventListener, TableModel
public class SensorTableDataModel
- extends BeanTableDataModel
Data model for a SensorTable
- Author:
- Bob Jacobsen Copyright (C) 2003, 2009
- See Also:
- Serialized Form
| Methods inherited from class jmri.jmrit.beantable.BeanTableDataModel |
configDeleteColumn, configureButton, configureTable, configValueColumn, deleteBean, dispose, getDisplayDeleteMsg, getRowCount, makeJTable, 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 |
INVERTCOL
public static final int INVERTCOL
- See Also:
- Constant Field Values
USEGLOBALDELAY
public static final int USEGLOBALDELAY
- See Also:
- Constant Field Values
ACTIVEDELAY
public static final int ACTIVEDELAY
- See Also:
- Constant Field Values
INACTIVEDELAY
public static final int INACTIVEDELAY
- See Also:
- Constant Field Values
showDebounce
public boolean showDebounce
rb
public static final ResourceBundle rb
SensorTableDataModel
public SensorTableDataModel()
SensorTableDataModel
public SensorTableDataModel(SensorManager manager)
getValue
public String getValue(String name)
- Specified by:
getValue in class BeanTableDataModel
setManager
protected void setManager(SensorManager manager)
getManager
protected Manager getManager()
- Specified by:
getManager in class BeanTableDataModel
getBySystemName
protected NamedBean getBySystemName(String name)
- Specified by:
getBySystemName in class BeanTableDataModel
getByUserName
protected NamedBean getByUserName(String name)
- Specified by:
getByUserName in class BeanTableDataModel
getMasterClassName
protected String getMasterClassName()
- Specified by:
getMasterClassName in class BeanTableDataModel
clickOn
protected void clickOn(NamedBean t)
- Specified by:
clickOn in class BeanTableDataModel
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
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
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
getBeanType
protected String getBeanType()
- Specified by:
getBeanType in class BeanTableDataModel
matchPropertyName
protected boolean matchPropertyName(PropertyChangeEvent e)
- Description copied from class:
BeanTableDataModel
- Is this property event announcing a change this table should display?
Note that events will come both from the NamedBeans and also from the manager
- Overrides:
matchPropertyName in class BeanTableDataModel
getClassName
protected String getClassName()
getClassDescription
public String getClassDescription()
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: