Interface IColorRegistry
-
public interface IColorRegistry
The registry of the platform colors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Color
getColor(String alias, Version version)
Gets the color by specifiedalias
(the qualified name).Map<String,Color>
getStyleColors(Version version)
Gets the all style registered colors.Map<String,Color>
getSystemColors(Version version)
Gets the all system registered colors.Map<String,Color>
getWebColors(Version version)
Gets the all web registered colors.
-
-
-
Method Detail
-
getColor
Color getColor(String alias, Version version)
Gets the color by specifiedalias
(the qualified name).- Parameters:
alias
- the qualified name, cannot benull
version
- the current project version, cannot benull
- 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 benull
- Returns:
- all slyle registered colors
-
getWebColors
Map<String,Color> getWebColors(Version version)
Gets the all web registered colors.- Parameters:
version
- current project version, cannot benull
- Returns:
- all web registered colors
-
-