Package org.teamapps.icons
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description STYLEgetStyle()ICONwithStyle(STYLE style)Creates a copy of this icon with the specified 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!
-
-