Methods Summary |
---|
public java.lang.Object | clone()
SeriesChartGroupIndexRecord rec = new SeriesChartGroupIndexRecord();
rec.field_1_chartGroupIndex = field_1_chartGroupIndex;
return rec;
|
protected void | fillFields(org.apache.poi.hssf.record.RecordInputStream in)
field_1_chartGroupIndex = in.readShort();
|
public short | getChartGroupIndex()Get the chart group index field for the SeriesChartGroupIndex record.
return field_1_chartGroupIndex;
|
public int | getRecordSize()Size of record (exluding 4 byte header)
return 4 + 2;
|
public short | getSid()
return sid;
|
public int | serialize(int offset, byte[] data)
int pos = 0;
LittleEndian.putShort(data, 0 + offset, sid);
LittleEndian.putShort(data, 2 + offset, (short)(getRecordSize() - 4));
LittleEndian.putShort(data, 4 + offset + pos, field_1_chartGroupIndex);
return getRecordSize();
|
public void | setChartGroupIndex(short field_1_chartGroupIndex)Set the chart group index field for the SeriesChartGroupIndex record.
this.field_1_chartGroupIndex = field_1_chartGroupIndex;
|
public java.lang.String | toString()
StringBuffer buffer = new StringBuffer();
buffer.append("[SERTOCRT]\n");
buffer.append(" .chartGroupIndex = ")
.append("0x").append(HexDump.toHex( getChartGroupIndex ()))
.append(" (").append( getChartGroupIndex() ).append(" )");
buffer.append(System.getProperty("line.separator"));
buffer.append("[/SERTOCRT]\n");
return buffer.toString();
|
protected void | validateSid(short id)Checks the sid matches the expected side for this record
if (id != sid)
{
throw new RecordFormatException("Not a SeriesChartGroupIndex record");
}
|