Package it.tidalwave.role.ui
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 Summary
Fields Modifier and Type Field Description static java.lang.Class<Styleable>
_Styleable_
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getStyles()
static Styleable
of(java.lang.String... styles)
Creates a new instance from a collection of stringsstatic Styleable
of(java.util.Collection<java.lang.String> styles)
Creates a new instance from a collection of strings
-
-
-
Field Detail
-
_Styleable_
static final java.lang.Class<Styleable> _Styleable_
-
-
Method Detail
-
getStyles
@Nonnull java.util.Collection<java.lang.String> getStyles()
-
of
@Nonnull static Styleable of(@Nonnull java.util.Collection<java.lang.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 java.lang.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
-
-