jxl.write.biff
Class StyleXFRecord

java.lang.Object
  extended byjxl.biff.RecordData
      extended byjxl.biff.WritableRecordData
          extended byjxl.biff.XFRecord
              extended byjxl.write.biff.StyleXFRecord
All Implemented Interfaces:
ByteData, CellFormat

public class StyleXFRecord
extends XFRecord

A style XF Record


Field Summary
 
Fields inherited from class jxl.biff.XFRecord
biff7, biff8, cell, formatIndex, style
 
Fields inherited from class jxl.biff.WritableRecordData
maxRecordLength
 
Constructor Summary
StyleXFRecord(FontRecord fnt, DisplayFormat form)
          Constructor
 
Method Summary
 void setCellOptions(int opt)
          Sets the raw cell options.
 void setLocked(boolean l)
          Sets whether or not this XF record locks the cell
 
Methods inherited from class jxl.biff.XFRecord
equals, getAlignment, getBackgroundColour, getBorder, getBorderColour, getBorderLine, getData, getDateFormat, getFont, getFormat, getFormatRecord, getHidden, getIndentation, getLocked, getNumberFormat, getOrientation, getPattern, getVerticalAlignment, getWrap, getXFIndex, hasBorders, hashCode, initialize, isDate, isInitialized, isLocked, isNumber, isRead, isShrinkToFit, setFont, setXFAlignment, setXFBackground, setXFBorder, setXFCellOptions, setXFDetails, setXFIndentation, setXFLocked, setXFOrientation, setXFShrinkToFit, setXFVerticalAlignment, setXFWrap, uninitialize
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleXFRecord

public StyleXFRecord(FontRecord fnt,
                     DisplayFormat form)
Constructor

Parameters:
fnt - the font for this style
form - the format of this style
Method Detail

setCellOptions

public final void setCellOptions(int opt)
Sets the raw cell options. Called by WritableFormattingRecord when setting the built in cell formats

Parameters:
opt - the cell options

setLocked

public void setLocked(boolean l)
Sets whether or not this XF record locks the cell

Parameters:
l - the locked flag
Throws:
WriteException