KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > plaf > OptionPaneUI


1 /*
2  * @(#)OptionPaneUI.java 1.12 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.swing.plaf;
9
10 import javax.swing.JOptionPane JavaDoc;
11
12 /**
13  * Pluggable look and feel interface for JOptionPane.
14  *
15  * @version 1.12 12/19/03
16  * @author Scott Violet
17  */

18
19 public abstract class OptionPaneUI extends ComponentUI JavaDoc
20 {
21     /**
22      * Requests the component representing the default value to have
23      * focus.
24      */

25     public abstract void selectInitialValue(JOptionPane JavaDoc op);
26
27     /**
28      * Returns true if the user has supplied instances of Component for
29      * either the options or message.
30      */

31     public abstract boolean containsCustomComponents(JOptionPane JavaDoc op);
32 }
33
Popular Tags