Package ca.cgjennings.ui
Class ThemedMatteBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- javax.swing.border.MatteBorder
-
- ca.cgjennings.ui.ThemedMatteBorder
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.border.Border
public class ThemedMatteBorder extends javax.swing.border.MatteBorder
A matte border whose default style matches the currentTheme
.- Author:
- Chris Jennings
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThemedMatteBorder()
Creates a themed border with one-pixel thick border on all sides.ThemedMatteBorder(int bottom)
Creates a themed border with a bottom border of the specified thickness.ThemedMatteBorder(int top, int left, int bottom, int right)
Creates a themed border with the specified border thicknesses.ThemedMatteBorder(java.awt.Insets insets)
Creates a themed border with the specified border thicknesses.
-
Method Summary
-
Methods inherited from class javax.swing.border.MatteBorder
getBorderInsets, getBorderInsets, getMatteColor, getTileIcon, isBorderOpaque, paintBorder
-
-
-
-
Constructor Detail
-
ThemedMatteBorder
public ThemedMatteBorder()
Creates a themed border with one-pixel thick border on all sides.
-
ThemedMatteBorder
public ThemedMatteBorder(int top, int left, int bottom, int right)
Creates a themed border with the specified border thicknesses.
-
ThemedMatteBorder
public ThemedMatteBorder(int bottom)
Creates a themed border with a bottom border of the specified thickness.
-
ThemedMatteBorder
public ThemedMatteBorder(java.awt.Insets insets)
Creates a themed border with the specified border thicknesses.
-
-