TabAlignment

Inheritance: java.lang.Object

public class TabAlignment

Specifies the alignment/type of a tab stop.

Fields

FieldDescription
BARDraws a vertical bar at the tab stop position.
CENTERCenters the text around the tab stop.
CLEARClears any tab stop in this position.
DECIMALAligns the text at the decimal dot.
LEFTLeft-aligns the text after the tab stop.
LISTThe tab is a delimiter between the number/bullet and text in a list item.
RIGHTRight-aligns the text at the tab stop.
length

Methods

MethodDescription
fromName(String tabAlignmentName)
getName(int tabAlignment)
getValues()
toString(int tabAlignment)

BAR

public static int BAR

Draws a vertical bar at the tab stop position.

CENTER

public static int CENTER

Centers the text around the tab stop.

CLEAR

public static int CLEAR

Clears any tab stop in this position.

DECIMAL

public static int DECIMAL

Aligns the text at the decimal dot.

LEFT

public static int LEFT

Left-aligns the text after the tab stop.

LIST

public static int LIST

The tab is a delimiter between the number/bullet and text in a list item.

public static int RIGHT

Right-aligns the text at the tab stop.

length

public static int length

fromName(String tabAlignmentName)

public static int fromName(String tabAlignmentName)

Parameters:

ParameterTypeDescription
tabAlignmentNamejava.lang.String

Returns: int

getName(int tabAlignment)

public static String getName(int tabAlignment)

Parameters:

ParameterTypeDescription
tabAlignmentint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int tabAlignment)

public static String toString(int tabAlignment)

Parameters:

ParameterTypeDescription
tabAlignmentint

Returns: java.lang.String