Logo Search packages:      
Sourcecode: jexcelapi version File versions  Download package

void jxl::biff::XFRecord::setXFBackground ( Colour  c,
Pattern  p 
) [inline, protected, inherited]

Sets the horizontal alignment for the data in this cell. This method should only be called from its writable subclass CellXFRecord

Parameters:
c the background colour
p the background pattern

Definition at line 951 of file XFRecord.java.

References jxl::biff::XFRecord::backgroundColour, jxl::biff::XFRecord::initialized, jxl::biff::XFRecord::pattern, and jxl::biff::XFRecord::usedAttributes.

  {
    Assert.verify(!initialized);
    backgroundColour = c;
    pattern = p;
    usedAttributes |= USE_BACKGROUND;
  }


Generated by  Doxygen 1.6.0   Back to index