public class Container extends Area
Modifier and Type | Field and Description |
---|---|
protected java.util.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.
|
java.util.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, getEffectiveAllocIPD, getEffectiveIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setIPD, setTraits, setWritingModeTraits, toString
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
protected java.util.List<Block> blocks
protected int width
public void addChildArea(Area child)
Area
addChildArea
in class Area
child
- the child area to addpublic java.util.List<Block> getBlocks()
public int getWidth()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.