Interface DisplaySlot.Factory
-
- Enclosing interface:
- DisplaySlot
public static interface DisplaySlot.FactoryUsed to supportfindByTeamColor(NamedTextColor)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<DisplaySlot>findByTeamColor(NamedTextColor color)Finds and retrieves the sidebar display slot for the specifiedNamedTextColorassociated with aTeam, if one exists.
-
-
-
Method Detail
-
findByTeamColor
Optional<DisplaySlot> findByTeamColor(NamedTextColor color)
Finds and retrieves the sidebar display slot for the specifiedNamedTextColorassociated with aTeam, if one exists.- Parameters:
color- TheNamedTextColor- Returns:
- The slot, if one was found
-
-