com.ibm.text
Class UCharacterDirection

java.lang.Object
  |
  +--com.ibm.text.UCharacterDirection

public final class UCharacterDirection
extends java.lang.Object

Enumerated Unicode character linguistic direction constants. Used as return results from UCharacter

Since:
oct0300
Author:
Syn Wee Quek

Field Summary
static int ARABIC_NUMBER
          Directional type AN
static int BLOCK_SEPARATOR
          Directional type B
static int BOUNDARY_NEUTRAL
          Directional type BN
static int CHAR_DIRECTION_COUNT
          Number of directional type
static int COMMON_NUMBER_SEPARATOR
          Directional type CS
static int DIR_NON_SPACING_MARK
          Directional type NSM
static int EUROPEAN_NUMBER
          Directional type EN
static int EUROPEAN_NUMBER_SEPARATOR
          Directional type ES
static int EUROPEAN_NUMBER_TERMINATOR
          Directional type ET
static int LEFT_TO_RIGHT
          Directional type L
static int LEFT_TO_RIGHT_EMBEDDING
          Directional type LRE
static int LEFT_TO_RIGHT_OVERRIDE
          Directional type LRO
static int OTHER_NEUTRAL
          Directional type ON
static int POP_DIRECTIONAL_FORMAT
          Directional type PDF
static int RIGHT_TO_LEFT
          Directional type R
static int RIGHT_TO_LEFT_ARABIC
          Directional type AL
static int RIGHT_TO_LEFT_EMBEDDING
          Directional type RLE
static int RIGHT_TO_LEFT_OVERRIDE
          Directional type RLO
static int SEGMENT_SEPARATOR
          Directional type S
static int WHITE_SPACE_NEUTRAL
          Directional type WS
 
Method Summary
static java.lang.String toString(int dir)
          Gets the name of the argument direction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEFT_TO_RIGHT

public static final int LEFT_TO_RIGHT
Directional type L

RIGHT_TO_LEFT

public static final int RIGHT_TO_LEFT
Directional type R

EUROPEAN_NUMBER

public static final int EUROPEAN_NUMBER
Directional type EN

EUROPEAN_NUMBER_SEPARATOR

public static final int EUROPEAN_NUMBER_SEPARATOR
Directional type ES

EUROPEAN_NUMBER_TERMINATOR

public static final int EUROPEAN_NUMBER_TERMINATOR
Directional type ET

ARABIC_NUMBER

public static final int ARABIC_NUMBER
Directional type AN

COMMON_NUMBER_SEPARATOR

public static final int COMMON_NUMBER_SEPARATOR
Directional type CS

BLOCK_SEPARATOR

public static final int BLOCK_SEPARATOR
Directional type B

SEGMENT_SEPARATOR

public static final int SEGMENT_SEPARATOR
Directional type S

WHITE_SPACE_NEUTRAL

public static final int WHITE_SPACE_NEUTRAL
Directional type WS

OTHER_NEUTRAL

public static final int OTHER_NEUTRAL
Directional type ON

LEFT_TO_RIGHT_EMBEDDING

public static final int LEFT_TO_RIGHT_EMBEDDING
Directional type LRE

LEFT_TO_RIGHT_OVERRIDE

public static final int LEFT_TO_RIGHT_OVERRIDE
Directional type LRO

RIGHT_TO_LEFT_ARABIC

public static final int RIGHT_TO_LEFT_ARABIC
Directional type AL

RIGHT_TO_LEFT_EMBEDDING

public static final int RIGHT_TO_LEFT_EMBEDDING
Directional type RLE

RIGHT_TO_LEFT_OVERRIDE

public static final int RIGHT_TO_LEFT_OVERRIDE
Directional type RLO

POP_DIRECTIONAL_FORMAT

public static final int POP_DIRECTIONAL_FORMAT
Directional type PDF

DIR_NON_SPACING_MARK

public static final int DIR_NON_SPACING_MARK
Directional type NSM

BOUNDARY_NEUTRAL

public static final int BOUNDARY_NEUTRAL
Directional type BN

CHAR_DIRECTION_COUNT

public static final int CHAR_DIRECTION_COUNT
Number of directional type
Method Detail

toString

public static java.lang.String toString(int dir)
Gets the name of the argument direction
Parameters:
dir - direction type to retrieve name
Returns:
directional name


Copyright (c) 1998-2000 IBM Corporation and others.