Interface IColorRegistry


  • public interface IColorRegistry
    The registry of the platform colors.
    • Method Detail

      • getColor

        Color getColor​(String alias,
                       Version version)
        Gets the color by specified alias (the qualified name).
        Parameters:
        alias - the qualified name, cannot be null
        version - the current project version, cannot be null
        Returns:
        the color, can be null if not found
      • getStyleColors

        Map<String,​Color> getStyleColors​(Version version)
        Gets the all style registered colors.
        Parameters:
        version - current project version, cannot be null
        Returns:
        all slyle registered colors
      • getWebColors

        Map<String,​Color> getWebColors​(Version version)
        Gets the all web registered colors.
        Parameters:
        version - current project version, cannot be null
        Returns:
        all web registered colors
      • getSystemColors

        Map<String,​Color> getSystemColors​(Version version)
        Gets the all system registered colors.
        Parameters:
        version - current project version, cannot be null
        Returns:
        all system registered colors