|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.ss.util.RegionUtil
public final class RegionUtil
Various utility functions that make working with a region of cells easier.
Method Summary | |
---|---|
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 |
setBorderBottom(int border,
CellRangeAddress region,
Sheet sheet)
Deprecated. POI 3.16 beta 1. Use setBorderBottom(BorderStyle, CellRangeAddress, Sheet) . |
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 |
setBorderLeft(int border,
CellRangeAddress region,
Sheet sheet)
Deprecated. 3.16 beta 1. Use setBorderLeft(BorderStyle, CellRangeAddress, Sheet) . |
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 |
setBorderRight(int border,
CellRangeAddress region,
Sheet sheet)
Deprecated. POI 3.16 beta 1. Use setBorderRight(BorderStyle, CellRangeAddress, Sheet) . |
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 |
setBorderTop(int border,
CellRangeAddress region,
Sheet sheet)
Deprecated. 3.16 beta 1. Use setBorderTop(BorderStyle, 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 |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Removal(version="3.18") public static void setBorderLeft(int border, CellRangeAddress region, Sheet sheet)
setBorderLeft(BorderStyle, CellRangeAddress, Sheet)
.
border
- The new borderregion
- The region that should have the bordersheet
- The sheet that the region is on.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.@Removal(version="3.18") public static void setBorderRight(int border, CellRangeAddress region, Sheet sheet)
setBorderRight(BorderStyle, CellRangeAddress, Sheet)
.
border
- The new 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.@Removal(version="3.18") public static void setBorderBottom(int border, CellRangeAddress region, Sheet sheet)
setBorderBottom(BorderStyle, CellRangeAddress, Sheet)
.
border
- The new 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.@Removal(version="3.18") public static void setBorderTop(int border, CellRangeAddress region, Sheet sheet)
setBorderTop(BorderStyle, CellRangeAddress, Sheet)
.
border
- The new 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |