Klasse javax.swing.border.MatteBorder | 1.2 |
java.lang.Object | +--javax.swing.border.AbstractBorder | +--javax.swing.border.EmptyBorder | +--javax.swing.border.MatteBorder
Es wird empfohlen, die Klasse javax.swing.BorderFactory zum Erzeugen von Rahmen zu benutzen.
Datenelemente | |
---|---|
protected Color | color |
protected Icon | tileIcon |
Konstruktoren | |
---|---|
public | MatteBorder(int top, int left, int bottom, int right, Color matteColor) |
public | MatteBorder(Insets borderInsets, Color matteColor) |
public | MatteBorder(int top, int left, int bottom, int right, Icon tileIcon) |
public | MatteBorder(Insets borderInsets, Icon tileIcon) |
public | MatteBorder(Icon tileIcon) |
Methoden | |
---|---|
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 Insets | getBorderInsets() |
public Color | getMatteColor() |
public Icon | getTileIcon() |
public boolean | isBorderOpaque() |