info.informatica.doc.style.css.property
Class ColorIdentifiers
java.lang.Object
info.informatica.doc.style.css.property.ColorIdentifiers
public class ColorIdentifiers
- extends Object
CSS Color identifiers map.
- Author:
- Carlos Amengual (amengual at informatica.info)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorIdentifiers
public ColorIdentifiers()
getInstance
public static ColorIdentifiers getInstance()
- Gets the instance of this class.
- Returns:
- the singleton instance of this class.
getColor
public String getColor(String keyword)
- Gets the color associated to the given keyword.
- Parameters:
keyword - the color keyword (orange, blue, etc.)
- Returns:
- the corresponding #-starting hex color specification.
Copyright © 2011 informatica.info. All Rights Reserved.