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

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

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

revision 1.3.2.3 by gnu_andrew, Tue Aug 2 20:12:37 2005 UTC revision 1.3.2.4 by gnu_andrew, Wed Nov 2 00:43:49 2005 UTC
# Line 1  Line 1 
1  /* AbstractColorChooserPanel.java --  /* AbstractColorChooserPanel.java --
2     Copyright (C) 2002, 2004  Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 64  public abstract class AbstractColorChoos Line 64  public abstract class AbstractColorChoos
64     */     */
65    public AbstractColorChooserPanel()    public AbstractColorChooserPanel()
66    {    {
67    } // AbstractColorChooserPanel()      // Nothing to do here.
68      }
69    
70    /**    /**
71     * This method returns the name displayed in the tab for this chooser panel.     * This method returns the name displayed in the tab for this chooser panel.
# Line 74  public abstract class AbstractColorChoos Line 75  public abstract class AbstractColorChoos
75    public abstract String getDisplayName();    public abstract String getDisplayName();
76    
77    /**    /**
78       * Returns the key code for the mnemonic for this panel.  This method returns
79       * zero to indicate no mnemonic, subclasses can override this.
80       *
81       * @return <code>0</code>, to indicate no mnemonic key code.
82       *
83       * @see #getDisplayedMnemonicIndex()
84       * @since 1.4
85       */
86      public int getMnemonic()
87      {
88        return 0;
89      }
90      
91      /**
92       * Returns the index of the character in the display name that is the
93       * mnemonic.  This method returns <code>-1</code> to indicate no mnemonic,
94       * subclasses can override.
95       *
96       * @return <code>-1</code>, to indicate no mnemonic.
97       *
98       * @see #getDisplayName()
99       * @see #getMnemonic()
100       * @since 1.4
101       */
102      public int getDisplayedMnemonicIndex()
103      {
104        return -1;
105      }
106      
107      /**
108     * This method updates the chooser panel when the JColorChooser's color has     * This method updates the chooser panel when the JColorChooser's color has
109     * changed.     * changed.
110     */     */

Legend:
Removed from v.1.3.2.3  
changed lines
  Added in v.1.3.2.4

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