jxl
Class CellView

java.lang.Object
  |
  +--jxl.CellView

public final class CellView
extends java.lang.Object

This is a bean which client applications may use to get/set various properties for a row or column on a spreadsheet


Field Summary
private  int dimension
          The dimension for the associated group of cells.
private  CellFormat format
          The cell format for the row/column
private  boolean hidden
          Indicates whether or not this sheet is hidden
 
Constructor Summary
CellView()
          Default constructor
 
Method Summary
 int getDimension()
          Gets the width of the column in charactersor the height of the row in 1/20ths
 CellFormat getFormat()
          Accessor for the cell format for this group.
 boolean isHidden()
          Accessor for the hidden nature of this row/column
 void setDimension(int d)
          Sets the dimension for this view
 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
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

dimension

private int dimension
The dimension for the associated group of cells. For columns this will be width in characters, for rows this will be the height

hidden

private boolean hidden
Indicates whether or not this sheet is hidden

format

private CellFormat format
The cell format for the row/column
Constructor Detail

CellView

public CellView()
Default constructor
Method Detail

setHidden

public void setHidden(boolean h)
Sets the hidden status of this row/column
Parameters:
h - the hidden flag

isHidden

public boolean isHidden()
Accessor for the hidden nature of this row/column
Returns:
TRUE if this row/column is hidden, FALSE otherwise

setDimension

public void setDimension(int d)
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

getDimension

public int getDimension()
Gets the width of the column in charactersor the height of the row in 1/20ths
Returns:
the dimension

setFormat

public void setFormat(CellFormat cf)
Sets the cell format for this group of cells
Parameters:
the - format for every cell in the column/row

getFormat

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