KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)SplitPaneUI.java 1.16 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.JSplitPane JavaDoc;
11 import java.awt.Graphics JavaDoc;
12
13 /**
14  * Pluggable look and feel interface for JSplitPane.
15  *
16  * @version 1.16 12/19/03
17  * @author Scott Violet
18  */

19 public abstract class SplitPaneUI extends ComponentUI JavaDoc
20 {
21     /**
22      * Messaged to relayout the JSplitPane based on the preferred size
23      * of the children components.
24      */

25     public abstract void resetToPreferredSizes(JSplitPane JavaDoc jc);
26
27     /**
28      * Sets the location of the divider to location.
29      */

30     public abstract void setDividerLocation(JSplitPane JavaDoc jc, int location);
31
32     /**
33      * Returns the location of the divider.
34      */

35     public abstract int getDividerLocation(JSplitPane JavaDoc jc);
36
37     /**
38      * Returns the minimum possible location of the divider.
39      */

40     public abstract int getMinimumDividerLocation(JSplitPane JavaDoc jc);
41
42     /**
43      * Returns the maximum possible location of the divider.
44      */

45     public abstract int getMaximumDividerLocation(JSplitPane JavaDoc jc);
46
47     /**
48      * Messaged after the JSplitPane the receiver is providing the look
49      * and feel for paints its children.
50      */

51     public abstract void finishedPaintingChildren(JSplitPane JavaDoc jc, Graphics JavaDoc g);
52 }
53
Popular Tags