public class Run extends Object implements DocumentElement, HasChildren
| Constructor and Description |
|---|
Run(boolean isBold,
boolean isItalic,
boolean isUnderline,
boolean isStrikethrough,
boolean isSmallCaps,
VerticalAlignment verticalAlignment,
Optional<Style> style,
List<DocumentElement> children) |
| Modifier and Type | Method and Description |
|---|---|
<T,U> T |
accept(DocumentElementVisitor<T,U> visitor,
U context) |
List<DocumentElement> |
getChildren() |
Optional<Style> |
getStyle() |
VerticalAlignment |
getVerticalAlignment() |
boolean |
isBold() |
boolean |
isItalic() |
boolean |
isSmallCaps() |
boolean |
isStrikethrough() |
boolean |
isUnderline() |
public Run(boolean isBold,
boolean isItalic,
boolean isUnderline,
boolean isStrikethrough,
boolean isSmallCaps,
VerticalAlignment verticalAlignment,
Optional<Style> style,
List<DocumentElement> children)
public boolean isBold()
public boolean isItalic()
public boolean isUnderline()
public boolean isStrikethrough()
public boolean isSmallCaps()
public VerticalAlignment getVerticalAlignment()
public List<DocumentElement> getChildren()
getChildren in interface HasChildrenpublic <T,U> T accept(DocumentElementVisitor<T,U> visitor, U context)
accept in interface DocumentElementCopyright © 2018. All rights reserved.