Class BasicRibbonComponentUI

    • Field Detail

      • ribbonComponent

        protected JRibbonComponent ribbonComponent
        The associated ribbon component.
      • captionLabel

        private javax.swing.JLabel captionLabel
      • propertyChangeListener

        private java.beans.PropertyChangeListener propertyChangeListener
      • projectionPropertyChangeListener

        private java.beans.PropertyChangeListener projectionPropertyChangeListener
    • Constructor Detail

      • BasicRibbonComponentUI

        public BasicRibbonComponentUI()
    • Method Detail

      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.ComponentUI
      • uninstallUI

        public void uninstallUI​(javax.swing.JComponent c)
        Overrides:
        uninstallUI in class javax.swing.plaf.ComponentUI
      • installDefaults

        protected void installDefaults()
        Installs default parameters on the associated ribbon component.
      • installComponents

        protected void installComponents()
        Installs subcomponents on the associated ribbon component.
      • installListeners

        protected void installListeners()
        Installs listeners on the associated ribbon component.
      • uninstallDefaults

        protected void uninstallDefaults()
        Uninstalls default parameters from the associated ribbon component.
      • uninstallComponents

        protected void uninstallComponents()
        Uninstalls components from the associated ribbon component.
      • uninstallListeners

        protected void uninstallListeners()
        Uninstalls listeners from the associated ribbon component.
      • propagateEnabled

        private void propagateEnabled​(boolean enabled)
      • createLayoutManager

        protected java.awt.LayoutManager createLayoutManager()
      • paint

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

        protected abstract void paintIcon​(java.awt.Graphics g,
                                          JRibbonComponent ribbonComp,
                                          javax.swing.Icon icon,
                                          int x,
                                          int y)
      • getLayoutGap

        private int getLayoutGap()