public class ParagraphNode extends AbstractRichParagraphNode
Modifier and Type | Field and Description |
---|---|
TextLayoutFormatNode |
linkActiveFormat |
TextLayoutFormatNode |
linkHoverFormat |
TextLayoutFormatNode |
linkNormalFormat |
protected Map<String,ITextNode> |
properties
This node's child property nodes.
|
direction, justificationRule, justificationStyle, leadingModel, PARAGRAPH_INDENT_MAX_INCLUSIVE, PARAGRAPH_INDENT_MIN_INCLUSIVE, PARAGRAPH_SPACE_MAX_INCLUSIVE, PARAGRAPH_SPACE_MIN_INCLUSIVE, paragraphEndIndent, paragraphSpaceAfter, paragraphSpaceBefore, paragraphStartIndent, tabStops, textAlign, textAlignLast, textIndent, TEXTINDENT_MAX_INCLUSIVE, TEXTINDENT_MIN_INCLUSIVE, textJustify
alignmentBaseline, backgroundAlpha, backgroundColor, baselineShift, BASELINESHIFT_MAX_INCLUSIVE, BASELINESHIFT_MIN_INCLUSIVE, breakOpportunity, color, digitCase, digitWidth, dominantBaseline, fontFamily, fontSize, FONTSIZE_MAX_INCLUSIVE, FONTSIZE_MIN_INCLUSIVE, fontStyle, fontWeight, kerning, ligatureLevel, lineHeight, LINEHEIGHT_PERCENT_MAX_INCLUSIVE, LINEHEIGHT_PERCENT_MIN_INCLUSIVE, LINEHEIGHT_PIXEL_MAX_INCLUSIVE, LINEHEIGHT_PIXEL_MIN_INCLUSIVE, lineThrough, locale, textAlpha, textDecoration, textRotation, TRACKING_MAX_INCLUSIVE, TRACKING_MIN_INCLUSIVE, trackingLeft, trackingRight, typographicCase, whiteSpaceCollapse
content, id, parentNode, 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)
Adds an FXG child node to this Paragraph node.
|
void |
addTextProperty(String propertyName,
ITextNode node,
Collection<ICompilerProblem> problems)
A paragraph node can also have special child property nodes that
represent complex property values that cannot be set via a simple
attribute.
|
String |
getNodeName() |
Map<String,ITextNode> |
getTextProperties() |
setAttribute
getChildren, getId, getTextAttributes, getTextChildren, rememberAttribute, setId, setParent
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 TextLayoutFormatNode linkNormalFormat
public TextLayoutFormatNode linkHoverFormat
public TextLayoutFormatNode linkActiveFormat
public Map<String,ITextNode> getTextProperties()
getTextProperties
in interface ITextNode
getTextProperties
in class AbstractRichTextNode
public void addTextProperty(String propertyName, ITextNode node, Collection<ICompilerProblem> problems)
addTextProperty
in interface ITextNode
addTextProperty
in class AbstractRichTextNode
propertyName
- - the property's local namenode
- - the value nodeproblems
- problems to collectpublic String getNodeName()
public void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
addChild
in interface IFXGNode
addChild
in class AbstractRichTextNode
child
- - a child FXG node to be added to this node.problems
- problem collection used to collect problems occurred within this methodCopyright © 2016 The Apache Software Foundation. All rights reserved.