Class FlatMenuBarBorder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object applyStyleProperty​(java.lang.String key, java.lang.Object value)  
      java.awt.Insets getBorderInsets​(java.awt.Component c, java.awt.Insets insets)  
      java.util.Map<java.lang.String,​java.lang.Class<?>> getStyleableInfos()  
      java.lang.Object getStyleableValue​(java.lang.String key)  
      void paintBorder​(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)  
      protected boolean showBottomSeparator​(java.awt.Component c)  
      • Methods inherited from class javax.swing.border.AbstractBorder

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

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

      • borderColor

        protected java.awt.Color borderColor
    • Constructor Detail

      • FlatMenuBarBorder

        public FlatMenuBarBorder()
    • Method Detail

      • paintBorder

        public void paintBorder​(java.awt.Component c,
                                java.awt.Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
        Specified by:
        paintBorder in interface javax.swing.border.Border
        Overrides:
        paintBorder in class javax.swing.border.AbstractBorder
      • getBorderInsets

        public java.awt.Insets getBorderInsets​(java.awt.Component c,
                                               java.awt.Insets insets)
        Overrides:
        getBorderInsets in class FlatMarginBorder
      • showBottomSeparator

        protected boolean showBottomSeparator​(java.awt.Component c)
        Since:
        2