public abstract class LeafElement extends AbstractElement
DEFAULT_ALIGN, DEFAULT_IMG_ALIGN, LAYOUT_FINALIZE_PARENT_UNKNOWN, LAYOUT_HEADER, LAYOUT_NORMAL, LAYOUT_PARENT_WIDTH_UNKNOWN, tag
Constructor and Description |
---|
LeafElement(BranchElement parent,
Style props,
HtmlTag tag,
Document document) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(Element child) |
Element |
getChildAt(int index) |
int |
getChildCount() |
Vector |
getChildren() |
String |
getContent() |
boolean |
hasChildTags() |
boolean |
isLeaf() |
dump, getBlock, getBorders, getChildrenFlow, getContentStyle, getContext, getDisplayType, getDocument, getFloat, getFontMetrics, getFontSize, getIndex, getLastContentElement, getLastContentElementOfBlock, getLineHeight, getLineHeightObj, getLogicalWidth, getName, getParent, getPositioning, getPrevChild, getRemBase, getTag, getTextDecorationType, getTextTransform, getTextTransformType, getWordBreakType, hasBorders, hasBothCoordinates, hasRtlContent, isAbsPositioned, isFloat, isImplicit, isRelPositioned, isRTL, isTBRL, keepPhysicalUnits, objectToLength, pageBreakAfterObj, pageBreakBeforeObj, previousSibling, removeEmptyInlineChildElements, setParent, style, substitutePlaceholders, substituteTocPlaceholders, textAlign, textAlign, toString, whiteSpace, wordBreak
public LeafElement(BranchElement parent, Style props, HtmlTag tag, Document document)
public boolean isLeaf()
isLeaf
in interface Element
isLeaf
in class AbstractElement
public Element getChildAt(int index)
public int getChildCount()
public boolean hasChildTags()
public Vector getChildren()
getChildren
in interface Element
getChildren
in class AbstractElement
public void addChild(Element child)
public String getContent()
getContent
in interface HtmlElement
getContent
in class AbstractElement
Revision 4.0.15 / 20220727-0149