public class ParagraphNode extends AbstractCharacterTextNode
Modifier and Type | Field and Description |
---|---|
String |
blockProgression |
String |
direction |
double |
marginBottom |
double |
marginLeft |
double |
marginRight |
double |
marginTop |
String |
textAlign |
String |
textAlignLast |
double |
textIndent |
color, fontFamily, fontSize, FONTSIZE_MAX_INCLUSIVE, FONTSIZE_MIN_INCLUSIVE, fontStyle, fontWeight, kerning, lineBreak, lineHeight, lineThrough, textAlpha, textDecoration, tracking, whiteSpaceCollapse
content, id, textAttributes
ALPHA_MAX_INCLUSIVE, ALPHA_MIN_INCLUSIVE, COLOR_BLACK, COLOR_RED, COLOR_WHITE, documentNode, endColumn, endLine, EPSILON, GRADIENT_ENTRIES_MAX_INCLUSIVE, startColumn, startLine, uri
Constructor and Description |
---|
ParagraphNode() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
A <p> allows child <span> and <br /> tags, as
well as character data (text content).
|
String |
getNodeName() |
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
This implementation processes paragraph attributes that are relevant to
the <p> tag, as well as delegates to the parent class to process
character attributes that are also relevant to the <p> tag.
|
getKerning, getLineBreak, getWhiteSpaceCollapse
addTextProperty, getChildren, getId, getTextAttributes, getTextChildren, getTextProperties, rememberAttribute, setId
getDocumentNode, getDocumentPath, getEndColumn, getEndLine, getFileVersion, getNodeURI, getStartColumn, getStartLine, isVersionGreaterThanCompiler, setDocumentNode, setEndColumn, setEndLine, setNodeURI, setStartColumn, setStartLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentNode, getDocumentPath, getEndColumn, getEndLine, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLine
public String textAlign
public String textAlignLast
public double textIndent
public double marginLeft
public double marginRight
public double marginTop
public double marginBottom
public String direction
public String blockProgression
public void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
addChild
in interface IFXGNode
addChild
in class AbstractTextNode
child
- - a child FXG node to be added to this node.problems
- problem collection used to collect problems occurred within this methodpublic String getNodeName()
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
Paragraph attributes include:
setAttribute
in interface IFXGNode
setAttribute
in class AbstractCharacterTextNode
name
- the attribute namevalue
- the attribute valueproblems
- problem collection used to collect problems occurred within this methodAbstractTextNode.setAttribute(String, String, Collection)
Copyright © 2016 The Apache Software Foundation. All rights reserved.