Kanzi  3.9.7
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 mValue)
 
 TruncationDirection (TruncationDirection enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

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


Since
Kanzi 3.9.6

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.