public final class RegionUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
setBorderBottom(int border,
CellRangeAddress region,
Sheet sheet)
Sets the bottom border for a region of cells by manipulating the cell style of the individual
cells on the bottom
|
static void |
setBorderBottom(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Deprecated.
3.15 beta 2. Use
setBorderBottom(int, CellRangeAddress, Sheet) . |
static void |
setBorderLeft(int border,
CellRangeAddress region,
Sheet sheet)
Sets the left border for a region of cells by manipulating the cell style of the individual
cells on the left
|
static void |
setBorderLeft(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Deprecated.
3.15 beta 2. Use
setBorderLeft(int, CellRangeAddress, Sheet) . |
static void |
setBorderRight(int border,
CellRangeAddress region,
Sheet sheet)
Sets the right border for a region of cells by manipulating the cell style of the individual
cells on the right
|
static void |
setBorderRight(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Deprecated.
3.15 beta 2. Use
setBorderRight(int, CellRangeAddress, Sheet) . |
static void |
setBorderTop(int border,
CellRangeAddress region,
Sheet sheet)
Sets the top border for a region of cells by manipulating the cell style of the individual
cells on the top
|
static void |
setBorderTop(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Deprecated.
3.15 beta 2. Use
setBorderTop(int, CellRangeAddress, Sheet) . |
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 |
setBottomBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Deprecated.
3.15 beta 2. Use
setBottomBorderColor(int, CellRangeAddress, Sheet) . |
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 |
setLeftBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Deprecated.
3.15 beta 2. Use
setLeftBorderColor(int, CellRangeAddress, Sheet) . |
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 |
setRightBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Deprecated.
3.15 beta 2. Use
setRightBorderColor(int, CellRangeAddress, Sheet) . |
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
|
static void |
setTopBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Deprecated.
3.15 beta 2. Use
setTopBorderColor(int, CellRangeAddress, Sheet) . |
public static void setBorderLeft(int border, CellRangeAddress region, Sheet sheet, Workbook workbook)
setBorderLeft(int, CellRangeAddress, Sheet)
.border
- The new borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setBorderLeft(int 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, Workbook workbook)
setLeftBorderColor(int, CellRangeAddress, Sheet)
.color
- The color of the borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- 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(int border, CellRangeAddress region, Sheet sheet, Workbook workbook)
setBorderRight(int, CellRangeAddress, Sheet)
.border
- The new borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setBorderRight(int 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, Workbook workbook)
setRightBorderColor(int, CellRangeAddress, Sheet)
.color
- The color of the borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- 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(int border, CellRangeAddress region, Sheet sheet, Workbook workbook)
setBorderBottom(int, CellRangeAddress, Sheet)
.border
- The new borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setBorderBottom(int 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, Workbook workbook)
setBottomBorderColor(int, CellRangeAddress, Sheet)
.color
- The color of the borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- 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(int border, CellRangeAddress region, Sheet sheet, Workbook workbook)
setBorderTop(int, CellRangeAddress, Sheet)
.border
- The new borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- The sheet that the region is on.public static void setBorderTop(int 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, Workbook workbook)
setTopBorderColor(int, CellRangeAddress, Sheet)
.color
- The color of the borderregion
- The region that should have the borderworkbook
- The workbook that the region is on.sheet
- 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 2017 The Apache Software Foundation or its licensors, as applicable.