Class ColumnWidthPersistingJTable.ColumnWidthPersistingTableColumnModel
java.lang.Object
javax.swing.table.DefaultTableColumnModel
net.sf.colossus.gui.ColumnWidthPersistingJTable.ColumnWidthPersistingTableColumnModel
- All Implemented Interfaces:
PropertyChangeListener, Serializable, EventListener, ListSelectionListener, TableColumnModel
- Enclosing class:
ColumnWidthPersistingJTable
static class ColumnWidthPersistingJTable.ColumnWidthPersistingTableColumnModel
extends DefaultTableColumnModel
- Author:
- Scott Greenman
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Stringprivate static Stringprivate final Stringprivate final OptionsFields inherited from class DefaultTableColumnModel
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumn(TableColumn aColumn) We override addColumn() to set the preferred widthintgetPreferredWidth(Options options, String optionName, int dataModelColumnNumber) Methods inherited from class DefaultTableColumnModel
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
-
Field Details
-
COLUMN_SEPARATOR
-
FIELD_SEPARATOR
-
optionName
-
options
-
-
Constructor Details
-
ColumnWidthPersistingTableColumnModel
-
-
Method Details
-
addColumn
We override addColumn() to set the preferred width- Specified by:
addColumnin interfaceTableColumnModel- Overrides:
addColumnin classDefaultTableColumnModel
-
getOptionName
-
getOptions
-
getPreferredWidth
-