JYButton
implements the
IRotatableComponent
interface. The component supports left and right rotation which means +90/-90 degrees.
All relevant lines are highlighted. Press the
"Run..."
button to start the demo.