Kanzi  3.9.9
Kanzi Engine Java API
TextFormatEnums.TruncationDirection Enum Reference

Part of the text to truncate, if the text does not fit in the available space. More...

Inheritance diagram for TextFormatEnums.TruncationDirection:
[legend]

Public Member Functions

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

Public Attributes

 Center =(1)
 Truncate the middle part of the text.
 
 Leading =(2)
 Truncate the beginning part of the text.
 
 Trailing =(0)
 Truncate the end part of the text.
 

Detailed Description

Part of the text to truncate, if the text does not fit in the available space.

Constructor & Destructor Documentation

TruncationDirection ( int  value)

Constructs a TruncationDirection of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a TruncationDirection object.

Parameters
enum_TruncationDirection to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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