Class 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 current Theme.
    Author:
    Chris Jennings
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.border.MatteBorder

        color, tileIcon
      • Fields inherited from class javax.swing.border.EmptyBorder

        bottom, left, right, top
    • 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
      • Methods inherited from class javax.swing.border.AbstractBorder

        getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.