Class FlatRootPaneUI.FlatWindowBorder

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.border.Border, javax.swing.plaf.UIResource
    Enclosing class:
    FlatRootPaneUI

    public static class FlatRootPaneUI.FlatWindowBorder
    extends javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
    Window border used for non-native window decorations.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.awt.Color activeBorderColor  
      protected java.awt.Color baseBorderColor  
      protected java.awt.Color inactiveBorderColor  
      • Fields inherited from class javax.swing.border.EmptyBorder

        bottom, left, right, top
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Insets getBorderInsets​(java.awt.Component c, java.awt.Insets insets)  
      protected boolean isWindowMaximized​(java.awt.Component c)  
      void paintBorder​(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)  
      private void paintImpl​(java.awt.Graphics2D g, int x, int y, int width, int height, double scaleFactor)  
      • Methods inherited from class javax.swing.border.EmptyBorder

        getBorderInsets, isBorderOpaque
      • 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
    • Field Detail

      • activeBorderColor

        protected final java.awt.Color activeBorderColor
      • inactiveBorderColor

        protected final java.awt.Color inactiveBorderColor
      • baseBorderColor

        protected final java.awt.Color baseBorderColor
    • Constructor Detail

      • FlatWindowBorder

        public FlatWindowBorder()
    • Method Detail

      • getBorderInsets

        public java.awt.Insets getBorderInsets​(java.awt.Component c,
                                               java.awt.Insets insets)
        Overrides:
        getBorderInsets in class javax.swing.border.EmptyBorder
      • 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.EmptyBorder
      • paintImpl

        private void paintImpl​(java.awt.Graphics2D g,
                               int x,
                               int y,
                               int width,
                               int height,
                               double scaleFactor)
      • isWindowMaximized

        protected boolean isWindowMaximized​(java.awt.Component c)