|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jxl.CellView
This is a bean which client applications may use to get/set various properties for a row or column on a spreadsheet
Constructor Summary | |
CellView()
Default constructor |
|
CellView(CellView cv)
Copy constructor |
Method Summary | |
boolean |
depUsed()
Accessor for the depUsed attribute |
int |
getDimension()
Deprecated. use getSize() instead |
CellFormat |
getFormat()
Accessor for the cell format for this group. |
int |
getSize()
Gets the width of the column in characters multiplied by 256, or the height of the row in 1/20ths of a point |
boolean |
isAutosize()
Accessor for the autosize flag NOTE: use of the autosize function is very processor intensive, so use with care |
boolean |
isHidden()
Accessor for the hidden nature of this row/column |
void |
setAutosize(boolean a)
Sets the autosize flag. |
void |
setDimension(int d)
Deprecated. use the setSize method instead |
void |
setFormat(CellFormat cf)
Sets the cell format for this group of cells |
void |
setHidden(boolean h)
Sets the hidden status of this row/column |
void |
setSize(int d)
Sets the dimension for this view |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CellView()
public CellView(CellView cv)
Method Detail |
public void setHidden(boolean h)
h
- the hidden flagpublic boolean isHidden()
public void setDimension(int d)
d
- the width of the column in characters, or the height of the
row in 1/20ths of a pointpublic void setSize(int d)
d
- the width of the column in characters multiplied by 256,
or the height of the row in 1/20ths of a pointpublic int getDimension()
public int getSize()
public void setFormat(CellFormat cf)
cf
- the format for every cell in the column/rowpublic CellFormat getFormat()
public boolean depUsed()
public void setAutosize(boolean a)
a
- autosizepublic boolean isAutosize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |