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 border
(边界 - 新边界)
region
- The region that should have the border
(region - 应该有边界的区域)
sheet
- The sheet that the region is on.
(sheet - 区域所在的工作表。)
public static void setLeftBorderColor(int color, CellRangeAddress region, Sheet sheet)
color
- The color of the border
(color - 边框的颜色)
region
- The region that should have the border
(region - 应该有边界的区域)
sheet
- The sheet that the region is on.
(sheet - 区域所在的工作表。)
public static void setBorderRight(BorderStyle border, CellRangeAddress region, Sheet sheet)
border
- The new border
(边界 - 新边界)
region
- The region that should have the border
(region - 应该有边界的区域)
sheet
- The sheet that the region is on.
(sheet - 区域所在的工作表。)
public static void setRightBorderColor(int color, CellRangeAddress region, Sheet sheet)
color
- The color of the border
(color - 边框的颜色)
region
- The region that should have the border
(region - 应该有边界的区域)
sheet
- The sheet that the region is on.
(sheet - 区域所在的工作表。)
public static void setBorderBottom(BorderStyle border, CellRangeAddress region, Sheet sheet)
border
- The new border
(边界 - 新边界)
region
- The region that should have the border
(region - 应该有边界的区域)
sheet
- The sheet that the region is on.
(sheet - 区域所在的工作表。)
public static void setBottomBorderColor(int color, CellRangeAddress region, Sheet sheet)
color
- The color of the border
(color - 边框的颜色)
region
- The region that should have the border
(region - 应该有边界的区域)
sheet
- The sheet that the region is on.
(sheet - 区域所在的工作表。)
public static void setBorderTop(BorderStyle border, CellRangeAddress region, Sheet sheet)
border
- The new border
(边界 - 新边界)
region
- The region that should have the border
(region - 应该有边界的区域)
sheet
- The sheet that the region is on.
(sheet - 区域所在的工作表。)
public static void setTopBorderColor(int color, CellRangeAddress region, Sheet sheet)
color
- The color of the border
(color - 边框的颜色)
region
- The region that should have the border
(region - 应该有边界的区域)
sheet
- The sheet that the region is on.
(sheet - 区域所在的工作表。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.