/[classpath]/classpath/javax/swing/plaf/OptionPaneUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/OptionPaneUI.java

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

revision 1.3 by egagnon, Sun Aug 11 20:08:43 2002 UTC revision 1.4 by brawer, Tue Jun 24 16:29:04 2003 UTC
# Line 1  Line 1 
1  /* OptionPaneUI.java  /* OptionPaneUI.java
2     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2003 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# 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.plaf;  package javax.swing.plaf;
 import javax.accessibility.*;  
39    
40  public class OptionPaneUI extends ComponentUI  import javax.swing.JOptionPane;
41    
42    /**
43     * An abstract base class for delegates that implement the pluggable
44     * look and feel for a <code>JOptionPane</code>.
45     *
46     * @see javax.swing.JOptionPane
47     *
48     * @author Sascha Brawer (brawer@dandelis.ch)
49     */
50    public abstract class OptionPaneUI
51      extends ComponentUI
52  {  {
53      /**
54       * Gives keyboard input focus to the component that represents
55       * the default value.
56       *
57       * @param pane the <code>JOptionPane</code> for which this delegate
58       *        object provides the pluggable user interface.
59       */
60      public abstract void selectInitialValue(JOptionPane pane);
61    
62    
63      /**
64       * Determines whether the user has provided custom components
65       * for the options or the message.
66       *
67       * @param pane the <code>JOptionPane</code> for which this delegate
68       *        object provides the pluggable user interface.
69       *
70       * @return <code>true</code> if the user has supplied any custom
71       *         components; <code>false</code> if all components are
72       *         provided by Swing or a LookAndFeel.
73       */
74      public abstract boolean containsCustomComponents(JOptionPane pane);
75  }  }

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

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