public void setRotation ( int rotation ) { if ( isJB ( ) ) { this . rotation = rotation ; } else { ShadowDisplayManager . changeDisplay ( realObject . getDisplayId ( ) , di -> di . rotation = rotation ) ; } }
Changes the rotation for this display .