diff options
author | Javen O'Neal <onealj@apache.org> | 2016-06-13 01:00:51 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2016-06-13 01:00:51 +0000 |
commit | 286e650c2af561c97bb7e4378ac1aaaa1b0b4d18 (patch) | |
tree | b1b2db4c56a4ade4a4ed6ac23138b8b51fe89e4a /src/examples | |
parent | 8bf2ebf45394a15b2350658aa35e9a1ed6a6e489 (diff) | |
download | poi-286e650c2af561c97bb7e4378ac1aaaa1b0b4d18.tar.gz poi-286e650c2af561c97bb7e4378ac1aaaa1b0b4d18.zip |
rename drawBorders(..., short color, ...) to drawColoredBorders to make it obvious that method changes border line style and colorss_border_property_template
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ss_border_property_template@1748074 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/src/org/apache/poi/ss/examples/DrawingBorders.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/src/org/apache/poi/ss/examples/DrawingBorders.java b/src/examples/src/org/apache/poi/ss/examples/DrawingBorders.java index 2ff001eaa6..b42289385b 100644 --- a/src/examples/src/org/apache/poi/ss/examples/DrawingBorders.java +++ b/src/examples/src/org/apache/poi/ss/examples/DrawingBorders.java @@ -86,10 +86,10 @@ public class DrawingBorders { // #3) these cells will all be medium weight with different colors for the // outside, inside horizontal, and inside vertical borders. The center // cell will have no borders. - pt.drawBorders(b10d12, BorderStyle.MEDIUM, red, BorderExtent.OUTSIDE); - pt.drawBorders(b10d12, BorderStyle.MEDIUM, blue, BorderExtent.INSIDE_VERTICAL); - pt.drawBorders(b10d12, BorderStyle.MEDIUM, green, BorderExtent.INSIDE_HORIZONTAL); - pt.drawBorders(c11, BorderStyle.NONE, BorderExtent.ALL); + pt.drawColoredBorders(b10d12, BorderStyle.MEDIUM, red, BorderExtent.OUTSIDE); + pt.drawColoredBorders(b10d12, BorderStyle.MEDIUM, blue, BorderExtent.INSIDE_VERTICAL); + pt.drawColoredBorders(b10d12, BorderStyle.MEDIUM, green, BorderExtent.INSIDE_HORIZONTAL); + pt.drawBorders(c11, BorderStyle.NONE, BorderExtent.ALL); // apply borders to sheet pt.applyBorders(sh1); |