Interface IPLHasFillColor<IMPLTYPE extends IPLHasFillColor<IMPLTYPE>>

Type Parameters:
IMPLTYPE - Implementation type
All Superinterfaces:
com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>
All Known Subinterfaces:
IPLBlockElement<IMPLTYPE>, IPLElement<IMPLTYPE>, IPLInlineElement<IMPLTYPE>
All Known Implementing Classes:
AbstractPLBlockElement, AbstractPLBox, AbstractPLElement, AbstractPLExternalLink, AbstractPLImage, AbstractPLInlineBox, AbstractPLInlineElement, AbstractPLText, PLBox, PLExternalLink, PLImage, PLPageSet, PLStreamImage, PLTableCell, PLText

public interface IPLHasFillColor<IMPLTYPE extends IPLHasFillColor<IMPLTYPE>> extends com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>
Base interface for objects with a fill color
Author:
Philip Helger
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final PLColor
    By default nothing is filled, so the default value is null.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default boolean
     
    setFillColor(PLColor aFillColor)
    Set the element fill color.

    Methods inherited from interface com.helger.commons.traits.IGenericImplTrait

    thisAsT
  • Field Details

    • DEFAULT_FILL_COLOR

      static final PLColor DEFAULT_FILL_COLOR
      By default nothing is filled, so the default value is null.
  • Method Details

    • setFillColor

      @Nonnull IMPLTYPE setFillColor(@Nullable PLColor aFillColor)
      Set the element fill color.
      Parameters:
      aFillColor - The fill color to use. May be null.
      Returns:
      this
      Since:
      7.2.0
    • getFillColor

      @Nullable PLColor getFillColor()
      Returns:
      The current fill color. May be null.
    • hasFillColor

      default boolean hasFillColor()