|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagejavax.swing.table
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
ATableColumn
represents all the attributes of a column in aJTable
such as width resizibility minimum and maximum width. In addition theTableColumn
provides slots for a renderer and an editor that can be used to display and edit the values in this column.It is also possible to specify renderers and editors on a per type basis rather than a per column basis - see the
setDefaultRenderer
method in theJTable
class. This default mechanism is only used when the renderer (or editor) in theTableColumn
isnull
.The
TableColumn
stores the link between the columns in theJTable
and the columns in theTableModel
. ThemodelIndex
is the column in theTableModel
which will be queried for the data values for the cells in this column. As the column moves around in the view thismodelIndex
does not change.Note: Some implementations may assume that all
TableColumnModel
s are unique therefore we would recommend that the sameTableColumn
instance not be added more than once to aTableColumnModel
. To showTableColumn
s with the same column of data from the model create a new instance with the samemodelIndex
.Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4 support for long term storage of all JavaBeansTM has been added to the
java.beans
package. Please see java.beans.XMLEncoder @version 1.54 1256 04/0317/0102 @author Alan Chung @author Philip Milne @see javax.swing.table.TableColumnModel @see javax.swing.table.DefaultTableColumnModel @see javax.swing.table.JTableHeader#getDefaultRenderer() @see JTable#getDefaultRenderer(Class) @see JTable#getDefaultEditor(Class) @see JTable#getCellRenderer(int int) @see JTable#getCellEditor(int int)