Class ChainedColourScheme

  • All Implemented Interfaces:
    ColourScheme

    public class ChainedColourScheme
    extends AbstractColourScheme
    A simple colour scheme that looks through a list of colour schemes until it finds a matching colour (or null if none found).
    • Constructor Detail

      • ChainedColourScheme

        public ChainedColourScheme​(List<ColourScheme> colourSchemes)
        Creates a ChainedColourScheme that selects colours from the list of ColourSchemes provided.
        Parameters:
        colourSchemes - a list of colourSchemes, any nulls will be filtered out.