public abstract class AbstractRichTextLeafNode extends AbstractRichTextNode
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 |
---|
AbstractRichTextLeafNode() |
Modifier and Type | Method and Description |
---|---|
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
This implementation processes text leaf attributes that are common to
<RichText>, <p>, and <span>.
|
addChild, addTextProperty, getChildren, getId, getTextAttributes, getTextChildren, getTextProperties, 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, getNodeName, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLine
protected static final double FONTSIZE_MIN_INCLUSIVE
protected static final double FONTSIZE_MAX_INCLUSIVE
protected static final double BASELINESHIFT_MIN_INCLUSIVE
protected static final double BASELINESHIFT_MAX_INCLUSIVE
protected static final double LINEHEIGHT_PERCENT_MIN_INCLUSIVE
protected static final double LINEHEIGHT_PERCENT_MAX_INCLUSIVE
protected static final double LINEHEIGHT_PIXEL_MIN_INCLUSIVE
protected static final double LINEHEIGHT_PIXEL_MAX_INCLUSIVE
protected static final double TRACKING_MIN_INCLUSIVE
protected static final double TRACKING_MAX_INCLUSIVE
public String fontFamily
public double fontSize
public FontStyle fontStyle
public FontWeight fontWeight
public Kerning kerning
public double lineHeight
public TextDecoration textDecoration
public boolean lineThrough
public int color
public double textAlpha
public WhiteSpaceCollapse whiteSpaceCollapse
public NumberInherit backgroundAlpha
public ColorWithEnum backgroundColor
public BaselineShift baselineShift
public BreakOpportunity breakOpportunity
public DigitCase digitCase
public DigitWidth digitWidth
public DominantBaseline dominantBaseline
public AlignmentBaseline alignmentBaseline
public LigatureLevel ligatureLevel
public String locale
public TypographicCase typographicCase
public double trackingLeft
public double trackingRight
public TextRotation textRotation
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
The right hand side of an ActionScript assignment is generated for each property based on the expected type of the attribute.
Text leaf attributes include:
setAttribute
in interface IFXGNode
setAttribute
in class AbstractRichTextNode
name
- - the unqualified attribute namevalue
- - the attribute valueproblems
- problem collection used to collect problems occurred within this methodCopyright © 2016 The Apache Software Foundation. All rights reserved.