Top Description Constructors Methods
org.apache.poi.ddf

public Class EscherRGBProperty

extends EscherSimpleProperty
Class Inheritance

A color property.

Constructor Summary

AccessConstructor and Description
public
EscherRGBProperty(short
The property number (or id)
propertyNumber
,
int
The 24 bit value of this rgb property
rgbColor
)

Create an instance of an escher boolean property.

public
EscherRGBProperty(EscherPropertyTypes
one of the defined property types
propertyType
,
int
The 24 bit value of this rgb property
rgbColor
)

Create an instance of an escher boolean property.

Method Summary

Modifier and TypeMethod and Description
public byte

Returns:

the blue part
getBlue
()

public byte

Returns:

the green part
getGreen
()

public byte

Returns:

the red part
getRed
()

public int

Returns:

the rgb color as int value
getRgbColor
()

Inherited from org.apache.poi.ddf.EscherSimpleProperty:
equalsgetGenericPropertiesgetPropertyValuehashCodeserializeComplexPartserializeSimplePart

Constructor Detail

EscherRGBPropertyback to summary
public EscherRGBProperty(short propertyNumber, int rgbColor)

Create an instance of an escher boolean property.

Parameters
propertyNumber:short

The property number (or id)

rgbColor:int

The 24 bit value of this rgb property

EscherRGBPropertyback to summary
public EscherRGBProperty(EscherPropertyTypes propertyType, int rgbColor)

Create an instance of an escher boolean property.

Parameters
propertyType:EscherPropertyTypes

one of the defined property types

rgbColor:int

The 24 bit value of this rgb property

Method Detail

getBlueback to summary
public byte getBlue()
Returns:byte

the blue part

getGreenback to summary
public byte getGreen()
Returns:byte

the green part

getRedback to summary
public byte getRed()
Returns:byte

the red part

getRgbColorback to summary
public int getRgbColor()
Returns:int

the rgb color as int value