TabAlignment
Contents
[
Hide
]Inheritance: java.lang.Object
public class TabAlignment
Specifies the alignment/type of a tab stop.
Fields
Field | Description |
---|---|
BAR | Draws a vertical bar at the tab stop position. |
CENTER | Centers the text around the tab stop. |
CLEAR | Clears any tab stop in this position. |
DECIMAL | Aligns the text at the decimal dot. |
LEFT | Left-aligns the text after the tab stop. |
LIST | The tab is a delimiter between the number/bullet and text in a list item. |
RIGHT | Right-aligns the text at the tab stop. |
length |
Methods
Method | Description |
---|---|
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.
RIGHT
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:
Parameter | Type | Description |
---|---|---|
tabAlignmentName | java.lang.String |
Returns: int
getName(int tabAlignment)
public static String getName(int tabAlignment)
Parameters:
Parameter | Type | Description |
---|---|---|
tabAlignment | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int tabAlignment)
public static String toString(int tabAlignment)
Parameters:
Parameter | Type | Description |
---|---|---|
tabAlignment | int |
Returns: java.lang.String