Package org.apache.poi.ddf
Class EscherRGBProperty
- java.lang.Object
-
- org.apache.poi.ddf.EscherProperty
-
- org.apache.poi.ddf.EscherSimpleProperty
-
- org.apache.poi.ddf.EscherRGBProperty
-
public class EscherRGBProperty extends EscherSimpleProperty
A color property.
-
-
Constructor Summary
Constructors Constructor Description EscherRGBProperty(short propertyNumber, int rgbColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 classEscherSimpleProperty
-
-