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, whiteSpaceCollapsecontent, id, textAttributesALPHA_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, getWhiteSpaceCollapseaddTextProperty, getChildren, getId, getTextAttributes, getTextChildren, getTextProperties, rememberAttribute, setIdgetDocumentNode, getDocumentPath, getEndColumn, getEndLine, getFileVersion, getNodeURI, getStartColumn, getStartLine, isVersionGreaterThanCompiler, setDocumentNode, setEndColumn, setEndLine, setNodeURI, setStartColumn, setStartLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentNode, getDocumentPath, getEndColumn, getEndLine, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLinepublic 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 IFXGNodeaddChild in class AbstractTextNodechild - - 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 IFXGNodesetAttribute in class AbstractCharacterTextNodename - 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.