Class AbstractPLHBox<IMPLTYPE extends AbstractPLHBox<IMPLTYPE>>

  • Type Parameters:
    IMPLTYPE - Implementation type
    All Implemented Interfaces:
    com.helger.commons.id.IHasID<String>, com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>, IPLHasOutline, IPLObject<IMPLTYPE>, IPLRenderableObject<IMPLTYPE>, IPLSplittableObject<IMPLTYPE,​IMPLTYPE>, IPLVisitable
    Direct Known Subclasses:
    PLHBox, PLTableRow

    public abstract class AbstractPLHBox<IMPLTYPE extends AbstractPLHBox<IMPLTYPE>>
    extends AbstractPLRenderableObject<IMPLTYPE>
    implements IPLSplittableObject<IMPLTYPE,​IMPLTYPE>
    Horizontal box - groups several columns. Each column was a width with one of the supported types:
    • absolute - the width is explicitly specified in user units
    • percentage - the width is specified in percentage of the surrounding element
    • star - the width of all columns with this type is evenly spaced on the available width. So if at least one 'star' width column is available, the hbox uses the complete available width.
    • auto - the width of the column is determined by the width of the content. The maximum width assigned to this column type is the same as for 'star' width columns.
    Author:
    Philip Helger