Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
jxl.CellView
public final class CellView
extends java.lang.Object
Method Summary | |
boolean |
|
int |
|
CellFormat |
|
int |
|
boolean |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public boolean depUsed()
Accessor for the depUsed attribute
- Returns:
- TRUE if the deprecated methods were used to set the size, FALSE otherwise
public int getDimension()
Deprecated. use getSize() instead
Gets the width of the column in characters or the height of the row in 1/20ths
- Returns:
- the dimension
public CellFormat getFormat()
Accessor for the cell format for this group.
- Returns:
- the format for the column/row, or NULL if no format was specified
public 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
- Returns:
- the dimension
public boolean isAutosize()
Accessor for the autosize flag NOTE: use of the autosize function is very processor intensive, so use with care
- Returns:
- TRUE if this row/column is to be autosized
public boolean isHidden()
Accessor for the hidden nature of this row/column
- Returns:
- TRUE if this row/column is hidden, FALSE otherwise
public void setAutosize(boolean a)
Sets the autosize flag. Currently, this only works for column views
- Parameters:
a
- autosize
public void setDimension(int d)
Deprecated. use the setSize method instead
Sets the dimension for this view
- Parameters:
d
- the width of the column in characters, or the height of the row in 1/20ths of a point
public void setFormat(CellFormat cf)
Sets the cell format for this group of cells
- Parameters:
cf
- the format for every cell in the column/row
public void setHidden(boolean h)
Sets the hidden status of this row/column
- Parameters:
h
- the hidden flag
public void setSize(int d)
Sets the dimension for this view
- Parameters:
d
- the width of the column in characters multiplied by 256, or the height of the row in 1/20ths of a point