< prev index next >

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

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


  50  *  The <code>TableColumn</code> stores the link between the columns in the
  51  *  <code>JTable</code> and the columns in the <code>TableModel</code>.
  52  *  The <code>modelIndex</code> is the column in the
  53  *  <code>TableModel</code>, which will be queried for the data values for the
  54  *  cells in this column. As the column moves around in the view this
  55  *  <code>modelIndex</code> does not change.
  56  *  <p>
  57  * <b>Note:</b> Some implementations may assume that all
  58  *    <code>TableColumnModel</code>s are unique, therefore we would
  59  *    recommend that the same <code>TableColumn</code> instance
  60  *    not be added more than once to a <code>TableColumnModel</code>.
  61  *    To show <code>TableColumn</code>s with the same column of
  62  *    data from the model, create a new instance with the same
  63  *    <code>modelIndex</code>.
  64  *  <p>
  65  * <strong>Warning:</strong>
  66  * Serialized objects of this class will not be compatible with
  67  * future Swing releases. The current serialization support is
  68  * appropriate for short term storage or RMI between applications running
  69  * the same version of Swing.  As of 1.4, support for long term storage
  70  * of all JavaBeans&trade;
  71  * has been added to the <code>java.beans</code> package.
  72  * Please see {@link java.beans.XMLEncoder}.
  73  *
  74  * @author Alan Chung
  75  * @author Philip Milne
  76  * @see javax.swing.table.TableColumnModel
  77  *
  78  * @see javax.swing.table.DefaultTableColumnModel
  79  * @see javax.swing.table.JTableHeader#getDefaultRenderer()
  80  * @see JTable#getDefaultRenderer(Class)
  81  * @see JTable#getDefaultEditor(Class)
  82  * @see JTable#getCellRenderer(int, int)
  83  * @see JTable#getCellEditor(int, int)
  84  */
  85 @SuppressWarnings("serial") // Same-version serialization only
  86 public class TableColumn implements Serializable {
  87 
  88     /**
  89      * Obsolete as of Java 2 platform v1.3.  Please use string literals to identify
  90      * properties.




  50  *  The <code>TableColumn</code> stores the link between the columns in the
  51  *  <code>JTable</code> and the columns in the <code>TableModel</code>.
  52  *  The <code>modelIndex</code> is the column in the
  53  *  <code>TableModel</code>, which will be queried for the data values for the
  54  *  cells in this column. As the column moves around in the view this
  55  *  <code>modelIndex</code> does not change.
  56  *  <p>
  57  * <b>Note:</b> Some implementations may assume that all
  58  *    <code>TableColumnModel</code>s are unique, therefore we would
  59  *    recommend that the same <code>TableColumn</code> instance
  60  *    not be added more than once to a <code>TableColumnModel</code>.
  61  *    To show <code>TableColumn</code>s with the same column of
  62  *    data from the model, create a new instance with the same
  63  *    <code>modelIndex</code>.
  64  *  <p>
  65  * <strong>Warning:</strong>
  66  * Serialized objects of this class will not be compatible with
  67  * future Swing releases. The current serialization support is
  68  * appropriate for short term storage or RMI between applications running
  69  * the same version of Swing.  As of 1.4, support for long term storage
  70  * of all JavaBeans
  71  * has been added to the <code>java.beans</code> package.
  72  * Please see {@link java.beans.XMLEncoder}.
  73  *
  74  * @author Alan Chung
  75  * @author Philip Milne
  76  * @see javax.swing.table.TableColumnModel
  77  *
  78  * @see javax.swing.table.DefaultTableColumnModel
  79  * @see javax.swing.table.JTableHeader#getDefaultRenderer()
  80  * @see JTable#getDefaultRenderer(Class)
  81  * @see JTable#getDefaultEditor(Class)
  82  * @see JTable#getCellRenderer(int, int)
  83  * @see JTable#getCellEditor(int, int)
  84  */
  85 @SuppressWarnings("serial") // Same-version serialization only
  86 public class TableColumn implements Serializable {
  87 
  88     /**
  89      * Obsolete as of Java 2 platform v1.3.  Please use string literals to identify
  90      * properties.


< prev index next >