Class PLVBox
- java.lang.Object
-
- com.helger.pdflayout.base.AbstractPLObject<IMPLTYPE>
-
- com.helger.pdflayout.base.AbstractPLRenderableObject<IMPLTYPE>
-
- com.helger.pdflayout.element.vbox.AbstractPLVBox<PLVBox>
-
- com.helger.pdflayout.element.vbox.PLVBox
-
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,com.helger.commons.traits.IGenericImplTrait<PLVBox>,IPLHasOutline,IPLObject<PLVBox>,IPLRenderableObject<PLVBox>,IPLSplittableObject<PLVBox,PLVBox>,IPLVisitable
public class PLVBox extends AbstractPLVBox<PLVBox>
Vertical box - groups several rows without having layout information itself.- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from class com.helger.pdflayout.element.vbox.AbstractPLVBox
DEFAULT_FULL_WIDTH
-
Fields inherited from interface com.helger.pdflayout.base.IPLSplittableObject
DEFAULT_VERT_SPLITTABLE
-
-
Constructor Summary
Constructors Constructor Description PLVBox()Default constructor for an empty VBox.PLVBox(IPLRenderableObject<?>... aElements)Constructor with elements so that each element constitutes a new row with auto-height.PLVBox(Iterable<? extends IPLRenderableObject<?>> aElements)Constructor with elements so that each element constitutes a new row with auto-height.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PLVBoxinternalCreateNewVertSplitObject(PLVBox aBase)Create a new object of the same type as this object.-
Methods inherited from class com.helger.pdflayout.element.vbox.AbstractPLVBox
addAndReturnRow, addAndReturnRow, addAndReturnRow, addRow, addRow, addRow, containsAnyVertSplittableElement, forEachRow, forEachRowByIndex, getAllRows, getDefaultHeight, getFirstRow, getFirstRowElement, getHeaderRowCount, getLastRow, getLastRowElement, getRowAtIndex, getRowCount, getRowElementAtIndex, getRows, isFullWidth, isVertSplittable, onMarkAsNotPrepared, onPrepare, onRender, removeRow, setBasicDataFrom, setFullWidth, setHeaderRowCount, setVertSplittable, splitElementVert, toString, visit
-
Methods inherited from class com.helger.pdflayout.base.AbstractPLRenderableObject
getPrepareAvailableSize, getPreparedSize, getRenderSize, getRenderSize, internalCheckAlreadyPrepared, internalCheckNotPrepared, internalMarkAsNotPrepared, internalMarkAsNotPreparedDontPropagate, internalMarkAsPrepared, isPrepared, onRenderSizeChange, prepare, render
-
Methods inherited from class com.helger.pdflayout.base.AbstractPLObject
getDebugID, getID, onAfterSetID, setID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.pdflayout.base.IPLHasOutline
getOutlineBottom, getOutlineLeft, getOutlineRight, getOutlineTop, getOutlineXSum, getOutlineYSum
-
Methods inherited from interface com.helger.pdflayout.base.IPLObject
getAsSplittable, getDebugID, hasID
-
Methods inherited from interface com.helger.pdflayout.base.IPLRenderableObject
beforeRender, getPreparedHeight, getPreparedWidth, getRenderHeight, getRenderWidth
-
-
-
-
Constructor Detail
-
PLVBox
public PLVBox()
Default constructor for an empty VBox.
-
PLVBox
public PLVBox(@Nullable IPLRenderableObject<?>... aElements)
Constructor with elements so that each element constitutes a new row with auto-height.- Parameters:
aElements- The elements for which rows should be created.
-
PLVBox
public PLVBox(@Nullable Iterable<? extends IPLRenderableObject<?>> aElements)
Constructor with elements so that each element constitutes a new row with auto-height.- Parameters:
aElements- The elements for which rows should be created.- Since:
- 4.0.1
-
-
Method Detail
-
internalCreateNewVertSplitObject
@Nonnull public PLVBox internalCreateNewVertSplitObject(@Nonnull PLVBox aBase)
Description copied from interface:IPLSplittableObjectCreate a new object of the same type as this object.- Parameters:
aBase- The source object to copy data from.- Returns:
- Never
null.
-
-