Skip to main content

SUISlideArea

class SUISlideArea

A virtual slide used to detect screen swipes in a certain area(slide size).


public class SUISlideArea
extends Component

— Constructors (1) —

ConstructorDescription
SUISlideArea()Creates a new SUISlideArea.

— Methods (13) —

NameDescription
Axis getAxis()Returns the current Axis of the SUISlideArea.
void setAxis(Axis key)Sets the current Axis of the SUISlideArea to be "axis" argument.
String getAxisName()Returns the current Axis name of the SUISlideArea.
void setAxisName(String name)Sets the current Axis name of the SUISlideArea to be "name" argument.
boolean isPressed()Returns true if SUISlideArea is being pressed, false if not.
boolean isDown()Returns true if SUISlideArea was pressed, false if not.
boolean isUp()Returns true if the SUISlideArea was pressed and released, false if not.
boolean isClickable()Returns true if the SUISlideArea has the "Clickable" option to be "Event" options checked, false if not.
void setClickable(boolean value)Defines if the SUISlideArea will have the "Clickable" option to be "Event" options checked or unchecked to be "value" argument.
STargetRect getTargetRectType()Returns the current Target("MySelf", "Parent" or "Other") type option to be "Event" options of the SUISlideArea.
void setTargetRectType(STargetRect value)SUISlideAreaSets the current Target("MySelf", "Parent" or "Other") type option to be "Event" options of the SUISlideArea to be "value" argument.
SpatialObject getTargetRectObject()Returns the current type of Target("MySelf", "Parent" or "Other") along with SUISlideArea SpatialObject.
void setTargetRectObject(SpatialObject object)Sets the current Target("MySelf", "Parent" or "Other") type of the SpatialObject passed to be "object" argument.