Class TwoIcon

  • All Implemented Interfaces:
    Icon

    public class TwoIcon
    extends Object
    implements Icon
    • Constructor Detail

      • TwoIcon

        public TwoIcon​(Icon leftIcon,
                       Icon rightIcon)
      • TwoIcon

        public TwoIcon​(Icon leftIcon,
                       Icon rightIcon,
                       int iconGap)
    • Method Detail

      • setIconGap

        public void setIconGap​(int iconGap)
      • setLeftIcon

        public void setLeftIcon​(Icon leftIcon)
      • setRightIcon

        public void setRightIcon​(Icon rightIcon)
      • getLeftIcon

        public Icon getLeftIcon()
      • getRightIcon

        public Icon getRightIcon()
      • getIconWidth

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

        public int getIconHeight()
        Specified by:
        getIconHeight in interface Icon