Save This Page
Home » jexcelapi_2_6_8 » jxl.biff » [javadoc | source]
jxl.biff
public class: PaletteRecord [javadoc | source]
java.lang.Object
   jxl.biff.RecordData
      jxl.biff.WritableRecordData
         jxl.biff.PaletteRecord

All Implemented Interfaces:
    ByteData

A record representing the RGB colour palette
Fields inherited from jxl.biff.WritableRecordData:
maxRecordLength
Constructor:
 public PaletteRecord() 
 public PaletteRecord(Record t) 
    Constructor
    Parameters:
    t - the raw bytes
Method from jxl.biff.PaletteRecord Summary:
getColourRGB,   getData,   isDirty,   setColourRGB
Methods from jxl.biff.WritableRecordData:
getBytes,   getData
Methods from jxl.biff.RecordData:
getCode,   getRecord
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.PaletteRecord Detail:
 public RGB getColourRGB(Colour c) 
    Gets the colour RGB from the palette
 public byte[] getData() 
    Accessor for the binary data - used when copying
 public boolean isDirty() 
    Accessor for the dirty flag, which indicates if this palette has been modified
 public  void setColourRGB(Colour c,
    int r,
    int g,
    int b) 
    Sets the RGB value for the specified colour for this workbook