src/share/classes/javax/swing/JColorChooser.java

Print this page
rev 10121 : 8046485: Add missing @since tag under javax.swing.*
Reviewed-by:


  65  * Policy</a>.
  66  * <p>
  67  * <strong>Warning:</strong>
  68  * Serialized objects of this class will not be compatible with
  69  * future Swing releases. The current serialization support is
  70  * appropriate for short term storage or RMI between applications running
  71  * the same version of Swing.  As of 1.4, support for long term storage
  72  * of all JavaBeans&trade;
  73  * has been added to the <code>java.beans</code> package.
  74  * Please see {@link java.beans.XMLEncoder}.
  75  *
  76  *
  77  * @beaninfo
  78  *      attribute: isContainer false
  79  *    description: A component that supports selecting a Color.
  80  *
  81  *
  82  * @author James Gosling
  83  * @author Amy Fowler
  84  * @author Steve Wilson

  85  */
  86 @SuppressWarnings("serial") // Same-version serialization only
  87 public class JColorChooser extends JComponent implements Accessible {
  88 
  89     /**
  90      * @see #getUIClassID
  91      * @see #readObject
  92      */
  93     private static final String uiClassID = "ColorChooserUI";
  94 
  95     private ColorSelectionModel selectionModel;
  96 
  97     private JComponent previewPanel = ColorChooserComponentFactory.getPreviewPanel();
  98 
  99     private AbstractColorChooserPanel[] chooserPanels = new AbstractColorChooserPanel[0];
 100 
 101     private boolean dragEnabled;
 102 
 103     /**
 104      * The selection model property name.




  65  * Policy</a>.
  66  * <p>
  67  * <strong>Warning:</strong>
  68  * Serialized objects of this class will not be compatible with
  69  * future Swing releases. The current serialization support is
  70  * appropriate for short term storage or RMI between applications running
  71  * the same version of Swing.  As of 1.4, support for long term storage
  72  * of all JavaBeans&trade;
  73  * has been added to the <code>java.beans</code> package.
  74  * Please see {@link java.beans.XMLEncoder}.
  75  *
  76  *
  77  * @beaninfo
  78  *      attribute: isContainer false
  79  *    description: A component that supports selecting a Color.
  80  *
  81  *
  82  * @author James Gosling
  83  * @author Amy Fowler
  84  * @author Steve Wilson
  85  * @since 1.2
  86  */
  87 @SuppressWarnings("serial") // Same-version serialization only
  88 public class JColorChooser extends JComponent implements Accessible {
  89 
  90     /**
  91      * @see #getUIClassID
  92      * @see #readObject
  93      */
  94     private static final String uiClassID = "ColorChooserUI";
  95 
  96     private ColorSelectionModel selectionModel;
  97 
  98     private JComponent previewPanel = ColorChooserComponentFactory.getPreviewPanel();
  99 
 100     private AbstractColorChooserPanel[] chooserPanels = new AbstractColorChooserPanel[0];
 101 
 102     private boolean dragEnabled;
 103 
 104     /**
 105      * The selection model property name.