IMPLTYPE - Implementation typepublic interface IPLSplittableObject<IMPLTYPE extends IPLSplittableObject<IMPLTYPE>> extends IPLObject<IMPLTYPE>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isSplittable() |
PLSplitResult |
splitElements(float fElementWidth,
float fAvailableHeight)
Split this element into sub-elements according to the available height.
|
getAsSplittable, getDebugIDdefault boolean isSplittable()
isSplittable in interface IPLObject<IMPLTYPE extends IPLSplittableObject<IMPLTYPE>>true for splittable elements@Nullable PLSplitResult splitElements(@Nonnegative float fElementWidth, @Nonnegative float fAvailableHeight)
fElementWidth - The element width without padding or margin of the element.fAvailableHeight - The available height without y-padding and y-margin of this element.
Must be ≥ 0.null if splitting makes no sense.Copyright © 2014–2016 Philip Helger. All rights reserved.