Package ca.cgjennings.layout
Class MarkupRenderer.StyledParagraph
- java.lang.Object
-
- java.text.AttributedString
-
- ca.cgjennings.layout.MarkupRenderer.StyledParagraph
-
- Enclosing class:
- MarkupRenderer
protected class MarkupRenderer.StyledParagraph extends java.text.AttributedString
This class provides anAttributedString
with extended information on how the string should be drawn.
-
-
Constructor Summary
Constructors Constructor Description StyledParagraph(java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAlignment()
int
getLineTightness()
boolean
isTitleLine()
void
setAlignment(int alignment)
void
setLineTightness(int tightness)
void
setTitleLine(boolean isATitle)
-
-
-
Method Detail
-
isTitleLine
public boolean isTitleLine()
-
setTitleLine
public void setTitleLine(boolean isATitle)
-
getLineTightness
public int getLineTightness()
-
setLineTightness
public void setLineTightness(int tightness)
-
setAlignment
public void setAlignment(int alignment)
-
getAlignment
public int getAlignment()
-
-