Class TabStop
java.lang.Object
com.codename1.wordprocessing.TabStop
A tab stop: where the text after a tab character lines up.
A left stop starts the text at the stop, a right stop ends it there, a center stop centers it on the stop and a decimal stop lines the first period up with it. The leader fills the gap the tab leaves, as in a table of contents.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringLEFT,CENTER,RIGHTorDECIMAL.static final StringText is centered on the stop.static final StringThe first period of the text sits at the stop.final charThe character repeated across the gap: a period, a hyphen, an underscore, or 0 for none.static final StringText starts at the stop.final floatThe distance from the paragraph's left indent, in points.static final StringText ends at the stop. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LEFT
-
CENTER
-
RIGHT
-
DECIMAL
-
position
public final float positionThe distance from the paragraph's left indent, in points. -
alignment
LEFT,CENTER,RIGHTorDECIMAL. -
leader
public final char leaderThe character repeated across the gap: a period, a hyphen, an underscore, or 0 for none.
-
-
Constructor Details
-
TabStop
Creates a stop.
Parameters
-
position: points from the left indent, 0 to 2000 -
alignment:LEFT,CENTER,RIGHTorDECIMAL; anything else isLEFT -
leader: a period, hyphen or underscore, or 0 for none; anything else is none
-
-
-
Method Details
-
equals
-
hashCode
-