Package com.github.weisj.darklaf.icons
Class SolidColorIcon
- java.lang.Object
-
- com.github.weisj.darklaf.icons.SolidColorIcon
-
-
Constructor Summary
Constructors Constructor Description SolidColorIcon()SolidColorIcon(Color color)SolidColorIcon(Color color, int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetColor()intgetIconHeight()intgetIconWidth()voidpaintIcon(Component c, Graphics g, int x, int y)voidsetColor(Color c)
-
-
-
Method Detail
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeightin interfaceIcon
-
getColor
public Color getColor()
-
setColor
public void setColor(Color c)
-
-