Home » JCraft » jxl » format » [javadoc | source]
jxl.format
public interface: CellFormat [javadoc | source]

All Known Implementing Classes:
    WritableCellFormat, XFRecord, StyleXFRecord, CellXFRecord, CellFormat

Interface for cell formats
Method from jxl.format.CellFormat Summary:
getAlignment,   getBackgroundColour,   getBorder,   getBorderColour,   getBorderLine,   getFont,   getFormat,   getIndentation,   getOrientation,   getPattern,   getVerticalAlignment,   getWrap,   hasBorders,   isLocked,   isShrinkToFit
Method from jxl.format.CellFormat Detail:
 public Alignment getAlignment()
    Gets the horizontal cell alignment
 public Colour getBackgroundColour()
    Gets the background colour used by this cell
 public BorderLineStyle getBorder(Border border)
    Gets the line style for the given cell border If a border type of ALL or NONE is specified, then a line style of NONE is returned
 public Colour getBorderColour(Border border)
    Gets the colour for the given cell border If a border type of ALL or NONE is specified, then a line style of NONE is returned If the specified cell does not have an associated line style, then the colour the line would be is still returned
 public BorderLineStyle getBorderLine(Border border)
    Gets the line style for the given cell border If a border type of ALL or NONE is specified, then a line style of NONE is returned
 public Font getFont()
    Gets the font information used by this format
 public Format getFormat()
    Gets the format used by this format
 public int getIndentation()
    Gets the indentation of the cell text
 public Orientation getOrientation()
    Gets the orientation
 public Pattern getPattern()
    Gets the pattern used by this cell format
 public VerticalAlignment getVerticalAlignment()
    Gets the vertical cell alignment
 public boolean getWrap()
    Gets whether or not the contents of this cell are wrapped
 public boolean hasBorders()
    Determines if this cell format has any borders at all. Used to set the new borders when merging a group of cells
 public boolean isLocked()
    Accessor for whether a particular cell is locked
 public boolean isShrinkToFit()
    Gets the shrink to fit flag