summaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-06-13 01:00:51 +0000
committerJaven O'Neal <onealj@apache.org>2016-06-13 01:00:51 +0000
commit286e650c2af561c97bb7e4378ac1aaaa1b0b4d18 (patch)
treeb1b2db4c56a4ade4a4ed6ac23138b8b51fe89e4a /src/java
parent8bf2ebf45394a15b2350658aa35e9a1ed6a6e489 (diff)
downloadpoi-ss_border_property_template.tar.gz
poi-ss_border_property_template.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/java')
-rw-r--r--src/java/org/apache/poi/ss/util/BorderPropertyTemplate.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/poi/ss/util/BorderPropertyTemplate.java b/src/java/org/apache/poi/ss/util/BorderPropertyTemplate.java
index 0446e79cda..f14e47dd6d 100644
--- a/src/java/org/apache/poi/ss/util/BorderPropertyTemplate.java
+++ b/src/java/org/apache/poi/ss/util/BorderPropertyTemplate.java
@@ -293,7 +293,7 @@ public final class BorderPropertyTemplate {
* @param extent BorderExtent of the borders to be applied.
* @since 3.15 beta 2
*/
- public void drawBorders(CellRangeAddress range, BorderStyle borderType, short color, BorderExtent extent) {
+ public void drawColoredBorders(CellRangeAddress range, BorderStyle borderType, short color, BorderExtent extent) {
drawBorders(range, borderType, extent);
if (borderType != BorderStyle.NONE) {
drawBorderColors(range, color, extent);
@@ -518,8 +518,8 @@ public final class BorderPropertyTemplate {
/**
* Applies the drawn borders to a Sheet. The borders that are applied are
- * the ones that have been drawn by the {@link #drawBorders} and
- * {@link #drawBorderColors} methods.
+ * the ones that have been drawn by {@link #drawColoredBorders}, {@link #drawBorders} and
+ * {@link #drawBorderColors}.
* The same border property template can be applied to multiple sheets
* from the same or different workbooks.
*