Package org.harctoolbox.irscrutinizer
Class NamedIrSignal.LearnedIrSignalTableColumnModel
- java.lang.Object
-
- javax.swing.table.DefaultTableColumnModel
-
- org.harctoolbox.irscrutinizer.NamedIrSignal.LearnedIrSignalTableColumnModel
-
- All Implemented Interfaces:
PropertyChangeListener
,Serializable
,EventListener
,ListSelectionListener
,TableColumnModel
- Direct Known Subclasses:
ParametrizedIrSignal.ParameterIrSignalTableColumnModel
,RawIrSignal.RawTableColumnModel
- Enclosing class:
- NamedIrSignal
public abstract static class NamedIrSignal.LearnedIrSignalTableColumnModel extends DefaultTableColumnModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.DefaultTableColumnModel
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth
-
-
Constructor Summary
Constructors Constructor Description LearnedIrSignalTableColumnModel(NamedIrSignal.AbstractColumnFunction icolumn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
removeColumn(int i)
Remove selected column, if possiblevoid
removeColumns(Collection<Integer> list)
void
reset()
protected void
setup(String[] columnNames, int[] widths, int noFields)
-
Methods inherited from class javax.swing.table.DefaultTableColumnModel
addColumn, addColumnModelListener, createSelectionModel, fireColumnAdded, fireColumnMarginChanged, fireColumnMoved, fireColumnRemoved, fireColumnSelectionChanged, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, propertyChange, recalcWidthCache, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged
-
-
-
-
Constructor Detail
-
LearnedIrSignalTableColumnModel
public LearnedIrSignalTableColumnModel(NamedIrSignal.AbstractColumnFunction icolumn)
-
-
Method Detail
-
removeColumn
public void removeColumn(int i)
Remove selected column, if possible- Parameters:
i
- column number- Throws:
ArrayIndexOutOfBoundsException
- if no column #i exists
-
reset
public void reset()
-
setup
protected void setup(String[] columnNames, int[] widths, int noFields)
-
removeColumns
public void removeColumns(Collection<Integer> list)
-
-