KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > plaf > metal > MetalSplitPaneUI


1 /*
2  * @(#)MetalSplitPaneUI.java 1.10 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.metal;
9
10 import javax.swing.*;
11 import javax.swing.plaf.*;
12 import javax.swing.plaf.basic.*;
13
14 /**
15  * Metal split pane.
16  * <p>
17  * <strong>Warning:</strong>
18  * Serialized objects of this class will not be compatible with
19  * future Swing releases. The current serialization support is
20  * appropriate for short term storage or RMI between applications running
21  * the same version of Swing. As of 1.4, support for long term storage
22  * of all JavaBeans<sup><font size="-2">TM</font></sup>
23  * has been added to the <code>java.beans</code> package.
24  * Please see {@link java.beans.XMLEncoder}.
25  *
26  * @version 1.10 12/19/03
27  * @author Steve Wilson
28  */

29 public class MetalSplitPaneUI extends BasicSplitPaneUI
30 {
31
32
33     /**
34       * Creates a new MetalSplitPaneUI instance
35       */

36     public static ComponentUI createUI(JComponent x) {
37     return new MetalSplitPaneUI JavaDoc();
38     }
39
40     /**
41       * Creates the default divider.
42       */

43     public BasicSplitPaneDivider createDefaultDivider() {
44     return new MetalSplitPaneDivider JavaDoc(this);
45     }
46 }
47
Popular Tags