|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.poi.hssf.usermodel.contrib.HSSFRegionUtil
Various utility functions that make working with a region of cells easier.
| Constructor Summary | |
HSSFRegionUtil()
Constructor for the HSSFRegionUtil object |
|
| Method Summary | |
static void |
setBorderBottom(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderBottom attribute of the HSSFRegionUtil object |
static void |
setBorderLeft(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the left border for a region of cells by manipulating the cell style of the indidual cells on the left |
static void |
setBorderRight(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderRight attribute of the HSSFRegionUtil object |
static void |
setBorderTop(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the borderBottom attribute of the HSSFRegionUtil object |
static void |
setBottomBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the bottomBorderColor attribute of the HSSFRegionUtil object |
static void |
setLeftBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the leftBorderColor attribute of the HSSFRegionUtil object |
static void |
setRightBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the rightBorderColor attribute of the HSSFRegionUtil object |
static void |
setTopBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
Sets the topBorderColor attribute of the HSSFRegionUtil object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HSSFRegionUtil()
| Method Detail |
public static void setBorderLeft(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
throws org.apache.commons.lang.exception.NestableException
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.
org.apache.commons.lang.exception.NestableException - Thrown if the CellStyle can't be changed
public static void setLeftBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
throws org.apache.commons.lang.exception.NestableException
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.
org.apache.commons.lang.exception.NestableException - Thrown if the CellStyle can't be changed
properly.
public static void setBorderRight(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
throws org.apache.commons.lang.exception.NestableException
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.
org.apache.commons.lang.exception.NestableException - Thrown if the CellStyle can't be changed
public static void setRightBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
throws org.apache.commons.lang.exception.NestableException
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.
org.apache.commons.lang.exception.NestableException - Thrown if the CellStyle can't be changed
properly.
public static void setBorderBottom(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
throws org.apache.commons.lang.exception.NestableException
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.
org.apache.commons.lang.exception.NestableException - Thrown if the CellStyle can't be changed
public static void setBottomBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
throws org.apache.commons.lang.exception.NestableException
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.
org.apache.commons.lang.exception.NestableException - Thrown if the CellStyle can't be changed
properly.
public static void setBorderTop(short border,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
throws org.apache.commons.lang.exception.NestableException
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.
org.apache.commons.lang.exception.NestableException - Thrown if the CellStyle can't be changed
public static void setTopBorderColor(short color,
Region region,
HSSFSheet sheet,
HSSFWorkbook workbook)
throws org.apache.commons.lang.exception.NestableException
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.
org.apache.commons.lang.exception.NestableException - Thrown if the CellStyle can't be changed
properly.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||