Class FreeColCheckBoxUI.CheckBoxIcon

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.Icon, javax.swing.plaf.UIResource
    Enclosing class:
    FreeColCheckBoxUI

    private static class FreeColCheckBoxUI.CheckBoxIcon
    extends java.lang.Object
    implements javax.swing.Icon, javax.swing.plaf.UIResource, java.io.Serializable
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CheckBoxIcon()  
    • Constructor Detail

      • CheckBoxIcon

        private CheckBoxIcon()
    • Method Detail

      • getWidgetSize

        protected int getWidgetSize()
      • paintIcon

        public void paintIcon​(java.awt.Component c,
                              java.awt.Graphics g,
                              int x,
                              int y)
        Specified by:
        paintIcon in interface javax.swing.Icon
      • getIconWidth

        public int getIconWidth()
        Specified by:
        getIconWidth in interface javax.swing.Icon
      • getIconHeight

        public int getIconHeight()
        Specified by:
        getIconHeight in interface javax.swing.Icon