Interface Icon<ICON extends Icon<ICON,​STYLE>,​STYLE>

  • Type Parameters:
    ICON - Must be a self class reference.
    STYLE - The style class these icons support.
    All Known Implementing Classes:
    CompositeIcon

    public interface Icon<ICON extends Icon<ICON,​STYLE>,​STYLE>
    • Method Detail

      • withStyle

        ICON withStyle​(STYLE style)
        Creates a copy of this icon with the specified style. The style may be null!
        Parameters:
        style - The style to apply. May be null!
        Returns:
        A copy of this icon with the specified style.
      • getStyle

        STYLE getStyle()
        Returns:
        The style of this icon. May be null!