org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class ColorCode
java.lang.Object
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.ColorCode
public class ColorCode
- extends Object
Color codes
- Version:
- $Id: ColorCode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Marc Johnson (marc_johnson27591@hotmail.com), Andrew C. Oliver (acoliver2@users.sourceforge.net)
ColorCode
public ColorCode(String value)
throws IOException
- construct the ColorCode object
- Parameters:
value
- the string containing the colors
- Throws:
IOException
- if the string is badly formed
getRed
public int getRed()
- Returns:
- red component
getGreen
public int getGreen()
- Returns:
- green component
getBlue
public int getBlue()
- Returns:
- blue component
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.