Kanzi 3.9.10
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 (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.
 

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() [1/2]

Constructs a AllowedScrollAxis of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ AllowedScrollAxis() [2/2]

Constructs a copy of a AllowedScrollAxis object.

Parameters
enum_AllowedScrollAxis to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

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.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

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.