< prev index next >

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

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


  33 
  34 /**
  35  * This is an implementation of <code>TableModel</code> that
  36  * uses a <code>Vector</code> of <code>Vectors</code> to store the
  37  * cell value objects.
  38  * <p>
  39  * <strong>Warning:</strong> <code>DefaultTableModel</code> returns a
  40  * column class of <code>Object</code>.  When
  41  * <code>DefaultTableModel</code> is used with a
  42  * <code>TableRowSorter</code> this will result in extensive use of
  43  * <code>toString</code>, which for non-<code>String</code> data types
  44  * is expensive.  If you use <code>DefaultTableModel</code> with a
  45  * <code>TableRowSorter</code> you are strongly encouraged to override
  46  * <code>getColumnClass</code> to return the appropriate type.
  47  * <p>
  48  * <strong>Warning:</strong>
  49  * Serialized objects of this class will not be compatible with
  50  * future Swing releases. The current serialization support is
  51  * appropriate for short term storage or RMI between applications running
  52  * the same version of Swing.  As of 1.4, support for long term storage
  53  * of all JavaBeans&trade;
  54  * has been added to the <code>java.beans</code> package.
  55  * Please see {@link java.beans.XMLEncoder}.
  56  *
  57  * @author Philip Milne
  58  *
  59  * @see TableModel
  60  * @see #getDataVector
  61  */
  62 @SuppressWarnings("serial") // Same-version serialization only
  63 public class DefaultTableModel extends AbstractTableModel implements Serializable {
  64 
  65 //
  66 // Instance Variables
  67 //
  68 
  69     /**
  70      * The <code>Vector</code> of <code>Vectors</code> of
  71      * <code>Object</code> values.
  72      */
  73     @SuppressWarnings("rawtypes")




  33 
  34 /**
  35  * This is an implementation of <code>TableModel</code> that
  36  * uses a <code>Vector</code> of <code>Vectors</code> to store the
  37  * cell value objects.
  38  * <p>
  39  * <strong>Warning:</strong> <code>DefaultTableModel</code> returns a
  40  * column class of <code>Object</code>.  When
  41  * <code>DefaultTableModel</code> is used with a
  42  * <code>TableRowSorter</code> this will result in extensive use of
  43  * <code>toString</code>, which for non-<code>String</code> data types
  44  * is expensive.  If you use <code>DefaultTableModel</code> with a
  45  * <code>TableRowSorter</code> you are strongly encouraged to override
  46  * <code>getColumnClass</code> to return the appropriate type.
  47  * <p>
  48  * <strong>Warning:</strong>
  49  * Serialized objects of this class will not be compatible with
  50  * future Swing releases. The current serialization support is
  51  * appropriate for short term storage or RMI between applications running
  52  * the same version of Swing.  As of 1.4, support for long term storage
  53  * of all JavaBeans
  54  * has been added to the <code>java.beans</code> package.
  55  * Please see {@link java.beans.XMLEncoder}.
  56  *
  57  * @author Philip Milne
  58  *
  59  * @see TableModel
  60  * @see #getDataVector
  61  */
  62 @SuppressWarnings("serial") // Same-version serialization only
  63 public class DefaultTableModel extends AbstractTableModel implements Serializable {
  64 
  65 //
  66 // Instance Variables
  67 //
  68 
  69     /**
  70      * The <code>Vector</code> of <code>Vectors</code> of
  71      * <code>Object</code> values.
  72      */
  73     @SuppressWarnings("rawtypes")


< prev index next >