Class 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
  • Constructor Details

    • 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 Details

    • internalCreateNewVertSplitObject

      @Nonnull public PLVBox internalCreateNewVertSplitObject(@Nonnull PLVBox aBase)
      Description copied from interface: IPLSplittableObject
      Create a new object of the same type as this object.
      Parameters:
      aBase - The source object to copy data from.
      Returns:
      Never null.