Module java.desktop

Class BasicRadioButtonUI

    • Field Detail

      • icon

        protected Icon icon
        The icon.
    • Constructor Detail

      • BasicRadioButtonUI

        public BasicRadioButtonUI()
    • Method Detail

      • createUI

        public static ComponentUI createUI​(JComponent b)
        Returns an instance of BasicRadioButtonUI.
        Parameters:
        b - a component
        Returns:
        an instance of BasicRadioButtonUI
      • getDefaultIcon

        public Icon getDefaultIcon()
        Returns the default icon.
        Returns:
        the default icon
      • paintFocus

        protected void paintFocus​(Graphics g,
                                  Rectangle textRect,
                                  Dimension size)
        Paints focused radio button.
        Parameters:
        g - an instance of Graphics
        textRect - bounds
        size - the size of radio button