|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.DVALRecord
public class DVALRecord
Title: DATAVALIDATIONS Record
Description: used in data validation ; This record is the list header of all data validation records (0x01BE) in the current sheet.
Field Summary | |
---|---|
static short |
sid
|
Constructor Summary | |
---|---|
DVALRecord()
|
|
DVALRecord(RecordInputStream in)
Constructs a DVAL record and sets its fields appropriately. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields. |
int |
getDVRecNo()
Get number of following DV records |
int |
getHorizontalPos()
|
int |
getObjectID()
get Object ID of the drop down arrow object for list boxes |
short |
getOptions()
|
int |
getRecordSize()
gives the current serialized size of the record. |
short |
getSid()
return the non static version of the id for this record. |
int |
getVerticalPos()
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker. |
void |
setDVRecNo(int dvNo)
Set the number of following DV records |
void |
setHorizontalPos(int field_2_horiz_pos)
|
void |
setObjectID(int cboID)
set the object ID of the drop down arrow object for list boxes |
void |
setOptions(short field_1_options)
|
void |
setVerticalPos(int field_3_vert_pos)
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
protected void |
validateSid(short id)
called by constructor, should throw runtime exception in the event of a record passed with a differing ID. |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, isInValueSection, isValue, serialize |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short sid
Constructor Detail |
---|
public DVALRecord()
public DVALRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromMethod Detail |
---|
protected void validateSid(short id)
Record
validateSid
in class Record
id
- alleged id for this recordprotected void fillFields(RecordInputStream in)
Record
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic void setOptions(short field_1_options)
field_1_options
- the options of the dialogpublic void setHorizontalPos(int field_2_horiz_pos)
field_2_horiz_pos
- the Horizontal position of the dialogpublic void setVerticalPos(int field_3_vert_pos)
field_3_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
toString
in class Record
public int serialize(int offset, byte[] data)
Record
serialize
in class Record
offset
- to begin writing atdata
- byte array containing instance data
public int getRecordSize()
Record
getRecordSize
in class Record
public short getSid()
Record
getSid
in class Record
public java.lang.Object clone()
clone
in class Record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |