Class BasicRibbonComponentUI

java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.flamingo.internal.ui.ribbon.RibbonComponentUI
org.pushingpixels.flamingo.internal.ui.ribbon.BasicRibbonComponentUI

public class BasicRibbonComponentUI extends RibbonComponentUI
  • Field Details

  • Constructor Details

    • BasicRibbonComponentUI

      public BasicRibbonComponentUI()
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent c)
    • 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.
    • getKeyTipAnchorCenterPoint

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

      protected LayoutManager createLayoutManager()
    • paint

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

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

      protected int getLayoutGap()
    • createDisabledIcon

      protected ResizableIcon createDisabledIcon()
    • isIconVisible

      protected boolean isIconVisible(RibbonElementPriority displayPriority)
    • isCaptionVisible

      protected boolean isCaptionVisible(RibbonElementPriority displayPriority)
    • getPreferredSize

      public Dimension getPreferredSize(RibbonElementPriority priority)
      Specified by:
      getPreferredSize in class RibbonComponentUI