public class SheetPropertiesRecord extends Record
Modifier and Type | Field and Description |
---|---|
private BitField |
autoPlotArea |
private BitField |
chartTypeManuallyFormatted |
private BitField |
defaultPlotDimensions |
private BitField |
doNotSizeWithWindow |
static byte |
EMPTY_INTERPOLATED |
static byte |
EMPTY_NOT_PLOTTED |
static byte |
EMPTY_ZERO |
private short |
field_1_flags |
private byte |
field_2_empty |
private BitField |
plotVisibleOnly |
static short |
sid |
Constructor and Description |
---|
SheetPropertiesRecord() |
SheetPropertiesRecord(RecordInputStream in)
Constructs a SheetProperties record and sets its fields appropriately.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields.
|
byte |
getEmpty()
Get the empty field for the SheetProperties record.
|
short |
getFlags()
Get the flags field for the SheetProperties record.
|
int |
getRecordSize()
Size of record (exluding 4 byte header)
|
short |
getSid()
return the non static version of the id for this record.
|
boolean |
isAutoPlotArea()
??
|
boolean |
isChartTypeManuallyFormatted()
Has the chart type been manually formatted?
|
boolean |
isDefaultPlotDimensions()
Indicates that the default area dimensions should be used.
|
boolean |
isDoNotSizeWithWindow()
Do not size the chart when the window changes size
|
boolean |
isPlotVisibleOnly()
Only show visible cells on the chart.
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setAutoPlotArea(boolean value)
Sets the auto plot area field value.
|
void |
setChartTypeManuallyFormatted(boolean value)
Sets the chart type manually formatted field value.
|
void |
setDefaultPlotDimensions(boolean value)
Sets the default plot dimensions field value.
|
void |
setDoNotSizeWithWindow(boolean value)
Sets the do not size with window field value.
|
void |
setEmpty(byte field_2_empty)
Set the empty field for the SheetProperties record.
|
void |
setFlags(short field_1_flags)
Set the flags field for the SheetProperties record.
|
void |
setPlotVisibleOnly(boolean value)
Sets the plot visible only field value.
|
String |
toString()
get a string representation of the record (for biffview/debugging)
|
protected void |
validateSid(short id)
Checks the sid matches the expected side for this record
|
isInValueSection, isValue, serialize
public static final short sid
private short field_1_flags
private BitField chartTypeManuallyFormatted
private BitField plotVisibleOnly
private BitField doNotSizeWithWindow
private BitField defaultPlotDimensions
private BitField autoPlotArea
private byte field_2_empty
public static final byte EMPTY_NOT_PLOTTED
public static final byte EMPTY_ZERO
public static final byte EMPTY_INTERPOLATED
public SheetPropertiesRecord()
public SheetPropertiesRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromprotected void validateSid(short id)
validateSid
in class Record
id
- the expected sid.protected void fillFields(RecordInputStream in)
Record
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic String toString()
Record
public int serialize(int offset, byte[] data)
Record
public int getRecordSize()
getRecordSize
in class Record
public short getSid()
Record
public short getFlags()
public void setFlags(short field_1_flags)
public byte getEmpty()
public void setEmpty(byte field_2_empty)
field_2_empty
- One of
EMPTY_NOT_PLOTTED
EMPTY_ZERO
EMPTY_INTERPOLATEDpublic void setChartTypeManuallyFormatted(boolean value)
public boolean isChartTypeManuallyFormatted()
public void setPlotVisibleOnly(boolean value)
public boolean isPlotVisibleOnly()
public void setDoNotSizeWithWindow(boolean value)
public boolean isDoNotSizeWithWindow()
public void setDefaultPlotDimensions(boolean value)
public boolean isDefaultPlotDimensions()
public void setAutoPlotArea(boolean value)
public boolean isAutoPlotArea()
Copyright © 2016 Open Microscopy Environment