jdk/src/share/classes/javax/swing/JTable.java
changeset 22574 7f8ce0c8c20a
parent 21982 fd6e5fe509df
child 23295 6c61adf6111e
equal deleted inserted replaced
22573:8f0344f13b7f 22574:7f8ce0c8c20a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   216  * @see javax.swing.table.TableRowSorter
   216  * @see javax.swing.table.TableRowSorter
   217  */
   217  */
   218 /* The first versions of the JTable, contained in Swing-0.1 through
   218 /* The first versions of the JTable, contained in Swing-0.1 through
   219  * Swing-0.4, were written by Alan Chung.
   219  * Swing-0.4, were written by Alan Chung.
   220  */
   220  */
       
   221 @SuppressWarnings("serial") // Same-version serialization only
   221 public class JTable extends JComponent implements TableModelListener, Scrollable,
   222 public class JTable extends JComponent implements TableModelListener, Scrollable,
   222     TableColumnModelListener, ListSelectionListener, CellEditorListener,
   223     TableColumnModelListener, ListSelectionListener, CellEditorListener,
   223     Accessible, RowSorterListener
   224     Accessible, RowSorterListener
   224 {
   225 {
   225 //
   226 //
  6581      * the same version of Swing.  As of 1.4, support for long term storage
  6582      * the same version of Swing.  As of 1.4, support for long term storage
  6582      * of all JavaBeans™
  6583      * of all JavaBeans™
  6583      * has been added to the <code>java.beans</code> package.
  6584      * has been added to the <code>java.beans</code> package.
  6584      * Please see {@link java.beans.XMLEncoder}.
  6585      * Please see {@link java.beans.XMLEncoder}.
  6585      */
  6586      */
       
  6587     @SuppressWarnings("serial") // Same-version serialization only
  6586     protected class AccessibleJTable extends AccessibleJComponent
  6588     protected class AccessibleJTable extends AccessibleJComponent
  6587     implements AccessibleSelection, ListSelectionListener, TableModelListener,
  6589     implements AccessibleSelection, ListSelectionListener, TableModelListener,
  6588     TableColumnModelListener, CellEditorListener, PropertyChangeListener,
  6590     TableColumnModelListener, CellEditorListener, PropertyChangeListener,
  6589     AccessibleExtendedTable {
  6591     AccessibleExtendedTable {
  6590 
  6592