Class PLVBox
java.lang.Object
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,com.helger.commons.traits.IGenericImplTrait<PLVBox>,IPLHasOutline,IPLObject<PLVBox>,IPLRenderableObject<PLVBox>,IPLSplittableObject<PLVBox,,PLVBox> IPLVisitable
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_WIDTHFields inherited from interface com.helger.pdflayout.base.IPLSplittableObject
DEFAULT_VERT_SPLITTABLE -
Constructor Summary
ConstructorsConstructorDescriptionPLVBox()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
Modifier and TypeMethodDescriptionCreate 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, visitMethods inherited from class com.helger.pdflayout.base.AbstractPLRenderableObject
getPrepareAvailableSize, getPreparedSize, getRenderSize, getRenderSize, internalCheckAlreadyPrepared, internalCheckNotPrepared, internalMarkAsNotPrepared, internalMarkAsNotPreparedDontPropagate, internalMarkAsPrepared, isPrepared, onRenderSizeChange, prepare, renderMethods inherited from class com.helger.pdflayout.base.AbstractPLObject
getDebugID, getID, onAfterSetID, setIDMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.traits.IGenericImplTrait
thisAsTMethods inherited from interface com.helger.commons.id.IHasID
getIDMethods inherited from interface com.helger.pdflayout.base.IPLHasOutline
getOutlineBottom, getOutlineLeft, getOutlineRight, getOutlineTop, getOutlineXSum, getOutlineYSumMethods inherited from interface com.helger.pdflayout.base.IPLObject
getAsSplittable, getDebugID, hasIDMethods inherited from interface com.helger.pdflayout.base.IPLRenderableObject
beforeRender, getPreparedHeight, getPreparedWidth, getRenderHeight, getRenderWidth
-
Constructor Details
-
PLVBox
public PLVBox()Default constructor for an empty VBox. -
PLVBox
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
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 Details
-
internalCreateNewVertSplitObject
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.
-