Class BasicRibbonComponentUI

java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.radiance.component.internal.ui.ribbon.RibbonComponentUI
org.pushingpixels.radiance.component.internal.ui.ribbon.BasicRibbonComponentUI
Direct Known Subclasses:
RadianceRibbonComponentUI

public abstract class BasicRibbonComponentUI extends RibbonComponentUI
  • Field Details

  • Constructor Details

    • BasicRibbonComponentUI

      public BasicRibbonComponentUI()
  • Method Details

    • installUI

      public void installUI(JComponent c)
      Overrides:
      installUI in class ComponentUI
    • uninstallUI

      public void uninstallUI(JComponent c)
      Overrides:
      uninstallUI in class 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)
    • getKeyTipAnchorCenterPoint

      public Point getKeyTipAnchorCenterPoint()
      Specified by:
      getKeyTipAnchorCenterPoint in class RibbonComponentUI
    • getFocusSequence

      public List<JComponent> getFocusSequence()
      Specified by:
      getFocusSequence in class RibbonComponentUI
    • createLayoutManager

      protected LayoutManager createLayoutManager()
    • paint

      public void paint(Graphics g, JComponent c)
      Overrides:
      paint in class ComponentUI
    • paintIcon

      protected abstract void paintIcon(Graphics g, JRibbonComponent ribbonComp, Icon icon, int x, int y)
    • getLayoutGap

      private int getLayoutGap()
    • isIconVisible

      private boolean isIconVisible(JRibbonBand.PresentationPriority presentationPriority)
    • isCaptionVisible

      private boolean isCaptionVisible(JRibbonBand.PresentationPriority presentationPriority)
    • getPreferredSize

      public Dimension getPreferredSize(JRibbonBand.PresentationPriority priority)
      Specified by:
      getPreferredSize in class RibbonComponentUI