public final class DVALRecord extends StandardRecord implements java.lang.Cloneable
Description: used in data validation ; This record is the list header of all data validation records (0x01BE) in the current sheet.
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
DVALRecord() |
DVALRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
DVALRecord |
clone() |
protected int |
getDataSize() |
int |
getDVRecNo() |
int |
getHorizontalPos() |
int |
getObjectID() |
short |
getOptions() |
short |
getSid()
return the non static version of the id for this record.
|
int |
getVerticalPos() |
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
|
void |
setDVRecNo(int dvNo)
Set the number of following DV records
|
void |
setHorizontalPos(int horiz_pos) |
void |
setObjectID(int cboID)
set the object ID of the drop down arrow object for list boxes
|
void |
setOptions(short options) |
void |
setVerticalPos(int vert_pos) |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public DVALRecord()
public DVALRecord(RecordInputStream in)
public void setOptions(short options)
options
- the options of the dialogpublic void setHorizontalPos(int horiz_pos)
horiz_pos
- the Horizontal position of the dialogpublic void setVerticalPos(int vert_pos)
vert_pos
- the Vertical position of the dialogpublic void setObjectID(int cboID)
cboID
- - Object IDpublic void setDVRecNo(int dvNo)
dvNo
- - the DV records numberpublic short getOptions()
public int getHorizontalPos()
public int getVerticalPos()
public int getObjectID()
public int getDVRecNo()
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
public DVALRecord clone()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.