first commit
This commit is contained in:
commit
4d332ef662
27586 changed files with 3281783 additions and 0 deletions
79
rus/WEB-INF/lib/jxl_src/jxl/CellView.java
Normal file
79
rus/WEB-INF/lib/jxl_src/jxl/CellView.java
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
package jxl;
|
||||
|
||||
import jxl.format.CellFormat;
|
||||
|
||||
public final class CellView {
|
||||
private int dimension;
|
||||
|
||||
private int size;
|
||||
|
||||
private boolean depUsed;
|
||||
|
||||
private boolean hidden;
|
||||
|
||||
private CellFormat format;
|
||||
|
||||
private boolean autosize;
|
||||
|
||||
public CellView() {
|
||||
this.hidden = false;
|
||||
this.depUsed = false;
|
||||
this.dimension = 1;
|
||||
this.size = 1;
|
||||
this.autosize = false;
|
||||
}
|
||||
|
||||
public CellView(CellView cv) {
|
||||
this.hidden = cv.hidden;
|
||||
this.depUsed = cv.depUsed;
|
||||
this.dimension = cv.dimension;
|
||||
this.size = cv.size;
|
||||
this.autosize = cv.autosize;
|
||||
}
|
||||
|
||||
public void setHidden(boolean h) {
|
||||
this.hidden = h;
|
||||
}
|
||||
|
||||
public boolean isHidden() {
|
||||
return this.hidden;
|
||||
}
|
||||
|
||||
public void setDimension(int d) {
|
||||
this.dimension = d;
|
||||
this.depUsed = true;
|
||||
}
|
||||
|
||||
public void setSize(int d) {
|
||||
this.size = d;
|
||||
this.depUsed = false;
|
||||
}
|
||||
|
||||
public int getDimension() {
|
||||
return this.dimension;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return this.size;
|
||||
}
|
||||
|
||||
public void setFormat(CellFormat cf) {
|
||||
this.format = cf;
|
||||
}
|
||||
|
||||
public CellFormat getFormat() {
|
||||
return this.format;
|
||||
}
|
||||
|
||||
public boolean depUsed() {
|
||||
return this.depUsed;
|
||||
}
|
||||
|
||||
public void setAutosize(boolean a) {
|
||||
this.autosize = a;
|
||||
}
|
||||
|
||||
public boolean isAutosize() {
|
||||
return this.autosize;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue