com.levigo.util.swing.borders
Class LayeredBorder
java.lang.Object
javax.swing.border.AbstractBorder
com.levigo.util.swing.borders.LayeredBorder
- All Implemented Interfaces:
- Serializable, Border
public class LayeredBorder
- extends AbstractBorder
A Border
implementation which layers two or more delegate borders atop of each other.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayeredBorder
public LayeredBorder(Border... layers)
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder
in interface Border
- Overrides:
paintBorder
in class AbstractBorder
getBorderInsets
public Insets getBorderInsets(Component c,
Insets insets)
- Overrides:
getBorderInsets
in class AbstractBorder
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.