Kanzi  3.9.9
Kanzi Engine Java API
TextFormatEnums.Truncation Enum Reference

Type of truncation boundary for the text that does not fit in the available space. More...

Inheritance diagram for TextFormatEnums.Truncation:
[legend]

Public Member Functions

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

Public Attributes

 AtCharacter =(1)
 Truncate text character by character.
 
 AtWord =(2)
 Truncate text by entire words.
 
 None =(0)
 Disable truncation.
 

Detailed Description

Type of truncation boundary for the text that does not fit in the available space.

Constructor & Destructor Documentation

Truncation ( int  value)

Constructs a Truncation of an integer value.

Parameters
valueInteger value to convert to enumeration constant.
Truncation ( Truncation  enum_)

Constructs a copy of a Truncation object.

Parameters
enum_Truncation to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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