public class VariableTableModel extends SortableListTableModel implements ChangeListener
| Modifier and Type | Field and Description |
|---|---|
static int |
NAME |
static int |
UNIT |
static int |
VALUE |
keyslistenerList| Constructor and Description |
|---|
VariableTableModel() |
VariableTableModel(List variables) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
changed() |
protected int |
compareKeys(Object key1,
Object key2,
int col,
boolean ascending) |
int |
getRowCount() |
Object |
getValueAt(int row,
int col) |
boolean |
isCellEditable(int row,
int col) |
void |
setValueAt(Object value,
int row,
int col) |
void |
setVariables(List newVariableList) |
void |
stateChanged(ChangeEvent event) |
fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnCount, getColumnName, getKeys, getSortOnColumn, isSortAscending, setKeys, sortaddTableModelListener, findColumn, fireTableChanged, getListeners, getTableModelListeners, removeTableModelListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTableModelListener, removeTableModelListenerpublic static final int NAME
public static final int VALUE
public static final int UNIT
public VariableTableModel()
public VariableTableModel(List variables)
public void setVariables(List newVariableList)
public int getRowCount()
getRowCount in interface TableModelgetRowCount in class SortableListTableModelpublic boolean isCellEditable(int row,
int col)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic Object getValueAt(int row, int col)
getValueAt in interface TableModelpublic void setValueAt(Object value, int row, int col)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelprotected int compareKeys(Object key1, Object key2, int col, boolean ascending)
compareKeys in class SortableListTableModelprotected void changed()
public void stateChanged(ChangeEvent event)
stateChanged in interface ChangeListenerCopyright © 1996-2014 FreeHEP. All Rights Reserved.