java.lang.Object | |
↳ | sun.font.TextSource |
![]() |
A text source represents text for rendering, plus context information. All text in the source uses the same font, metrics, and render context, and is at the same bidi level.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | WITHOUT_CONTEXT | Constant for toString(boolean). | |||||||||
boolean | WITH_CONTEXT | Constant for toString(boolean). |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Bidi level of all the characters in context.
| |||||||||||
Source character data.
| |||||||||||
Length of context data.
| |||||||||||
Start of context data in char array returned from getChars.
| |||||||||||
Line metrics for source data.
| |||||||||||
Font render context to use when measuring or rendering source data.
| |||||||||||
Font for source data.
| |||||||||||
Return the layout flags
| |||||||||||
Length of source data.
| |||||||||||
Start of source data in char array returned from getChars.
| |||||||||||
Get subrange of this TextSource.
| |||||||||||
Get debugging info about this TextSource instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constant for toString(boolean). Indicates that toString should not return info outside of the context of this instance.
Constant for toString(boolean). Indicates that toString should return info outside of the context of this instance.
Bidi level of all the characters in context.
Source character data.
Length of context data.
Start of context data in char array returned from getChars.
Font render context to use when measuring or rendering source data.
Return the layout flags
Length of source data.
Start of source data in char array returned from getChars.
Get subrange of this TextSource. dir is one of the TextLineComponent constants
Get debugging info about this TextSource instance. Default implementation just returns toString. Subclasses should implement this to match the semantics of the toString constants.