Kanzi  3.9.7
Java API
TextFormatEnums.TextHorizontalAlignment Enum Reference

Horizontal alignment options for text layout. More...

Inheritance diagram for TextFormatEnums.TextHorizontalAlignment:
[legend]

Public Member Functions

 TextHorizontalAlignment (int mValue)
 
 TextHorizontalAlignment (TextHorizontalAlignment enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static TextHorizontalAlignment swigToEnum (int swigValue)
 
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.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.