Package com.github.weisj.darklaf.icons
Class ToggleIcon
java.lang.Object
com.github.weisj.darklaf.icons.ToggleIcon
- All Implemented Interfaces:
Icon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanisActive()booleanvoidvoidsetActive(boolean active)voidsetChooseAlternativeIcon(boolean chooseAlternative)
-
Constructor Details
-
ToggleIcon
-
-
Method Details
-
setChooseAlternativeIcon
public void setChooseAlternativeIcon(boolean chooseAlternative) -
isChooseAlternativeIcon
public boolean isChooseAlternativeIcon() -
setActive
public void setActive(boolean active) -
isActive
public boolean isActive() -
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-