Interface Styleable

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Styleable
A role which declares a set of styles for rendering.
Author:
Fabrizio Giudici
Stereotype:
Role
  • Field Details

  • Method Details

    • getStyles

      @Nonnull Collection<String> getStyles()
    • of

      @Nonnull static Styleable of(@Nonnull Collection<String> styles)
      Creates a new instance from a collection of strings
      Parameters:
      styles - the style names
      Returns:
      the new instance
      Since:
      3.2-ALPHA-2
    • of

      @Nonnull static Styleable of(@Nonnull String... styles)
      Creates a new instance from a collection of strings
      Parameters:
      styles - the style names
      Returns:
      the new instance
      Since:
      3.2-ALPHA-2