Package com.github.weisj.darklaf.icons
Interface UIAwareIcon
- All Superinterfaces:
DynamicIcon,Icon
- All Known Implementing Classes:
DarkUIAwareIcon,DefaultUIAwareIcon,LazyUIAwareIcon,SimpleUIAwareIcon
-
Method Summary
Methods inherited from interface javax.swing.Icon
getIconHeight, getIconWidth, paintIcon
-
Method Details
-
getDual
UIAwareIcon getDual()Return the dual version of the icon. i.e. if the current icon is light then the dual version will be dark and vice versa. Implementations of this method should respect that the appearance of the icon after invoking this method twice should be the same.- Returns:
- the dual icon.
-