Class TitlebarIcon

java.lang.Object
com.github.weisj.darklaf.platform.windows.ui.TitlebarIcon
All Implemented Interfaces:
Icon

public class TitlebarIcon extends Object implements Icon
  • Constructor Details

    • TitlebarIcon

      public TitlebarIcon(Icon active, Icon inactive)
  • Method Details

    • setActive

      public void setActive(boolean active)
    • isActive

      public boolean isActive()
    • 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