Class HeaderLabelBorder

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.border.Border

    public class HeaderLabelBorder
    extends javax.swing.border.TitledBorder
    A titled border that uses the Designer's bold 11-font label as a title, and no border.
    See Also:
    Serialized Form
    • Field Summary

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

        ABOVE_BOTTOM, ABOVE_TOP, BELOW_BOTTOM, BELOW_TOP, border, BOTTOM, CENTER, DEFAULT_JUSTIFICATION, DEFAULT_POSITION, EDGE_SPACING, LEADING, LEFT, RIGHT, TEXT_INSET_H, TEXT_SPACING, title, titleColor, titleFont, titleJustification, titlePosition, TOP, TRAILING
    • Constructor Summary

      Constructors 
      Constructor Description
      HeaderLabelBorder​(java.lang.String title)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Insets getBorderInsets​(java.awt.Component c, java.awt.Insets insets)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class javax.swing.border.TitledBorder

        getBaseline, getBaselineResizeBehavior, getBorder, getFont, getMinimumSize, getTitle, getTitleColor, getTitleFont, getTitleJustification, getTitlePosition, isBorderOpaque, paintBorder, setBorder, setTitle, setTitleColor, setTitleFont, setTitleJustification, setTitlePosition
      • Methods inherited from class javax.swing.border.AbstractBorder

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HeaderLabelBorder

        public HeaderLabelBorder​(java.lang.String title)
    • Method Detail

      • getBorderInsets

        public java.awt.Insets getBorderInsets​(java.awt.Component c,
                                               java.awt.Insets insets)
        Overrides:
        getBorderInsets in class javax.swing.border.TitledBorder
      • main

        public static void main​(java.lang.String[] args)