hep.wired.variable
Class VariableTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
hep.wired.util.SortableListTableModel
hep.wired.variable.VariableTableModel
- All Implemented Interfaces:
- Serializable, EventListener, ChangeListener, TableModel, org.freehep.swing.table.SortableTableModel
public class VariableTableModel
- extends SortableListTableModel
- implements ChangeListener
- Version:
- $Id: VariableTableModel.java 13931 2012-02-09 00:58:03Z onoprien $
- Author:
- Mark Donszelmann
- See Also:
- Serialized Form
Fields inherited from interface org.freehep.swing.table.SortableTableModel |
UNSORTED |
Methods inherited from class hep.wired.util.SortableListTableModel |
fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnCount, getColumnName, getKeys, getSortOnColumn, isSortAscending, setKeys, sort |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final int NAME
- See Also:
- Constant Field Values
VALUE
public static final int VALUE
- See Also:
- Constant Field Values
UNIT
public static final int UNIT
- See Also:
- Constant Field Values
VariableTableModel
public VariableTableModel()
VariableTableModel
public VariableTableModel(List variables)
setVariables
public void setVariables(List newVariableList)
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
- Overrides:
getRowCount
in class SortableListTableModel
isCellEditable
public boolean isCellEditable(int row,
int col)
- Specified by:
isCellEditable
in interface TableModel
- Overrides:
isCellEditable
in class AbstractTableModel
getValueAt
public Object getValueAt(int row,
int col)
- Specified by:
getValueAt
in interface TableModel
setValueAt
public void setValueAt(Object value,
int row,
int col)
- Specified by:
setValueAt
in interface TableModel
- Overrides:
setValueAt
in class AbstractTableModel
compareKeys
protected int compareKeys(Object key1,
Object key2,
int col,
boolean ascending)
- Specified by:
compareKeys
in class SortableListTableModel
changed
protected void changed()
stateChanged
public void stateChanged(ChangeEvent event)
- Specified by:
stateChanged
in interface ChangeListener
Copyright © 1996-2013 FreeHEP. All Rights Reserved.