Class BulletPointCreatorConstant
- java.lang.Object
-
- com.helger.pdflayout.element.list.AbstractBulletPointCreatorFontBased<BulletPointCreatorConstant>
-
- com.helger.pdflayout.element.list.BulletPointCreatorConstant
-
- All Implemented Interfaces:
com.helger.commons.traits.IGenericImplTrait<BulletPointCreatorConstant>,IPLHasOutline,IPLHasPadding<BulletPointCreatorConstant>,IBulletPointCreator
- Direct Known Subclasses:
BulletPointCreatorSymbol
public class BulletPointCreatorConstant extends AbstractBulletPointCreatorFontBased<BulletPointCreatorConstant>
An implementation ofIBulletPointCreatorthat always uses the same character (like in an unordered list).- Since:
- 5.1.0
- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from interface com.helger.pdflayout.base.IPLHasPadding
DEFAULT_PADDING
-
-
Constructor Summary
Constructors Constructor Description BulletPointCreatorConstant(String sText, FontSpec aFontSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPLRenderableObject<?>getBulletPointElement(int nBulletPointIndex)Get the bullet point text for the specified index.StringgetText()-
Methods inherited from class com.helger.pdflayout.element.list.AbstractBulletPointCreatorFontBased
getFontSpec, getPadding, setPadding
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.helger.pdflayout.base.IPLHasPadding
addPaddingBottom, addPaddingLeft, addPaddingRight, addPaddingTop, addPaddingX, addPaddingY, getOutlineBottom, getOutlineLeft, getOutlineRight, getOutlineTop, getOutlineXSum, getOutlineYSum, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPaddingXSum, getPaddingYSum, setPadding, setPadding, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPaddingX, setPaddingY
-
-
-
-
Method Detail
-
getBulletPointElement
@Nonnull public IPLRenderableObject<?> getBulletPointElement(@Nonnegative int nBulletPointIndex)
Description copied from interface:IBulletPointCreatorGet the bullet point text for the specified index.- Parameters:
nBulletPointIndex- The 0-based index of the bullet point to be created.- Returns:
- A non-
nullbut maybe empty.
-
-