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 java.lang.Object

Color codes

Author:
Marc Johnson (marc_johnson27591@hotmail.com), Andrew C. Oliver (acoliver2@users.sourceforge.net)

Constructor Summary
ColorCode(java.lang.String value)
          construct the ColorCode object
 
Method Summary
 int getBlue()
           
 int getGreen()
           
 int getRed()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColorCode

public ColorCode(java.lang.String value)
          throws java.io.IOException
construct the ColorCode object
Parameters:
value - the string containing the colors
Throws:
java.io.IOException - if the string is badly formed
Method Detail

getRed

public int getRed()
Returns:
red component

getGreen

public int getGreen()
Returns:
green component

getBlue

public int getBlue()
Returns:
blue component

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.