Class BulletPointCreatorSymbol
- java.lang.Object
-
- com.helger.pdflayout.element.list.AbstractBulletPointCreatorFontBased<BulletPointCreatorConstant>
-
- com.helger.pdflayout.element.list.BulletPointCreatorConstant
-
- com.helger.pdflayout.element.list.BulletPointCreatorSymbol
-
- All Implemented Interfaces:
com.helger.commons.traits.IGenericImplTrait<BulletPointCreatorConstant>,IPLHasOutline,IPLHasPadding<BulletPointCreatorConstant>,IBulletPointCreator
public class BulletPointCreatorSymbol extends BulletPointCreatorConstant
An implementation ofIBulletPointCreatorthat always uses the Bullet point character from symbol font.- 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 BulletPointCreatorSymbol(char cSymbol, float fFontSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulletPointCreatorSymbolcreateEmptyDot(float fFontSize)static BulletPointCreatorSymbolcreateFilledDot(float fFontSize)IPLRenderableObject<?>getBulletPointElement(int nBulletPointIndex)Get the bullet point text for the specified index.-
Methods inherited from class com.helger.pdflayout.element.list.BulletPointCreatorConstant
getText
-
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
-
-
-
-
Constructor Detail
-
BulletPointCreatorSymbol
public BulletPointCreatorSymbol(char cSymbol, @Nonnegative float fFontSize)
-
-
Method Detail
-
getBulletPointElement
@Nonnull public IPLRenderableObject<?> getBulletPointElement(@Nonnegative int nBulletPointIndex)
Description copied from interface:IBulletPointCreatorGet the bullet point text for the specified index.- Specified by:
getBulletPointElementin interfaceIBulletPointCreator- Overrides:
getBulletPointElementin classBulletPointCreatorConstant- Parameters:
nBulletPointIndex- The 0-based index of the bullet point to be created.- Returns:
- A non-
nullbut maybe empty.
-
createFilledDot
@Nonnull public static BulletPointCreatorSymbol createFilledDot(@Nonnegative float fFontSize)
-
createEmptyDot
@Nonnull public static BulletPointCreatorSymbol createEmptyDot(@Nonnegative float fFontSize)
-
-