Class OverlayIcon

java.lang.Object
com.github.weisj.darklaf.icons.OverlayIcon
All Implemented Interfaces:
Icon

public class OverlayIcon extends Object implements Icon
  • Constructor Details

    • OverlayIcon

      public OverlayIcon(Icon icon, Icon overlay, com.github.weisj.darklaf.util.Alignment alignment)
  • Method Details

    • getIcon

      public Icon getIcon()
    • setIcon

      public void setIcon(Icon icon)
    • setOverlay

      public void setOverlay(Icon overlay)
    • setAlignment

      public void setAlignment(com.github.weisj.darklaf.util.Alignment alignment)
    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • getIconWidth

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

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