< prev index next >

src/java.desktop/share/classes/javax/swing/table/DefaultTableColumnModel.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  27 
  28 import javax.swing.*;
  29 import javax.swing.event.*;
  30 import java.awt.*;
  31 import java.util.Vector;
  32 import java.util.Enumeration;
  33 import java.util.EventListener;
  34 import java.beans.PropertyChangeListener;
  35 import java.beans.PropertyChangeEvent;
  36 import java.io.Serializable;
  37 import sun.swing.SwingUtilities2;
  38 
  39 /**
  40  * The standard column-handler for a <code>JTable</code>.
  41  * <p>
  42  * <strong>Warning:</strong>
  43  * Serialized objects of this class will not be compatible with
  44  * future Swing releases. The current serialization support is
  45  * appropriate for short term storage or RMI between applications running
  46  * the same version of Swing.  As of 1.4, support for long term storage
  47  * of all JavaBeans&trade;
  48  * has been added to the <code>java.beans</code> package.
  49  * Please see {@link java.beans.XMLEncoder}.
  50  *
  51  * @author Alan Chung
  52  * @author Philip Milne
  53  * @see JTable
  54  */
  55 @SuppressWarnings("serial") // Same-version serialization only
  56 public class DefaultTableColumnModel implements TableColumnModel,
  57                         PropertyChangeListener, ListSelectionListener, Serializable
  58 {
  59 //
  60 // Instance Variables
  61 //
  62 
  63     /** Array of TableColumn objects in this model */
  64     protected Vector<TableColumn> tableColumns;
  65 
  66     /** Model for keeping track of column selections */
  67     protected ListSelectionModel selectionModel;




  27 
  28 import javax.swing.*;
  29 import javax.swing.event.*;
  30 import java.awt.*;
  31 import java.util.Vector;
  32 import java.util.Enumeration;
  33 import java.util.EventListener;
  34 import java.beans.PropertyChangeListener;
  35 import java.beans.PropertyChangeEvent;
  36 import java.io.Serializable;
  37 import sun.swing.SwingUtilities2;
  38 
  39 /**
  40  * The standard column-handler for a <code>JTable</code>.
  41  * <p>
  42  * <strong>Warning:</strong>
  43  * Serialized objects of this class will not be compatible with
  44  * future Swing releases. The current serialization support is
  45  * appropriate for short term storage or RMI between applications running
  46  * the same version of Swing.  As of 1.4, support for long term storage
  47  * of all JavaBeans
  48  * has been added to the <code>java.beans</code> package.
  49  * Please see {@link java.beans.XMLEncoder}.
  50  *
  51  * @author Alan Chung
  52  * @author Philip Milne
  53  * @see JTable
  54  */
  55 @SuppressWarnings("serial") // Same-version serialization only
  56 public class DefaultTableColumnModel implements TableColumnModel,
  57                         PropertyChangeListener, ListSelectionListener, Serializable
  58 {
  59 //
  60 // Instance Variables
  61 //
  62 
  63     /** Array of TableColumn objects in this model */
  64     protected Vector<TableColumn> tableColumns;
  65 
  66     /** Model for keeping track of column selections */
  67     protected ListSelectionModel selectionModel;


< prev index next >