KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > java > swing > plaf > motif > MotifSplitPaneUI


1 /*
2  * @(#)MotifSplitPaneUI.java 1.15 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 com.sun.java.swing.plaf.motif;
9
10 import javax.swing.plaf.basic.BasicSplitPaneUI JavaDoc;
11 import javax.swing.plaf.basic.BasicSplitPaneDivider JavaDoc;
12 import javax.swing.plaf.*;
13 import javax.swing.*;
14 import java.awt.*;
15
16 /**
17  * Motif rendition of a split pane.
18  * <p>
19  * <strong>Warning:</strong>
20  * Serialized objects of this class will not be compatible with
21  * future Swing releases. The current serialization support is appropriate
22  * for short term storage or RMI between applications running the same
23  * version of Swing. A future release of Swing will provide support for
24  * long term persistence.
25  *
26  * @version 1.15 12/19/03
27  * @author Jeff Dinkins
28  */

29 public class MotifSplitPaneUI extends BasicSplitPaneUI JavaDoc
30 {
31     public MotifSplitPaneUI() {
32     super();
33     }
34
35     /**
36       * Creates a new MotifSplitPaneUI instance
37       */

38     public static ComponentUI createUI(JComponent x) {
39     return new MotifSplitPaneUI();
40     }
41
42     /**
43       * Creates the default divider.
44       */

45     public BasicSplitPaneDivider JavaDoc createDefaultDivider() {
46     return new MotifSplitPaneDivider(this);
47     }
48
49 }
50
Popular Tags