sun.font.TextLineComponent |
![]() |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | LEFT_TO_RIGHT | Force subset characters to run left-to-right. | |||||||||
int | RIGHT_TO_LEFT | Force subset characters to run right-to-left. | |||||||||
int | UNCHANGED | Leave subset character direction and ordering unchanged. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Apply deltas to the data in this component, starting at offset
deltaStart, and return the new component.
| |||||||||||
Return GlyphJustificationInfo objects for the characters between
charStart and charLimit, starting at offset infoStart.
| |||||||||||
Return the number of justification records this uses.
| |||||||||||
Return a TextLineComponent for the characters in the range
start, limit.
| |||||||||||
Force subset characters to run left-to-right.
Force subset characters to run right-to-left.
Leave subset character direction and ordering unchanged.
Apply deltas to the data in this component, starting at offset deltaStart, and return the new component. There are two floats for each justification info, for a total of 2 * getNumJustificationInfos. The first delta is the left adjustment, the second is the right adjustment.
If flags[0] is true on entry, rejustification is allowed. If the new component requires rejustification (ligatures were formed or split), flags[0] will be set on exit.
Return GlyphJustificationInfo objects for the characters between charStart and charLimit, starting at offset infoStart. Infos will be in visual order. All positions between infoStart and getNumJustificationInfos will be set. If a position corresponds to a character outside the provided range, it is set to null.
Return the number of justification records this uses.
Return a TextLineComponent for the characters in the range start, limit. The range is relative to this TextLineComponent (ie, the first character is at 0).
dir | one of the constants LEFT_TO_RIGHT, RIGHT_TO_LEFT, or UNCHANGED |
---|