public class Container extends Area
Modifier and Type | Field and Description |
---|---|
protected List<Block> |
blocks
The list of block areas stacked inside this container
|
protected int |
width
The width of this container
|
bidiLevel, bpd, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, effectiveIPD, ipd, log, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, traits
extensionAttachments, foreignAttributes
Constructor and Description |
---|
Container()
Create a new container area
|
Modifier and Type | Method and Description |
---|---|
void |
addChildArea(Area child)
Add a child to this area.
|
List<Block> |
getBlocks()
Get the block areas stacked inside this container area.
|
int |
getWidth()
Get the width of this container area.
|
activateEffectiveIPD, addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getChangeBarList, getEffectiveAllocIPD, getEffectiveIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, isFromFootnote, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setChangeBarList, setFromFootnote, setIPD, setTraits, setWritingModeTraits, toString
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
public void addChildArea(Area child)
Area
addChildArea
in class Area
child
- the child area to addpublic List<Block> getBlocks()
public int getWidth()
Copyright © 2025 Apache Software Foundation. All rights reserved.