public final class DatRecord extends StandardRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
DatRecord() |
DatRecord(DatRecord other) |
DatRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
DatRecord |
clone()
Deprecated.
|
DatRecord |
copy() |
protected int |
getDataSize() |
short |
getOptions()
Get the options field for the Dat record.
|
short |
getSid()
return the non static version of the id for this record.
|
boolean |
isBorder()
data table has a border
|
boolean |
isHorizontalBorder()
has a horizontal border
|
boolean |
isShowSeriesKey()
shows the series key
|
boolean |
isVerticalBorder()
has vertical border
|
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setBorder(boolean value)
Sets the border field value.
|
void |
setHorizontalBorder(boolean value)
Sets the horizontal border field value.
|
void |
setOptions(short field_1_options)
Set the options field for the Dat record.
|
void |
setShowSeriesKey(boolean value)
Sets the show series key field value.
|
void |
setVerticalBorder(boolean value)
Sets the vertical border field value.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public DatRecord()
public DatRecord(DatRecord other)
public DatRecord(RecordInputStream in)
public java.lang.String toString()
Record
public void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()
} minus four (
record header consisting of a 'ushort sid' and 'ushort reclength' has
already been written by their superclass).
serialize
in class StandardRecord
out
- the output objectprotected int getDataSize()
getDataSize
in class StandardRecord
public short getSid()
Record
@Deprecated @Removal(version="5.0.0") public DatRecord clone()
clone
in class java.lang.Object
public DatRecord copy()
copy
in interface Duplicatable
copy
in class StandardRecord
public short getOptions()
public void setOptions(short field_1_options)
public void setHorizontalBorder(boolean value)
public boolean isHorizontalBorder()
public void setVerticalBorder(boolean value)
public boolean isVerticalBorder()
public void setBorder(boolean value)
public boolean isBorder()
public void setShowSeriesKey(boolean value)
public boolean isShowSeriesKey()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.