Class RadianceCommandButtonPanelUI

    • Constructor Detail

      • RadianceCommandButtonPanelUI

        private RadianceCommandButtonPanelUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent comp)
      • getGroupTitleHeight

        protected int getGroupTitleHeight​(int groupIndex)
        Description copied from class: BasicCommandButtonPanelUI
        Returns the height of the group title strip.
        Specified by:
        getGroupTitleHeight in class BasicCommandButtonPanelUI
        Parameters:
        groupIndex - Group index.
        Returns:
        The height of the title strip of the specified group.
      • paintGroupBackground

        protected void paintGroupBackground​(java.awt.Graphics g,
                                            int groupIndex,
                                            int x,
                                            int y,
                                            int width,
                                            int height)
        Description copied from class: BasicCommandButtonPanelUI
        Paints the background of the specified button panel group.
        Specified by:
        paintGroupBackground in class BasicCommandButtonPanelUI
        Parameters:
        g - Graphics context.
        groupIndex - Group index.
        x - X coordinate of the button group bounds.
        y - Y coordinate of the button group bounds.
        width - Width of the button group bounds.
        height - Height of the button group bounds.
      • paintGroupTitleBackground

        protected void paintGroupTitleBackground​(java.awt.Graphics g,
                                                 int groupIndex,
                                                 int x,
                                                 int y,
                                                 int width,
                                                 int height)
        Description copied from class: BasicCommandButtonPanelUI
        Paints the background of the title of specified button panel group.
        Specified by:
        paintGroupTitleBackground in class BasicCommandButtonPanelUI
        Parameters:
        g - Graphics context.
        groupIndex - Group index.
        x - X coordinate of the button group title bounds.
        y - Y coordinate of the button group title bounds.
        width - Width of the button group title bounds.
        height - Height of the button group title bounds.
      • update

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