|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.ChartRecord
public final class ChartRecord
The chart record is used to define the location and size of a chart.
Field Summary | |
---|---|
static short |
sid
|
Constructor Summary | |
---|---|
ChartRecord()
|
|
ChartRecord(RecordInputStream in)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
getHeight()
Get the height field for the Chart record. |
int |
getRecordSize()
gives the current serialized size of the record. |
short |
getSid()
return the non static version of the id for this record. |
int |
getWidth()
Get the width field for the Chart record. |
int |
getX()
Get the x field for the Chart record. |
int |
getY()
Get the y field for the Chart record. |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker. |
void |
setHeight(int field_4_height)
Set the height field for the Chart record. |
void |
setWidth(int field_3_width)
Set the width field for the Chart record. |
void |
setX(int field_1_x)
Set the x field for the Chart record. |
void |
setY(int field_2_y)
Set the y field for the Chart record. |
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, 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 ChartRecord()
public ChartRecord(RecordInputStream in)
Method Detail |
---|
public java.lang.String toString()
Record
toString
in class Record
public int serialize(int offset, byte[] data)
RecordBase
serialize
in class RecordBase
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
public int getX()
public void setX(int field_1_x)
public int getY()
public void setY(int field_2_y)
public int getWidth()
public void setWidth(int field_3_width)
public int getHeight()
public void setHeight(int field_4_height)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |