|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.poi.hssf.record.Record | +--org.apache.poi.hssf.record.SeriesRecord
The series record describes the overall data for a series. NOTE: This source is automatically generated please do not modify this file. Either subclass or remove the record in src/records/definitions.
Field Summary | |
static short |
BUBBLE_SERIES_TYPE_DATES
|
static short |
BUBBLE_SERIES_TYPE_NUMERIC
|
static short |
BUBBLE_SERIES_TYPE_SEQUENCE
|
static short |
BUBBLE_SERIES_TYPE_TEXT
|
static short |
CATEGORY_DATA_TYPE_DATES
|
static short |
CATEGORY_DATA_TYPE_NUMERIC
|
static short |
CATEGORY_DATA_TYPE_SEQUENCE
|
static short |
CATEGORY_DATA_TYPE_TEXT
|
static short |
sid
|
static short |
VALUES_DATA_TYPE_DATES
|
static short |
VALUES_DATA_TYPE_NUMERIC
|
static short |
VALUES_DATA_TYPE_SEQUENCE
|
static short |
VALUES_DATA_TYPE_TEXT
|
Constructor Summary | |
SeriesRecord()
|
|
SeriesRecord(short id,
short size,
byte[] data)
Constructs a Series record and sets its fields appropriately. |
|
SeriesRecord(short id,
short size,
byte[] data,
int offset)
Constructs a Series record and sets its fields appropriately. |
Method Summary | |
protected void |
fillFields(byte[] data,
short size,
int offset)
called by the constructor, should set class level fields. |
short |
getBubbleSeriesType()
Get the bubble series type field for the Series record. |
short |
getCategoryDataType()
Get the category data type field for the Series record. |
short |
getNumBubbleValues()
Get the num bubble values field for the Series record. |
short |
getNumCategories()
Get the num categories field for the Series record. |
short |
getNumValues()
Get the num values field for the Series record. |
int |
getRecordSize()
Size of record (exluding 4 byte header) |
short |
getSid()
return the non static version of the id for this record. |
short |
getValuesDataType()
Get the values data type field for the Series record. |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker. |
void |
setBubbleSeriesType(short field_5_bubbleSeriesType)
Set the bubble series type field for the Series record. |
void |
setCategoryDataType(short field_1_categoryDataType)
Set the category data type field for the Series record. |
void |
setNumBubbleValues(short field_6_numBubbleValues)
Set the num bubble values field for the Series record. |
void |
setNumCategories(short field_3_numCategories)
Set the num categories field for the Series record. |
void |
setNumValues(short field_4_numValues)
Set the num values field for the Series record. |
void |
setValuesDataType(short field_2_valuesDataType)
Set the values data type field for the Series record. |
java.lang.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 |
Methods inherited from class org.apache.poi.hssf.record.Record |
fillFields, isInValueSection, isValue, processContinueRecord, serialize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final short sid
public static final short CATEGORY_DATA_TYPE_DATES
public static final short CATEGORY_DATA_TYPE_NUMERIC
public static final short CATEGORY_DATA_TYPE_SEQUENCE
public static final short CATEGORY_DATA_TYPE_TEXT
public static final short VALUES_DATA_TYPE_DATES
public static final short VALUES_DATA_TYPE_NUMERIC
public static final short VALUES_DATA_TYPE_SEQUENCE
public static final short VALUES_DATA_TYPE_TEXT
public static final short BUBBLE_SERIES_TYPE_DATES
public static final short BUBBLE_SERIES_TYPE_NUMERIC
public static final short BUBBLE_SERIES_TYPE_SEQUENCE
public static final short BUBBLE_SERIES_TYPE_TEXT
Constructor Detail |
public SeriesRecord()
public SeriesRecord(short id, short size, byte[] data)
id
- id must be 0x1003 or an exception
will be throw upon validationsize
- size the size of the data area of the recorddata
- data of the record (should not contain sid/len)public SeriesRecord(short id, short size, byte[] data, int offset)
id
- id must be 0x1003 or an exception
will be throw upon validationsize
- size the size of the data area of the recorddata
- data of the record (should not contain sid/len)offset
- of the record's dataMethod Detail |
protected void validateSid(short id)
validateSid
in class Record
id
- the expected sid.protected void fillFields(byte[] data, short size, int offset)
Record
fillFields
in class Record
org.apache.poi.hssf.record.Record
data
- raw datasize
- size of dataoffset
- of the record's data (provided a big array of the file)public java.lang.String toString()
Record
toString
in class Record
public int serialize(int offset, byte[] data)
Record
serialize
in class Record
org.apache.poi.hssf.record.Record
offset
- to begin writing atdata
- byte array containing instance datapublic int getRecordSize()
getRecordSize
in class Record
public short getSid()
Record
getSid
in class Record
public short getCategoryDataType()
public void setCategoryDataType(short field_1_categoryDataType)
field_1_categoryDataType
- One of
CATEGORY_DATA_TYPE_DATES
CATEGORY_DATA_TYPE_NUMERIC
CATEGORY_DATA_TYPE_SEQUENCE
CATEGORY_DATA_TYPE_TEXTpublic short getValuesDataType()
public void setValuesDataType(short field_2_valuesDataType)
field_2_valuesDataType
- One of
VALUES_DATA_TYPE_DATES
VALUES_DATA_TYPE_NUMERIC
VALUES_DATA_TYPE_SEQUENCE
VALUES_DATA_TYPE_TEXTpublic short getNumCategories()
public void setNumCategories(short field_3_numCategories)
public short getNumValues()
public void setNumValues(short field_4_numValues)
public short getBubbleSeriesType()
public void setBubbleSeriesType(short field_5_bubbleSeriesType)
field_5_bubbleSeriesType
- One of
BUBBLE_SERIES_TYPE_DATES
BUBBLE_SERIES_TYPE_NUMERIC
BUBBLE_SERIES_TYPE_SEQUENCE
BUBBLE_SERIES_TYPE_TEXTpublic short getNumBubbleValues()
public void setNumBubbleValues(short field_6_numBubbleValues)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |