Class FlatSeparatorUI

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean defaults_initialized  
      protected int height  
      private java.util.Map<java.lang.String,​java.lang.Object> oldStyleValues  
      private boolean shared  
      protected int stripeIndent  
      protected int stripeWidth  
      • Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI

        highlight, shadow
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FlatSeparatorUI​(boolean shared)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void applyStyle​(javax.swing.JSeparator s, java.lang.Object style)  
      protected java.lang.Object applyStyleProperty​(javax.swing.JSeparator s, java.lang.String key, java.lang.Object value)  
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)  
      java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)  
      protected java.lang.String getPropertyPrefix()  
      java.util.Map<java.lang.String,​java.lang.Class<?>> getStyleableInfos​(javax.swing.JComponent c)  
      java.lang.Object getStyleableValue​(javax.swing.JComponent c, java.lang.String key)  
      (package private) java.lang.String getStyleType()  
      protected void installDefaults​(javax.swing.JSeparator s)  
      protected void installListeners​(javax.swing.JSeparator s)  
      protected void installStyle​(javax.swing.JSeparator s)  
      void installUI​(javax.swing.JComponent c)  
      void paint​(java.awt.Graphics g, javax.swing.JComponent c)  
      void propertyChange​(java.beans.PropertyChangeEvent e)  
      protected void uninstallDefaults​(javax.swing.JSeparator s)  
      protected void uninstallListeners​(javax.swing.JSeparator s)  
      • Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI

        getMaximumSize, getMinimumSize, 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
      • shared

        private final boolean shared
      • defaults_initialized

        private boolean defaults_initialized
      • oldStyleValues

        private java.util.Map<java.lang.String,​java.lang.Object> oldStyleValues
    • Constructor Detail

      • FlatSeparatorUI

        protected FlatSeparatorUI​(boolean shared)
        Since:
        2
    • Method Detail

      • createUI

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

        protected java.lang.String getPropertyPrefix()
      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.basic.BasicSeparatorUI
      • 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
      • installListeners

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

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

        public void propertyChange​(java.beans.PropertyChangeEvent e)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
        Since:
        2.0.1
      • installStyle

        protected void installStyle​(javax.swing.JSeparator s)
        Since:
        2
      • getStyleType

        java.lang.String getStyleType()
        Since:
        2
      • applyStyle

        protected void applyStyle​(javax.swing.JSeparator s,
                                  java.lang.Object style)
        Since:
        2
      • applyStyleProperty

        protected java.lang.Object applyStyleProperty​(javax.swing.JSeparator s,
                                                      java.lang.String key,
                                                      java.lang.Object value)
        Since:
        2
      • 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