Package com.github.weisj.darklaf.icons
Class RotatableIcon
java.lang.Object
com.github.weisj.darklaf.icons.RotatableIcon
- All Implemented Interfaces:
Icon
public class RotatableIcon extends Object implements Icon
-
Constructor Summary
Constructors Constructor Description RotatableIcon()RotatableIcon(Icon icon) -
Method Summary
Modifier and Type Method Description intgetIconHeight()intgetIconWidth()com.github.weisj.darklaf.util.AlignmentgetOrientation()voidpaintIcon(Component c, Graphics g, int x, int y)voidsetIcon(Icon icon)voidsetOrientation(com.github.weisj.darklaf.util.Alignment alignment)
-
Constructor Details
-
RotatableIcon
public RotatableIcon() -
RotatableIcon
-
-
Method Details
-
setIcon
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getOrientation
public com.github.weisj.darklaf.util.Alignment getOrientation() -
setOrientation
public void setOrientation(com.github.weisj.darklaf.util.Alignment alignment)
-