|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorRegistry
Name: ColorRegistry
Description: An interface for color registries.
Method Summary | |
---|---|
Color |
getColor(String colorName)
Gets a color from the color registry. |
void |
registerColor(String colorName,
Color color)
Registers the given color for the also given name. |
Method Detail |
---|
void registerColor(String colorName, Color color)
colorName
- The color name.color
- The color to register.Color getColor(String colorName)
colorName
- The color name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |