Uses of Interface
javax.swing.table.TableColumnModel
Packages that use TableColumnModel
包
描述
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides for events fired by Swing components.
Provides classes and interfaces for dealing with
javax.swing.JTable
.-
Uses of TableColumnModel in javax.swing
Fields in javax.swing declared as TableColumnModelMethods in javax.swing that return TableColumnModel修饰符和类方法描述protected TableColumnModel
JTable.createDefaultColumnModel()
Returns the default column model object, which is aDefaultTableColumnModel
.JTable.getColumnModel()
Returns theTableColumnModel
that contains all column information of this table.Methods in javax.swing with parameters of type TableColumnModel修饰符和类方法描述void
JTable.setColumnModel
(TableColumnModel columnModel) Sets the column model for this table tocolumnModel
and registers for listener notifications from the new column model.Constructors in javax.swing with parameters of type TableColumnModelModifierConstructor描述JTable
(TableModel dm, TableColumnModel cm) Constructs aJTable
that is initialized withdm
as the data model,cm
as the column model, and a default selection model.JTable
(TableModel dm, TableColumnModel cm, ListSelectionModel sm) Constructs aJTable
that is initialized withdm
as the data model,cm
as the column model, andsm
as the selection model. -
Uses of TableColumnModel in javax.swing.event
Constructors in javax.swing.event with parameters of type TableColumnModelModifierConstructor描述TableColumnModelEvent
(TableColumnModel source, int from, int to) Constructs aTableColumnModelEvent
object. -
Uses of TableColumnModel in javax.swing.table
Classes in javax.swing.table that implement TableColumnModelFields in javax.swing.table declared as TableColumnModel修饰符和类Field描述protected TableColumnModel
JTableHeader.columnModel
TheTableColumnModel
of the table header.Methods in javax.swing.table that return TableColumnModel修饰符和类方法描述protected TableColumnModel
JTableHeader.createDefaultColumnModel()
Returns the default column model object which is aDefaultTableColumnModel
.JTableHeader.getColumnModel()
Returns theTableColumnModel
that contains all column information of this table header.Methods in javax.swing.table with parameters of type TableColumnModel修饰符和类方法描述void
JTableHeader.setColumnModel
(TableColumnModel columnModel) Sets the column model for this table tonewModel
and registers for listener notifications from the new column model.Constructors in javax.swing.table with parameters of type TableColumnModelModifierConstructor描述Constructs aJTableHeader
which is initialized withcm
as the column model.