Top Description Fields Constructors Methods
org.apache.poi.hssf.record.chart

public final Class AxisParentRecord

extends StandardRecord
Class Inheritance
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.hssf.record.HSSFRecordTypes, .RecordInputStream, .StandardRecord, org.apache.poi.util.GenericRecordUtil, .LittleEndianOutput

The axis size and location

Field Summary

Modifier and TypeField and Description
public static final short
public static final short
private short
private int
private int
private int
private int
public static final short

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public AxisParentRecord
public short

Returns:

One of AXIS_TYPE_MAIN AXIS_TYPE_SECONDARY
getAxisType
()

Get the axis type field for the AxisParent record.

protected int
public Map<String, Supplier<?>>
public HSSFRecordTypes
public int
getHeight()

Get the height field for the AxisParent record.

public short
getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

public int
getWidth()

Get the width field for the AxisParent record.

public int
getX()

Get the x field for the AxisParent record.

public int
getY()

Get the y field for the AxisParent record.

public void
serialize(LittleEndianOutput
the output object
out
)

Implements abstract org.apache.poi.hssf.record.StandardRecord.serialize.

Write the data content of this BIFF record.

public void
setAxisType(short
One of AXIS_TYPE_MAIN AXIS_TYPE_SECONDARY
field_1_axisType
)

Set the axis type field for the AxisParent record.

public void
setHeight(int field_5_height)

Set the height field for the AxisParent record.

public void
setWidth(int field_4_width)

Set the width field for the AxisParent record.

public void
setX(int field_2_x)

Set the x field for the AxisParent record.

public void
setY(int field_3_y)

Set the y field for the AxisParent record.

Inherited from org.apache.poi.hssf.record.StandardRecord:
getRecordSizeserialize

Field Detail

AXIS_TYPE_MAINback to summary
public static final short AXIS_TYPE_MAIN
AXIS_TYPE_SECONDARYback to summary
public static final short AXIS_TYPE_SECONDARY
field_1_axisTypeback to summary
private short field_1_axisType
field_2_xback to summary
private int field_2_x
field_3_yback to summary
private int field_3_y
field_4_widthback to summary
private int field_4_width
field_5_heightback to summary
private int field_5_height
sidback to summary
public static final short sid

Constructor Detail

AxisParentRecordback to summary
public AxisParentRecord()
AxisParentRecordback to summary
public AxisParentRecord(AxisParentRecord other)
AxisParentRecordback to summary
public AxisParentRecord(RecordInputStream in)

Method Detail

copyback to summary
public AxisParentRecord copy()

Implements abstract org.apache.poi.hssf.record.StandardRecord.copy.

Implements org.apache.poi.common.Duplicatable.copy.

Returns:AxisParentRecord

Doc from org.apache.poi.common.Duplicatable.copy.

a deep copy of the implementing class / instance

Annotations
@Override
getAxisTypeback to summary
public short getAxisType()

Get the axis type field for the AxisParent record.

Returns:short

One of AXIS_TYPE_MAIN AXIS_TYPE_SECONDARY

getDataSizeback to summary
protected int getDataSize()

Implements abstract org.apache.poi.hssf.record.StandardRecord.getDataSize.

getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getGenericRecordTypeback to summary
public HSSFRecordTypes getGenericRecordType()

Overrides default org.apache.poi.common.usermodel.GenericRecord.getGenericRecordType.

Implements abstract org.apache.poi.hssf.record.Record.getGenericRecordType.

Annotations
@Override
getHeightback to summary
public int getHeight()

Get the height field for the AxisParent record.

getSidback to summary
public short getSid()

Implements abstract org.apache.poi.hssf.record.Record.getSid.

Doc from org.apache.poi.hssf.record.Record.getSid.

return the non static version of the id for this record.

Returns:short

he id for this record

getWidthback to summary
public int getWidth()

Get the width field for the AxisParent record.

getXback to summary
public int getX()

Get the x field for the AxisParent record.

getYback to summary
public int getY()

Get the y field for the AxisParent record.

serializeback to summary
public void serialize(LittleEndianOutput out)

Implements abstract org.apache.poi.hssf.record.StandardRecord.serialize.

Doc from org.apache.poi.hssf.record.StandardRecord.serialize.

Write the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.

The number of bytes written must equal the record size reported by org.apache.poi.hssf.record.Record#getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).

Parameters
out:LittleEndianOutput

the output object

setAxisTypeback to summary
public void setAxisType(short field_1_axisType)

Set the axis type field for the AxisParent record.

Parameters
field_1_axisType:short

One of AXIS_TYPE_MAIN AXIS_TYPE_SECONDARY

setHeightback to summary
public void setHeight(int field_5_height)

Set the height field for the AxisParent record.

setWidthback to summary
public void setWidth(int field_4_width)

Set the width field for the AxisParent record.

setXback to summary
public void setX(int field_2_x)

Set the x field for the AxisParent record.

setYback to summary
public void setY(int field_3_y)

Set the y field for the AxisParent record.