1 Clazz.declarePackage ("javax.swing.border");
\r
2 Clazz.load (["javax.swing.border.AbstractBorder"], "javax.swing.border.EmptyBorder", ["java.awt.Insets"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
8 Clazz.instantialize (this, arguments);
\r
9 }, javax.swing.border, "EmptyBorder", javax.swing.border.AbstractBorder);
\r
10 Clazz.makeConstructor (c$,
\r
11 function (top, left, bottom, right) {
\r
12 Clazz.superConstructor (this, javax.swing.border.EmptyBorder, []);
\r
15 this.bottom = bottom;
\r
18 Clazz.makeConstructor (c$,
\r
19 function (borderInsets) {
\r
20 Clazz.superConstructor (this, javax.swing.border.EmptyBorder, []);
\r
21 this.top = borderInsets.top;
\r
22 this.right = borderInsets.right;
\r
23 this.bottom = borderInsets.bottom;
\r
24 this.left = borderInsets.left;
\r
25 }, "java.awt.Insets");
\r
26 Clazz.overrideMethod (c$, "paintBorder",
\r
27 function (c, g, x, y, width, height) {
\r
28 }, "java.awt.Component,java.awt.Graphics,~N,~N,~N,~N");
\r
29 Clazz.defineMethod (c$, "getBorderInsets",
\r
31 return this.getBorderInsets ();
\r
32 }, "java.awt.Component");
\r
33 Clazz.defineMethod (c$, "getBorderInsets",
\r
34 function (c, insets) {
\r
35 insets.left = this.left;
\r
36 insets.top = this.top;
\r
37 insets.right = this.right;
\r
38 insets.bottom = this.bottom;
\r
40 }, "java.awt.Component,java.awt.Insets");
\r
41 Clazz.defineMethod (c$, "getBorderInsets",
\r
43 return new java.awt.Insets (this.top, this.left, this.bottom, this.right);
\r
45 Clazz.overrideMethod (c$, "isBorderOpaque",
\r