Java javax.swing.table TableColumnModel fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.table TableColumnModel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.table TableColumnModel.

The text is from its open source code.

Method

voidaddColumn(TableColumn aColumn)
Appends aColumn to the end of the tableColumns array.
voidaddColumnModelListener(TableColumnModelListener x)
Adds a listener for table column model events.
TableColumngetColumn(int columnIndex)
Returns the TableColumn object for the column at columnIndex.
intgetColumnCount()
Returns the number of columns in the model.
intgetColumnIndex(Object columnIdentifier)
Returns the index of the first column in the table whose identifier is equal to identifier, when compared using equals.
intgetColumnIndexAtX(int xPosition)
Returns the index of the column that lies on the horizontal point, xPosition; or -1 if it lies outside the any of the column's bounds.
intgetColumnMargin()
Returns the width between the cells in each column.
EnumerationgetColumns()
Returns an Enumeration of all the columns in the model.
intgetTotalColumnWidth()
Returns the total width of all the columns.
voidremoveColumn(TableColumn column)
Deletes the TableColumn column from the tableColumns array.
voidsetColumnMargin(int newMargin)
Sets the TableColumn's column margin to newMargin.