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