Kanzi  3.9.9
Kanzi Engine Java API
ScrollViewConceptEnums.AllowedScrollAxis Enum Reference

Enumeration for AllowedScrollAxisProperty which sets the axis on which
you want to allow a Scroll View node to scroll. More...

Inheritance diagram for ScrollViewConceptEnums.AllowedScrollAxis:
[legend]

Public Member Functions

 AllowedScrollAxis (int value)
 Constructs a AllowedScrollAxis of an integer value. More...
 
 AllowedScrollAxis (AllowedScrollAxis enum_)
 Constructs a copy of a AllowedScrollAxis object. More...
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 Returns the integer value of the enumeration constant. More...
 

Static Public Member Functions

static AllowedScrollAxis swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant. More...
 
static AllowedScrollAxis toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

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.
 

Detailed Description

Enumeration for AllowedScrollAxisProperty which sets the axis on which
you want to allow a Scroll View node to scroll.

Constructor & Destructor Documentation

AllowedScrollAxis ( int  value)

Constructs a AllowedScrollAxis of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a AllowedScrollAxis object.

Parameters
enum_AllowedScrollAxis to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static AllowedScrollAxis swigToEnum ( int  swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
static AllowedScrollAxis toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.