public class TextGraphicNode extends GraphicContentNode implements ITextNode
| Modifier and Type | Field and Description |
|---|---|
String |
blockProgression |
int |
color |
protected List<ITextNode> |
content
This nodes child text nodes.
|
String |
direction |
String |
fontFamily |
double |
fontSize |
String |
fontStyle |
String |
fontWeight |
double |
height |
Kerning |
kerning |
LineBreak |
lineBreak |
double |
lineHeight |
boolean |
lineThrough |
double |
marginBottom |
double |
marginLeft |
double |
marginRight |
double |
marginTop |
double |
paddingBottom |
double |
paddingLeft |
double |
paddingRight |
double |
paddingTop |
String |
textAlign |
String |
textAlignLast |
double |
textAlpha |
protected Map<String,String> |
textAttributes
The attributes set on this node.
|
String |
textDecoration |
double |
textIndent |
double |
tracking |
WhiteSpaceCollapse |
whiteSpaceCollapse |
double |
width |
alpha, alphaSet, blendMode, colorTransform, filters, id, isPartofClipMask, luminosityClip, luminosityInvert, mask, maskType, maskTypeSet, matrix, rotation, rotationSet, scaleSet, scaleX, scaleY, translateSet, visible, x, yALPHA_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 |
|---|
TextGraphicNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(IFXGNode child,
Collection<ICompilerProblem> problems)
This method is invoked for only non-content children.
|
void |
addContentChild(IFXGNode child,
Collection<ICompilerProblem> problems)
<TextGraphic> content allows child <p>, <span> and
<br /> tags, as well as character data (text content).
|
void |
addTextProperty(String propertyName,
ITextNode node,
Collection<ICompilerProblem> problems)
A text node may also have special child property nodes that represent
complex property values that cannot be set via a simple attribute.
|
List<IFXGNode> |
getChildren()
debug method, do not use
|
String |
getNodeName() |
Map<String,String> |
getTextAttributes() |
List<ITextNode> |
getTextChildren() |
HashMap<String,ITextNode> |
getTextProperties() |
protected void |
rememberAttribute(String name,
String value)
Remember that an attribute was set on this node.
|
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
Sets an FXG attribute on this TextGraphic node.
|
convertTransformAttrToMatrix, createGraphicContext, getId, getLuminosityClip, getLuminosityInvert, getMask, getMaskType, parseBlendMode, setId, setParentGraphicContextgetDocumentNode, 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 double width
public double height
public double paddingLeft
public double paddingRight
public double paddingBottom
public double paddingTop
public String fontFamily
public double fontSize
public String fontStyle
public String fontWeight
public double lineHeight
public String textDecoration
public WhiteSpaceCollapse whiteSpaceCollapse
public LineBreak lineBreak
public boolean lineThrough
public double tracking
public Kerning kerning
public double textAlpha
public int color
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 Map<String,String> getTextAttributes()
getTextAttributes in interface ITextNodepublic List<ITextNode> getTextChildren()
getTextChildren in interface ITextNodepublic HashMap<String,ITextNode> getTextProperties()
getTextProperties in interface ITextNodepublic void addTextProperty(String propertyName, ITextNode node, Collection<ICompilerProblem> problems)
addTextProperty in interface ITextNodepropertyName - - the property's local namenode - - the value nodeproblems - problems to collectprotected void rememberAttribute(String name, String value)
name - - the unqualified attribute name.value - - the attribute value.public void addContentChild(IFXGNode child, Collection<ICompilerProblem> problems)
child - - a child FXG node to be added to this node.problems - problem collection used to collect problems occurred within this methodpublic List<IFXGNode> getChildren()
IFXGNodegetChildren in interface IFXGNodegetChildren in class GraphicContentNodepublic void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
addChild in interface IFXGNodeaddChild in class GraphicContentNodechild - - a child FXG node to be added to this node.problems - problem collection used to collect problems occurred within this methodpublic String getNodeName()
getNodeName in interface IFXGNodepublic void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
setAttribute in interface IFXGNodesetAttribute in class GraphicContentNodename - - the unqualified attribute name.value - - the attribute value.problems - problem collection used to collect problems occurred within this methodCopyright © 2016 The Apache Software Foundation. All rights reserved.