/[classpath]/classpath/javax/swing/colorchooser/ColorChooserComponentFactory.java
ViewVC logotype

Diff of /classpath/javax/swing/colorchooser/ColorChooserComponentFactory.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mkoch, Sun Jun 8 12:14:56 2003 UTC revision 1.3 by mark, Sat Sep 4 20:31:20 2004 UTC
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
   
38  package javax.swing.colorchooser;  package javax.swing.colorchooser;
39    
40  import javax.swing.JComponent;  import javax.swing.JComponent;
41    
42    
43  /**  /**
44   * ColorChooserComponentFactory   * ColorChooserComponentFactory
45   * @author      Andrew Selkirk   *
46   * @version     1.0   * @author Andrew Selkirk
47     * @version 1.0
48   */   */
49  public class ColorChooserComponentFactory {  public class ColorChooserComponentFactory
50    {
51          //-------------------------------------------------------------    /**
52          // Initialization ---------------------------------------------     * Constructor ColorChooserComponentFactory
53          //-------------------------------------------------------------     */
54      private ColorChooserComponentFactory()
55          /**    {
56           * Constructor ColorChooserComponentFactory    } // ColorChooserComponentFactory()
57           */  
58          private ColorChooserComponentFactory() {    /**
59                  // TODO     * This method returns the three default chooser panels to be used in
60          } // ColorChooserComponentFactory()     * JColorChooser.
61       *
62       * @return The default chooser panels.
63          //-------------------------------------------------------------     */
64          // Methods ----------------------------------------------------    public static AbstractColorChooserPanel[] getDefaultChooserPanels()
65          //-------------------------------------------------------------    {
66        AbstractColorChooserPanel[] values =
67          /**                                           {
68           * getDefaultChooserPanels                                             new DefaultSwatchChooserPanel(),
69           * @returns AbstractColorChooserPanel[]                                             new DefaultHSBChooserPanel(),
70           */                                             new DefaultRGBChooserPanel()
71          public static AbstractColorChooserPanel[] getDefaultChooserPanels() {                                           };
72                  return null; // TODO      return values;
73          } // getDefaultChooserPanels()    }
74    
75          /**    /**
76           * getPreviewPanel     * This method returns the default preview panel to be used with
77           * @returns JComponent     * JColorChoosers.
78           */     *
79          public static JComponent getPreviewPanel() {     * @return The default preview panel.
80                  return null; // TODO     */
81          } // getPreviewPanel()    public static JComponent getPreviewPanel()
82      {
83        return new DefaultPreviewPanel();
84      } // getPreviewPanel()
85  } // ColorChooserComponentFactory  } // ColorChooserComponentFactory

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26