first commit
This commit is contained in:
53
hrmsEjb/jxl/CellView.java
Normal file
53
hrmsEjb/jxl/CellView.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package jxl;
|
||||
|
||||
import jxl.format.CellFormat;
|
||||
|
||||
public final class CellView {
|
||||
private boolean hidden = false;
|
||||
|
||||
private boolean depUsed = false;
|
||||
|
||||
private int dimension = 1;
|
||||
|
||||
private int size = 1;
|
||||
|
||||
private CellFormat format;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user