|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.AreaTreeObject
org.apache.fop.area.Area
org.apache.fop.area.BlockParent
public class BlockParent
A BlockParent holds block-level areas.
Field Summary | |
---|---|
protected java.util.List |
children
The children of this block parent area. |
protected int |
xOffset
The x offset position of this block parent. |
protected int |
yOffset
The y offset position of this block parent. |
Fields inherited from class org.apache.fop.area.Area |
---|
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB |
Fields inherited from class org.apache.fop.area.AreaTreeObject |
---|
foreignAttributes |
Constructor Summary | |
---|---|
BlockParent()
|
Method Summary | |
---|---|
void |
addBlock(Block block)
Add the block area to this block parent. |
void |
addChildArea(Area childArea)
Add a child to this area. |
java.util.List |
getChildAreas()
Get the list of child areas for this block area. |
int |
getXOffset()
Get the X offset of this block parent area. |
int |
getYOffset()
Get the Y offset of this block parent area. |
boolean |
isEmpty()
Check whether there are child areas. |
void |
setXOffset(int off)
Set the X offset of this block parent area. |
void |
setYOffset(int off)
Set the Y offset of this block parent area. |
Methods inherited from class org.apache.fop.area.Area |
---|
addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString |
Methods inherited from class org.apache.fop.area.AreaTreeObject |
---|
getForeignAttributes, getForeignAttributeValue, setForeignAttribute, setForeignAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int xOffset
protected int yOffset
protected java.util.List children
Constructor Detail |
---|
public BlockParent()
Method Detail |
---|
public void addChildArea(Area childArea)
addChildArea
in class Area
childArea
- the child area to addpublic void addBlock(Block block)
block
- the child block area to addpublic java.util.List getChildAreas()
public boolean isEmpty()
public void setXOffset(int off)
off
- the x offset of the block parent areapublic void setYOffset(int off)
off
- the y offset of the block parent areapublic int getXOffset()
public int getYOffset()
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |