Enumeration for AllowedScrollAxisProperty which sets the axis on which
you want to allow a Scroll View node to scroll.
More...
Public Member Functions | |
AllowedScrollAxis (AllowedScrollAxis enum_) | |
Constructs a copy of a AllowedScrollAxis object. | |
AllowedScrollAxis (int value) | |
Constructs a AllowedScrollAxis of an integer value. | |
int | getValue () |
Returns the integer value of the enumeration constant. | |
final int | swigValue () |
Returns the integer value of the enumeration constant. | |
Static Public Member Functions | |
static AllowedScrollAxis | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. | |
static AllowedScrollAxis | toEnum (int value) |
Converts an integer value to the matching enumeration constant. | |
Public Attributes | |
AllAxes =(3) | |
Allow scrolling on both the x and y axes. | |
XAxis =(1) | |
Allow scrolling only on the x axis. | |
YAxis =(2) | |
Allow scrolling only on the y axis. | |
Enumeration for AllowedScrollAxisProperty which sets the axis on which
you want to allow a Scroll View node to scroll.
AllowedScrollAxis | ( | int | value | ) |
Constructs a AllowedScrollAxis of an integer value.
value | Integer value to convert to enumeration constant. |
AllowedScrollAxis | ( | AllowedScrollAxis | enum_ | ) |
Constructs a copy of a AllowedScrollAxis object.
enum_ | AllowedScrollAxis to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |