Class MergedArea
java.lang.Object
com.github.cla9.excel.reader.sheet.MergedArea
public class MergedArea
extends java.lang.Object
The type Merged area.
-
Constructor Summary
Constructors Constructor Description MergedArea(int leftTopX, int leftTopY, int rightBottomX, int rightBottomY)Instantiates a new Merged area. -
Method Summary
Modifier and Type Method Description java.lang.StringgetHeader()Gets header.intgetLeftTopX()Gets left top x.intgetLeftTopY()Gets left top y.intgetRightBottomX()Gets right bottom x.intgetRightBottomY()Gets right bottom y.voidsetHeader(java.lang.String header)Sets header.
-
Constructor Details
-
MergedArea
public MergedArea(int leftTopX, int leftTopY, int rightBottomX, int rightBottomY)Instantiates a new Merged area.- Parameters:
leftTopX- the left top xleftTopY- the left top yrightBottomX- the right bottom xrightBottomY- the right bottom y
-
-
Method Details
-
getLeftTopX
public int getLeftTopX()Gets left top x.- Returns:
- the left top x
-
getLeftTopY
public int getLeftTopY()Gets left top y.- Returns:
- the left top y
-
getRightBottomX
public int getRightBottomX()Gets right bottom x.- Returns:
- the right bottom x
-
getRightBottomY
public int getRightBottomY()Gets right bottom y.- Returns:
- the right bottom y
-
getHeader
public java.lang.String getHeader()Gets header.- Returns:
- the header
-
setHeader
public void setHeader(java.lang.String header)Sets header.- Parameters:
header- the header
-