Kanzi  3.9.9
Kanzi Engine Java API
TextFormatEnums.TextHorizontalAlignment Enum Reference

Horizontal alignment options for text layout. More...

Inheritance diagram for TextFormatEnums.TextHorizontalAlignment:
[legend]

Public Member Functions

 TextHorizontalAlignment (int value)
 Constructs a TextHorizontalAlignment of an integer value. More...
 
 TextHorizontalAlignment (TextHorizontalAlignment enum_)
 Constructs a copy of a TextHorizontalAlignment 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 TextHorizontalAlignment swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant. More...
 
static TextHorizontalAlignment toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 TextHorizontalAlignmentCenter =(2)
 Text is centered horizontally.
 
 TextHorizontalAlignmentLeft =(0)
 Text is aligned to the left.
 
 TextHorizontalAlignmentRight =(1)
 Text is aligned to the right.
 

Detailed Description

Horizontal alignment options for text layout.

Constructor & Destructor Documentation

TextHorizontalAlignment ( int  value)

Constructs a TextHorizontalAlignment of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a TextHorizontalAlignment object.

Parameters
enum_TextHorizontalAlignment to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static TextHorizontalAlignment 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 TextHorizontalAlignment 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.