1 /* ====================================================================
2  *
3  * Skin Look And Feel 6.7 License.
4  *
5  * Copyright (c) 2000-2006 L2FProd.com.  All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  *
11  * 1. Redistributions of source code must retain the above copyright
12  *    notice, this list of conditions and the following disclaimer.
13  *
14  * 2. Redistributions in binary form must reproduce the above copyright
15  *    notice, this list of conditions and the following disclaimer in
16  *    the documentation and/or other materials provided with the
17  *    distribution.
18  *
19  * 3. The end-user documentation included with the redistribution, if
20  *    any, must include the following acknowlegement:
21  *       "This product includes software developed by L2FProd.com
22  *        (http://www.L2FProd.com/)."
23  *    Alternately, this acknowlegement may appear in the software itself,
24  *    if and wherever such third-party acknowlegements normally appear.
25  *
26  * 4. The names "Skin Look And Feel", "SkinLF" and "L2FProd.com" must not
27  *    be used to endorse or promote products derived from this software
28  *    without prior written permission. For written permission, please
29  *    contact info@L2FProd.com.
30  *
31  * 5. Products derived from this software may not be called "SkinLF"
32  *    nor may "SkinLF" appear in their names without prior written
33  *    permission of L2FProd.com.
34  *
35  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
36  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
37  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
38  * DISCLAIMED.  IN NO EVENT SHALL L2FPROD.COM OR ITS CONTRIBUTORS BE
39  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
40  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
41  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
42  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
43  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
44  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
45  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46  * ====================================================================
47  */
48 package com.l2fprod.gui.plaf.skin;
49 
50 /**
51  * Skin SplitPane. <br>
52  *
53  *
54  * @author    $Author: l2fprod $
55  * @created   27 avril 2002
56  * @version   $Revision: 1.1 $, $Date: 2003/08/01 20:04:39 $
57  */
58 public interface SkinSplitPane extends SkinComponent {
59 
60   /**
61    * Gets the PreferredSize attribute of the SkinSplitPane object
62    *
63    * @param splitpane  Description of Parameter
64    * @return           The PreferredSize value
65    */
getPreferredSize(javax.swing.JSplitPane splitpane)66   java.awt.Dimension getPreferredSize(javax.swing.JSplitPane splitpane);
67 
68   /**
69    * Gets the ArrowPreferredSize attribute of the SkinSplitPane object
70    *
71    * @param direction  Description of Parameter
72    * @return           The ArrowPreferredSize value
73    */
getArrowPreferredSize(int direction)74   java.awt.Dimension getArrowPreferredSize(int direction);
75 
76   /**
77    * Description of the Method
78    *
79    * @param g          Description of Parameter
80    * @param b          Description of Parameter
81    * @param direction  Description of Parameter
82    * @return           Description of the Returned Value
83    */
paintArrow(java.awt.Graphics g, javax.swing.AbstractButton b, int direction)84   boolean paintArrow(java.awt.Graphics g, javax.swing.AbstractButton b, int direction);
85 
86   /**
87    * Description of the Method
88    *
89    * @param g        Description of Parameter
90    * @param divider  Description of Parameter
91    * @param d        Description of Parameter
92    * @return         Description of the Returned Value
93    */
paintGutter(java.awt.Graphics g, javax.swing.JSplitPane divider, java.awt.Dimension d)94   boolean paintGutter(java.awt.Graphics g, javax.swing.JSplitPane divider, java.awt.Dimension d);
95 
96   /**
97    * Description of the Method
98    *
99    * @param g        Description of Parameter
100    * @param divider  Description of Parameter
101    * @param d        Description of Parameter
102    * @return         Description of the Returned Value
103    */
paintThumb(java.awt.Graphics g, javax.swing.JSplitPane divider, java.awt.Dimension d)104   boolean paintThumb(java.awt.Graphics g, javax.swing.JSplitPane divider, java.awt.Dimension d);
105 
106 }
107