ParagraphStyle
interface ParagraphStyle
Known Direct Subclasses
AlignmentSpan |
Span that allows defining the alignment of text at the paragraph level.
|
LeadingMarginSpan |
A paragraph style affecting the leading margin.
|
LineBackgroundSpan |
Used to change the background of lines where the span is attached to.
|
LineHeightSpan |
The classes that affect the line height of paragraph should implement this interface.
|
TabStopSpan |
Paragraph affecting span that changes the position of the tab with respect to the leading margin of the line.
|
WrapTogetherSpan |
|
|
Known Indirect Subclasses
AlignmentSpan.Standard, BulletSpan, DrawableMarginSpan, DrawableMarginSpan, DrawableMarginSpan, IconMarginSpan, IconMarginSpan, IconMarginSpan, LeadingMarginSpan.LeadingMarginSpan2, LeadingMarginSpan.LeadingMarginSpan2, LeadingMarginSpan.Standard, LineBackgroundSpan.Standard, and 7 others.
AlignmentSpan.Standard |
Default implementation of the AlignmentSpan .
|
BulletSpan |
A span which styles paragraphs as bullet points (respecting layout direction).
|
DrawableMarginSpan |
A span which adds a drawable and a padding to the paragraph it's attached to.
|
DrawableMarginSpan |
A span which adds a drawable and a padding to the paragraph it's attached to.
|
DrawableMarginSpan |
A span which adds a drawable and a padding to the paragraph it's attached to.
|
IconMarginSpan |
Paragraph affecting span, that draws a bitmap at the beginning of a text.
|
IconMarginSpan |
Paragraph affecting span, that draws a bitmap at the beginning of a text.
|
IconMarginSpan |
Paragraph affecting span, that draws a bitmap at the beginning of a text.
|
LeadingMarginSpan.LeadingMarginSpan2 |
An extended version of LeadingMarginSpan , which allows the implementor to specify the number of lines of the paragraph to which this object is attached that the "first line of paragraph" margin width will be applied to.
|
LeadingMarginSpan.LeadingMarginSpan2 |
An extended version of LeadingMarginSpan , which allows the implementor to specify the number of lines of the paragraph to which this object is attached that the "first line of paragraph" margin width will be applied to.
|
LeadingMarginSpan.Standard |
The standard implementation of LeadingMarginSpan, which adjusts the margin but does not do any rendering.
|
LineBackgroundSpan.Standard |
Default implementation of the LineBackgroundSpan , which changes the background color of the lines to which the span is attached.
|
LineHeightSpan |
The classes that affect the line height of paragraph should implement this interface.
|
LineHeightSpan.Standard |
Default implementation of the LineHeightSpan , which changes the line height of the attached paragraph.
|
LineHeightSpan.Standard |
Default implementation of the LineHeightSpan , which changes the line height of the attached paragraph.
|
LineHeightSpan.WithDensity |
The classes that affect the line height of paragraph with respect to density, should implement this interface.
|
LineHeightSpan.WithDensity |
The classes that affect the line height of paragraph with respect to density, should implement this interface.
|
QuoteSpan |
A span which styles paragraphs by adding a vertical stripe at the beginning of the text (respecting layout direction).
|
TabStopSpan.Standard |
The default implementation of TabStopSpan that allows setting the offset of the tab stop from the leading margin of the first line of text.
|
|
The classes that affect paragraph-level text formatting implement this interface.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[null,null,["Last updated 2024-04-04 UTC."],[],[]]