Class FlatSeparatorUI

  • Direct Known Subclasses:
    FlatPopupMenuSeparatorUI

    public class FlatSeparatorUI
    extends javax.swing.plaf.basic.BasicSeparatorUI
    Provides the Flat LaF UI delegate for JSeparator.
    UiDefault:
    Separator.background Color unused, Separator.foreground Color , Separator.height int height (or width) of the component; may be larger than stripe, Separator.stripeWidth int width of the stripe, Separator.stripeIndent int indent of stripe from top (or left); allows positioning of stripe within component
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int height  
      protected int stripeIndent  
      protected int stripeWidth  
      • Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI

        highlight, shadow
    • Constructor Summary

      Constructors 
      Constructor Description
      FlatSeparatorUI()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)  
      java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)  
      protected java.lang.String getPropertyPrefix()  
      protected void installDefaults​(javax.swing.JSeparator s)  
      void paint​(java.awt.Graphics g, javax.swing.JComponent c)  
      protected void uninstallDefaults​(javax.swing.JSeparator s)  
      • Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI

        getMaximumSize, getMinimumSize, installListeners, installUI, uninstallListeners, uninstallUI
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
      • Methods inherited from class java.lang.Object

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

      • height

        protected int height
      • stripeWidth

        protected int stripeWidth
      • stripeIndent

        protected int stripeIndent
    • Constructor Detail

      • FlatSeparatorUI

        public FlatSeparatorUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • installDefaults

        protected void installDefaults​(javax.swing.JSeparator s)
        Overrides:
        installDefaults in class javax.swing.plaf.basic.BasicSeparatorUI
      • uninstallDefaults

        protected void uninstallDefaults​(javax.swing.JSeparator s)
        Overrides:
        uninstallDefaults in class javax.swing.plaf.basic.BasicSeparatorUI
      • getPropertyPrefix

        protected java.lang.String getPropertyPrefix()
      • paint

        public void paint​(java.awt.Graphics g,
                          javax.swing.JComponent c)
        Overrides:
        paint in class javax.swing.plaf.basic.BasicSeparatorUI
      • getPreferredSize

        public java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
        Overrides:
        getPreferredSize in class javax.swing.plaf.basic.BasicSeparatorUI