public class Block
extends java.lang.Object
| Constructor and Description |
|---|
Block(int startRowNum,
int startCellNum,
int endRowNum,
int endCellNum) |
Block(Sheet sheet,
int startRowNum,
int endRowNum) |
Block(Sheet sheet,
int startRowNum,
int startCellNum,
int endRowNum,
int endCellNum) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAffectedColumn(int col) |
boolean |
contains(CellRef cellRef) |
boolean |
contains(Formula formula) |
boolean |
contains(int rowNum,
int cellNum) |
boolean |
contains(Point p) |
boolean |
equals(java.lang.Object o) |
int |
getEndCellNum() |
int |
getEndRowNum() |
int |
getNumberOfColumns() |
int |
getNumberOfRows() |
Sheet |
getSheet() |
int |
getStartCellNum() |
int |
getStartRowNum() |
int |
hashCode() |
Block |
horizontalShift(int cellShift) |
boolean |
isAbove(int rowNum) |
boolean |
isAbove(Point p) |
boolean |
isBelow(Point p) |
boolean |
isColBlock() |
boolean |
isRowBlock() |
boolean |
isToLeft(Point p) |
void |
setEndCellNum(int endCellNum) |
void |
setEndRowNum(int endRowNum) |
void |
setSheet(Sheet sheet) |
void |
setStartCellNum(int startCellNum) |
void |
setStartRowNum(int startRowNum) |
java.lang.String |
toString() |
Block |
verticalShift(int rowShift) |
public Block(Sheet sheet, int startRowNum, int endRowNum)
public Block(int startRowNum,
int startCellNum,
int endRowNum,
int endCellNum)
public Block(Sheet sheet, int startRowNum, int startCellNum, int endRowNum, int endCellNum)
public void addAffectedColumn(int col)
public Block horizontalShift(int cellShift)
public Block verticalShift(int rowShift)
public int getStartCellNum()
public void setStartCellNum(int startCellNum)
public int getEndCellNum()
public void setEndCellNum(int endCellNum)
public int getStartRowNum()
public void setStartRowNum(int startRowNum)
public int getEndRowNum()
public void setEndRowNum(int endRowNum)
public int getNumberOfRows()
public int getNumberOfColumns()
public boolean contains(int rowNum,
int cellNum)
public boolean contains(Formula formula)
public boolean contains(Point p)
public boolean contains(CellRef cellRef)
public boolean isAbove(Point p)
public boolean isToLeft(Point p)
public boolean isAbove(int rowNum)
public boolean isBelow(Point p)
public boolean isRowBlock()
public boolean isColBlock()
public Sheet getSheet()
public void setSheet(Sheet sheet)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005-2014 jXLS Team. All Rights Reserved.