Package com.helger.pdflayout.base
Interface IPLObject<IMPLTYPE extends IPLObject<IMPLTYPE>>
- Type Parameters:
IMPLTYPE- Implementation type
- All Superinterfaces:
com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>,com.helger.commons.id.IHasID<String>,IPLVisitable
- All Known Subinterfaces:
IPLBlockElement<IMPLTYPE>,IPLElement<IMPLTYPE>,IPLHasHorizontalAlignment<IMPLTYPE>,IPLHasVerticalAlignment<IMPLTYPE>,IPLInlineElement<IMPLTYPE>,IPLRenderableObject<IMPLTYPE>,IPLSplittableObject<IMPLTYPE,SPLITTYPE>
- All Known Implementing Classes:
AbstractPLBlockElement,AbstractPLBox,AbstractPLElement,AbstractPLExternalLink,AbstractPLHBox,AbstractPLImage,AbstractPLInlineBox,AbstractPLInlineElement,AbstractPLObject,AbstractPLRenderableObject,AbstractPLText,AbstractPLVBox,PLBox,PLBulletPointList,PLExternalLink,PLHBox,PLImage,PLPageBreak,PLPageSet,PLSpacerX,PLSpacerY,PLStreamImage,PLTable,PLTableCell,PLTableRow,PLText,PLVBox
public interface IPLObject<IMPLTYPE extends IPLObject<IMPLTYPE>>
extends com.helger.commons.id.IHasID<String>, com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>, IPLVisitable
Base interface for a PDF layout object
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault IPLSplittableObject<?,?> default booleandefault booleansetBasicDataFrom(IMPLTYPE aSource) For copying stuff internally.Methods 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.IPLVisitable
visit
-
Method Details
-
hasID
-
getDebugID
- Returns:
- The debug ID of this element. Neither
nullnor empty. The debug ID is usually automatically created automatically from the ID.
-
isVertSplittable
default boolean isVertSplittable()- Returns:
trueif this element is splittable,falseotherwise.
-
getAsSplittable
- Returns:
- this as an
IPLSplittableObject- ensure to call it only ifisVertSplittable()returnstrue.
-
setBasicDataFrom
For copying stuff internally. Must always call super method- Parameters:
aSource- Source object to copy from. May not benull.- Returns:
- this for chaining
-