Skip to main content

SlideRotate

class SlideRotate

Object rotation slider component.


public class SlideRotate extends Component

— Constructors (1) —

ConstructorDescription
SlideRotate()Creates a new instance of SlideRotate.

— Enumerators (1) —

    public enum Direction {
Vertical, Horizontal
}

— Methods (14) —

NameDescription
String getAxisName()Returns a String with the name of the current SlideRotate axis.
float getCurrentAngle()Returns the current angle of the SlideRotate.
[Direction] getDirection()Returns the current direction of the SlideRotate.
float getMaxAngle()Returns the current maximum angle of the SlideRotate.
float getMinAngle()Returns the current minimum angle of the SlideRotate.
float getSensibility()Returns the value of the current sensitivity of the SlideRotate.
boolean] isLimited()Returns true if "isLimit" is checked, returns false if not.
void setAxisName(String value)Sets the name of the current SlideRotate axis.
void setCurrentAngle(float value)Sets the current angle of the SlideRotate.
void setDirection([Direction] value)Sets the current direction of the SlideRotate.
void setLimited(boolean value)Sets whether or not the "isLimited" option will be checked.
void setMaxAngle(float value)Sets the current maximum angle of the SlideRotate.
void setMinAngle(float value)Sets the current minimum angle of the SlideRotate.
void setSensibility(float value)Sets the value of the current sensitivity of the SlideRotate.