public class SectionedTable extends MonitorTable
| Modifier and Type | Class and Description |
|---|---|
static class |
SectionedTable.Descriptor |
MonitorTable.Event, MonitorTable.Listenercells, CELLS_EVENT, DEFAULT_COMPACT_FIELDS, DEFAULT_FIELDS, DEFAULT_FORMAT, format, limitMaxWidth, listener, nColumns, nRows, TABLE_EVENTlistenerList| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when the table is discarded.
|
String |
getColumnName(int column) |
static SectionedTable |
getInstance(Collection<Map.Entry<String,DisplayChannel>> channels,
List<MonitorField> fields,
SectionedTable.Descriptor descriptor) |
void |
init(Collection<Map.Entry<String,DisplayChannel>> channels,
List<MonitorField> fields,
SectionedTable.Descriptor descriptor) |
void |
restore(SectionedTable.Descriptor desc) |
SectionedTable.Descriptor |
save()
Returns JavaBean that contains data required to restore this table to its current state.
|
protected void |
tableMouseClicked(MouseEvent evt) |
edit, fireChangeEvent, fireChangeEvent, getCells, getColumnCount, getRowCount, getTable, getValueAt, makeTable, restore, setFormat, setLimitMaxWidth, setListener, showHeader, trimAbsentFields, update, updateaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAffectedFieldspublic static SectionedTable getInstance(Collection<Map.Entry<String,DisplayChannel>> channels, List<MonitorField> fields, SectionedTable.Descriptor descriptor)
public void init(Collection<Map.Entry<String,DisplayChannel>> channels, List<MonitorField> fields, SectionedTable.Descriptor descriptor)
public void destroy()
MonitorTabledestroy in class MonitorTablepublic String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelprotected void tableMouseClicked(MouseEvent evt)
tableMouseClicked in class MonitorTablepublic SectionedTable.Descriptor save()
MonitorTablenull, subclasses should override
if they need to support saving/restoring their state.save in class MonitorTablepublic void restore(SectionedTable.Descriptor desc)
Copyright © 2023 LSST. All rights reserved.