35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
38 |
|
|
39 |
package javax.swing.border; |
package javax.swing.border; |
40 |
|
|
41 |
import java.awt.*; |
import java.awt.Component; |
42 |
|
import java.awt.Graphics; |
43 |
|
import java.awt.Insets; |
44 |
|
|
45 |
public interface Border |
public interface Border |
46 |
{ |
{ |
47 |
public Insets getBorderInsets(Component c); |
public Insets getBorderInsets (Component c); |
48 |
public boolean isBorderOpaque(); |
public boolean isBorderOpaque (); |
49 |
public void paintBorder(Component c, |
public void paintBorder (Component c, Graphics g, int x, int y, |
50 |
Graphics g, |
int width, int height); |
|
int x, |
|
|
int y, |
|
|
int width, |
|
|
int height); |
|
51 |
} |
} |