public final class RegionUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
setBorderBottom(BorderStyle border,
CellRangeAddress region,
Sheet sheet)
Sets the bottom border style for a region of cells by manipulating the cell style of the individual
cells on the bottom
|
static void |
setBorderLeft(BorderStyle border,
CellRangeAddress region,
Sheet sheet)
Sets the left border style for a region of cells by manipulating the cell style of the individual
cells on the left
|
static void |
setBorderRight(BorderStyle border,
CellRangeAddress region,
Sheet sheet)
Sets the right border style for a region of cells by manipulating the cell style of the individual
cells on the right
|
static void |
setBorderTop(BorderStyle border,
CellRangeAddress region,
Sheet sheet)
Sets the top border style for a region of cells by manipulating the cell style of the individual
cells on the top
|
static void |
setBottomBorderColor(int color,
CellRangeAddress region,
Sheet sheet)
Sets the bottom border color for a region of cells by manipulating the cell style of the individual
cells on the bottom
|
static void |
setLeftBorderColor(int color,
CellRangeAddress region,
Sheet sheet)
Sets the left border color for a region of cells by manipulating the cell style of the individual
cells on the left
|
static void |
setRightBorderColor(int color,
CellRangeAddress region,
Sheet sheet)
Sets the right border color for a region of cells by manipulating the cell style of the individual
cells on the right
|
static void |
setTopBorderColor(int color,
CellRangeAddress region,
Sheet sheet)
Sets the top border color for a region of cells by manipulating the cell style of the individual
cells on the top
|
public static void setBorderLeft(BorderStyle border, CellRangeAddress region, Sheet sheet)
border
- The new borderregion
- The region that should have the bordersheet
- The sheet that the region is on.public static void setLeftBorderColor(int color, CellRangeAddress region, Sheet sheet)
color
- The color of the borderregion
- The region that should have the bordersheet
- The sheet that the region is on.public static void setBorderRight(BorderStyle border, CellRangeAddress region, Sheet sheet)
border
- The new borderregion
- The region that should have the bordersheet
- The sheet that the region is on.public static void setRightBorderColor(int color, CellRangeAddress region, Sheet sheet)
color
- The color of the borderregion
- The region that should have the bordersheet
- The sheet that the region is on.public static void setBorderBottom(BorderStyle border, CellRangeAddress region, Sheet sheet)
border
- The new borderregion
- The region that should have the bordersheet
- The sheet that the region is on.public static void setBottomBorderColor(int color, CellRangeAddress region, Sheet sheet)
color
- The color of the borderregion
- The region that should have the bordersheet
- The sheet that the region is on.public static void setBorderTop(BorderStyle border, CellRangeAddress region, Sheet sheet)
border
- The new borderregion
- The region that should have the bordersheet
- The sheet that the region is on.public static void setTopBorderColor(int color, CellRangeAddress region, Sheet sheet)
color
- The color of the borderregion
- The region that should have the bordersheet
- The sheet that the region is on.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.