| Klasse javax.swing.border.LineBorder | 1.2 |
java.lang.Object
|
+--javax.swing.border.AbstractBorder
|
+--javax.swing.border.LineBorder
Es wird empfohlen, die Klasse javax.swing.BorderFactory zum Erzeugen von Rahmen zu benutzen.
| Datenelemente | |
|---|---|
| protected int | thickness |
| protected Color | lineColor |
| protected boolean | roundedCorners |
| Konstruktoren | |
|---|---|
| public | LineBorder(Color color) |
| public | LineBorder(Color color, int thickness) |
| public | LineBorder(Color color, int thickness, boolean roundedCorners) ![]() |
| Methoden | |
|---|---|
| public static Border | createBlackLineBorder() |
| public static Border | createGrayLineBorder() |
| public void | paintBorder(Component c, Graphics g, int x, int y, int width, int height) |
| public Insets | getBorderInsets(Component c) |
| public Insets | getBorderInsets(Component c, Insets insets) |
| public Color | getLineColor() |
| public int | getThickness() |
| public boolean | getRoundedCorners() |
| public boolean | isBorderOpaque() |
![[1.3]](../../images/marg13.gif)