1 |
/* InsetsUIResource.java |
/* InsetsUIResource.java |
2 |
Copyright (C) 2002 Free Software Foundation, Inc. |
Copyright (C) 2003 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
37 |
|
|
38 |
|
|
39 |
package javax.swing.plaf; |
package javax.swing.plaf; |
40 |
|
|
41 |
import java.awt.Insets; |
import java.awt.Insets; |
42 |
|
import java.io.Serializable; |
43 |
|
|
44 |
|
|
45 |
/** |
/** |
46 |
* STUBBED |
* An <code>Insets</code> that is marked as <code>UIResource</code>, |
47 |
|
* which indicates that it has been installed by a pluggable |
48 |
|
* LookAndFeel. Such insets are replaced when the LookAndFeel changes. |
49 |
|
* |
50 |
|
* @author Andrew Selkirk (aselkirk@sympatico.ca) |
51 |
|
* @author Sascha Brawer (brawer@dandelis.ch) |
52 |
*/ |
*/ |
53 |
public class InsetsUIResource extends Insets implements UIResource |
public class InsetsUIResource |
54 |
|
extends Insets |
55 |
|
implements Cloneable, UIResource, Serializable |
56 |
{ |
{ |
57 |
|
/** |
58 |
|
* Determined using the <code>serialver</code> tool |
59 |
|
* of Apple/Sun JDK 1.3.1 on MacOS X 10.1.5. |
60 |
|
*/ |
61 |
|
static final long serialVersionUID = 5622110143266315421L; |
62 |
|
|
63 |
|
|
64 |
|
/** |
65 |
|
* Constructs a new <code>InsetsUIResource</code> given the |
66 |
|
* inset at each edge. |
67 |
|
* |
68 |
|
* @param top the inset at the top, in pixels. |
69 |
|
* @param left the inset at the left, in pixels. |
70 |
|
* @param bottom the inset at the bottom, in pixels. |
71 |
|
* @param right the inset at the right, in pixels. |
72 |
|
*/ |
73 |
public InsetsUIResource(int top, int left, int bottom, int right) |
public InsetsUIResource(int top, int left, int bottom, int right) |
74 |
{ |
{ |
75 |
super(top, left, bottom, right); |
super(top, left, bottom, right); |
76 |
} |
} |
77 |
} // class InsetsUIResource |
} |