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