org.apache.poi.ddf
Class EscherRGBProperty

java.lang.Object
  extended by org.apache.poi.ddf.EscherProperty
      extended by org.apache.poi.ddf.EscherSimpleProperty
          extended by org.apache.poi.ddf.EscherRGBProperty

public class EscherRGBProperty
extends EscherSimpleProperty

A color property.


Constructor Summary
EscherRGBProperty(short propertyNumber, int rgbColor)
           
 
Method Summary
 byte getBlue()
           
 byte getGreen()
           
 byte getRed()
           
 int getRgbColor()
           
 java.lang.String toXml(java.lang.String tab)
           
 
Methods inherited from class org.apache.poi.ddf.EscherSimpleProperty
equals, getPropertyValue, hashCode, serializeComplexPart, serializeSimplePart, toString
 
Methods inherited from class org.apache.poi.ddf.EscherProperty
getId, getName, getPropertyNumber, getPropertySize, isBlipId, isComplex
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EscherRGBProperty

public EscherRGBProperty(short propertyNumber,
                         int rgbColor)
Method Detail

getRgbColor

public int getRgbColor()
Returns:
the rgb color as int value

getRed

public byte getRed()
Returns:
the red part

getGreen

public byte getGreen()
Returns:
the green part

getBlue

public byte getBlue()
Returns:
the blue part

toXml

public java.lang.String toXml(java.lang.String tab)
Overrides:
toXml in class EscherSimpleProperty