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, wordBreakpublic LeafElement(BranchElement parent, Style props, HtmlTag tag, Document document)
public boolean isLeaf()
isLeaf in interface ElementisLeaf in class AbstractElementpublic Element getChildAt(int index)
public int getChildCount()
public boolean hasChildTags()
public Vector getChildren()
getChildren in interface ElementgetChildren in class AbstractElementpublic void addChild(Element child)
public String getContent()
getContent in interface HtmlElementgetContent in class AbstractElementRevision 4.0.15 / 20220727-0149