public class ImgNode extends AbstractRichTextLeafNode
Modifier and Type | Field and Description |
---|---|
NumberPercentAuto |
height |
String |
source |
NumberPercentAuto |
width |
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 |
---|
ImgNode() |
Modifier and Type | Method and Description |
---|---|
String |
getNodeName() |
void |
setAttribute(String name,
String value,
Collection<ICompilerProblem> problems)
This implementation processes image 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.
|
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, getNodeURI, getStartColumn, getStartLine, setDocumentNode, setEndColumn, setEndLine, setStartColumn, setStartLine
public NumberPercentAuto width
public NumberPercentAuto height
public String source
public String getNodeName()
public void setAttribute(String name, String value, Collection<ICompilerProblem> problems)
setAttribute
in interface IFXGNode
setAttribute
in class AbstractRichTextLeafNode
name
- the attribute namevalue
- the attribute valueproblems
- problem collection used to collect problems occurred within this methodAbstractRichTextNode.setAttribute(String, String, Collection)
Copyright © 2016 The Apache Software Foundation. All rights reserved.