Class RotatableIcon

  • All Implemented Interfaces:
    Icon

    public class RotatableIcon
    extends Object
    implements Icon
    • Constructor Detail

      • RotatableIcon

        public RotatableIcon()
      • RotatableIcon

        public RotatableIcon​(Icon icon)
    • Method Detail

      • setIcon

        public void setIcon​(Icon icon)
      • getIcon

        public Icon getIcon()
      • getAngle

        public double getAngle()
      • getIconWidth

        public int getIconWidth()
        Specified by:
        getIconWidth in interface Icon
      • getIconHeight

        public int getIconHeight()
        Specified by:
        getIconHeight in interface Icon
      • getOrientation

        public com.github.weisj.darklaf.util.Alignment getOrientation()
      • setOrientation

        public void setOrientation​(com.github.weisj.darklaf.util.Alignment alignment)
      • setRotation

        public void setRotation​(double angle)