|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.usermodel.HSSFColorScaleFormatting
public final class HSSFColorScaleFormatting
High level representation for Color Scale / Color Gradient Formatting component of Conditional Formatting settings
| Constructor Summary | |
|---|---|
protected |
HSSFColorScaleFormatting(CFRule12Record cfRule12Record,
HSSFSheet sheet)
|
| Method Summary | |
|---|---|
HSSFConditionalFormattingThreshold |
createThreshold()
Creates a new, empty Threshold |
HSSFExtendedColor[] |
getColors()
Gets the list of colours that are interpolated between. |
int |
getNumControlPoints()
How many control points should be used to map the colours? Normally 2 or 3 |
HSSFConditionalFormattingThreshold[] |
getThresholds()
Gets the list of thresholds |
void |
setColors(Color[] colors)
Sets the list of colours that are interpolated between. |
void |
setNumControlPoints(int num)
Sets the number of control points to use to map the colours. |
void |
setThresholds(ConditionalFormattingThreshold[] thresholds)
Sets the of thresholds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected HSSFColorScaleFormatting(CFRule12Record cfRule12Record,
HSSFSheet sheet)
| Method Detail |
|---|
public int getNumControlPoints()
ColorScaleFormatting
getNumControlPoints in interface ColorScaleFormattingpublic void setNumControlPoints(int num)
ColorScaleFormattingAfter updating, you need to ensure that the
Threshold count and Color count match
setNumControlPoints in interface ColorScaleFormattingpublic HSSFExtendedColor[] getColors()
ColorScaleFormatting
getColors in interface ColorScaleFormattingpublic void setColors(Color[] colors)
ColorScaleFormattingColorScaleFormatting.getNumControlPoints()
setColors in interface ColorScaleFormattingpublic HSSFConditionalFormattingThreshold[] getThresholds()
ColorScaleFormatting
getThresholds in interface ColorScaleFormattingpublic void setThresholds(ConditionalFormattingThreshold[] thresholds)
ColorScaleFormattingColorScaleFormatting.getNumControlPoints()
setThresholds in interface ColorScaleFormattingpublic HSSFConditionalFormattingThreshold createThreshold()
ColorScaleFormatting
createThreshold in interface ColorScaleFormatting
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||