jxl
Class CellView

java.lang.Object
  extended byjxl.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


Constructor Summary
CellView()
          Default constructor
 
Method Summary
 boolean depUsed()
          Accessor for the depUsed attribute
 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 isHidden()
          Accessor for the hidden nature of this row/column
 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

CellView

public CellView()
Default constructor

Method Detail

depUsed

public boolean depUsed()
Accessor for the depUsed attribute

Returns:
TRUE if the deprecated methods were used to set the size, FALSE otherwise

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

getSize

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

isHidden

public boolean isHidden()
Accessor for the hidden nature of this row/column

Returns:
TRUE if this row/column is hidden, FALSE otherwise

setFormat

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

setHidden

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

Parameters:
h - the hidden flag

setSize

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