Minor javadoc update

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353772 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Height 2005-08-23 03:44:59 +00:00
parent 4292bb157a
commit 5748dfe392
1 changed files with 3 additions and 3 deletions

View File

@ -806,12 +806,12 @@ public class HSSFCellStyle
* For example:
* <pre>
* cs.setFillPattern(HSSFCellStyle.FINE_DOTS );
* cs.setFillBackgroundColor(HSSFCellStyle.RED);
* cs.setFillBackgroundColor(new HSSFColor.RED().getIndex());
* </pre>
* or, for the special case of SOLID_FILL:
* <pre>
* cs.setFillPattern(HSSFCellStyle.SOLID_FILL );
* cs.setFillForgroundColor(HSSFSeCellStyle.RED);
* cs.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND );
* cs.setFillForegroundColor(new HSSFColor.RED().getIndex());
* </pre>
* It is necessary to set the fill style in order
* for the color to be shown in the cell.