|
||||||||||
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(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the borderBottom attribute of the RegionUtil object |
static void |
setBorderLeft(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the left border for a region of cells by manipulating the cell style of the individual cells on the left |
static void |
setBorderRight(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the borderRight attribute of the RegionUtil object |
static void |
setBorderTop(int border,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the borderBottom attribute of the RegionUtil object |
static void |
setBottomBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the bottomBorderColor attribute of the RegionUtil object |
static void |
setLeftBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the leftBorderColor attribute of the RegionUtil object |
static void |
setRightBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the rightBorderColor attribute of the RegionUtil object |
static void |
setTopBorderColor(int color,
CellRangeAddress region,
Sheet sheet,
Workbook workbook)
Sets the topBorderColor attribute of the RegionUtil object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setBorderLeft(int border, CellRangeAddress region, Sheet sheet, Workbook workbook)
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 setLeftBorderColor(int color, CellRangeAddress region, Sheet sheet, Workbook workbook)
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 setBorderRight(int border, CellRangeAddress region, Sheet sheet, Workbook workbook)
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 setRightBorderColor(int color, CellRangeAddress region, Sheet sheet, Workbook workbook)
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 setBorderBottom(int border, CellRangeAddress region, Sheet sheet, Workbook workbook)
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 setBottomBorderColor(int color, CellRangeAddress region, Sheet sheet, Workbook workbook)
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 setBorderTop(int border, CellRangeAddress region, Sheet sheet, Workbook workbook)
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 setTopBorderColor(int color, CellRangeAddress region, Sheet sheet, Workbook workbook)
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |