Package org.apache.fop.layoutmgr
Interface ConditionalElementListener
-
- All Known Implementing Classes:
BlockContainerLayoutManager,BlockLayoutManager,FloatContentLayoutManager,ListBlockLayoutManager,ListItemLayoutManager,SpacedBorderedPaddedBlockLayoutManager,TableLayoutManager
public interface ConditionalElementListenerThis interface is used to notify layout managers about the situation around spaces, borders and padding just before the addArea() method is called when a part is being painted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyBorder(RelSide side, MinOptMax effectiveLength)Notifies the layout manager about the effective length/width of its border.voidnotifyPadding(RelSide side, MinOptMax effectiveLength)Notifies the layout manager about the effective length/width of its padding.voidnotifySpace(RelSide side, MinOptMax effectiveLength)Notifies the layout manager about the effective length of its space.
-
-
-
Method Detail
-
notifySpace
void notifySpace(RelSide side, MinOptMax effectiveLength)
Notifies the layout manager about the effective length of its space.- Parameters:
side- the side to which the space applieseffectiveLength- the effective length after space-resolution (null means zero length)
-
notifyBorder
void notifyBorder(RelSide side, MinOptMax effectiveLength)
Notifies the layout manager about the effective length/width of its border.- Parameters:
side- the side to which the border applieseffectiveLength- the effective length in the current break situation (null means zero length)
-
notifyPadding
void notifyPadding(RelSide side, MinOptMax effectiveLength)
Notifies the layout manager about the effective length/width of its padding.- Parameters:
side- the side to which the padding applieseffectiveLength- the effective length in the current break situation (null means zero length)
-
-