public class LayeredBorder extends AbstractBorder
Border
implementation which layers two or more delegate borders atop of each other.Constructor and Description |
---|
LayeredBorder(Border... layers) |
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets(Component c,
Insets insets) |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
public LayeredBorder(Border... layers)
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
paintBorder
in class AbstractBorder
public Insets getBorderInsets(Component c, Insets insets)
getBorderInsets
in class AbstractBorder
Copyright © 2024 levigo holding gmbh. All rights reserved.