
com.moon.poi.excel.TemplateRegion Maven / Gradle / Ivy
package com.moon.poi.excel;
/**
* @author moonsky
*/
public class TemplateRegion {
private final int leftRow;
private final int leftCol;
private final int rightRow;
private final int rightCol;
public TemplateRegion(int leftRow, int leftCol, int rightRow, int rightCol) {
this.leftRow = leftRow;
this.leftCol = leftCol;
this.rightRow = rightRow;
this.rightCol = rightCol;
}
public static TemplateRegion of(int leftRow, int leftCol, int rightRow, int rightCol) {
return new TemplateRegion(leftRow, leftCol, rightRow, rightCol);
}
public int getLeftRow() { return leftRow; }
public int getLeftCol() { return leftCol; }
public int getRightRow() { return rightRow; }
public int getRightCol() { return rightCol; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy