Package org.apache.poi.hssf.record.chart
Class SeriesLabelsRecord
- java.lang.Object
- 
- org.apache.poi.hssf.record.RecordBase
- 
- org.apache.poi.hssf.record.Record
- 
- org.apache.poi.hssf.record.StandardRecord
- 
- org.apache.poi.hssf.record.chart.SeriesLabelsRecord
 
 
 
 
- 
- All Implemented Interfaces:
- Duplicatable,- GenericRecord
 
 public final class SeriesLabelsRecord extends StandardRecord The series label record defines the type of label associated with the data format record.
- 
- 
Field SummaryFields Modifier and Type Field Description static shortsid
 - 
Constructor SummaryConstructors Constructor Description SeriesLabelsRecord()SeriesLabelsRecord(SeriesLabelsRecord other)SeriesLabelsRecord(RecordInputStream in)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SeriesLabelsRecordcopy()protected intgetDataSize()shortgetFormatFlags()Get the format flags field for the SeriesLabels record.Map<String,Supplier<?>>getGenericProperties()HSSFRecordTypesgetGenericRecordType()shortgetSid()return the non static version of the id for this record.booleanisLabelAsPercentage()show category label/value as percentage (pie charts only)booleanisShowActual()show actual value of the data pointbooleanisShowBubbleSizes()??booleanisShowLabel()display category labelbooleanisShowPercent()show value as percentage of total (pie charts only)booleanisSmoothedLine()show smooth linevoidserialize(LittleEndianOutput out)Write the data content of this BIFF record.voidsetFormatFlags(short field_1_formatFlags)Set the format flags field for the SeriesLabels record.voidsetLabelAsPercentage(boolean value)Sets the label as percentage field value.voidsetShowActual(boolean value)Sets the show actual field value.voidsetShowBubbleSizes(boolean value)Sets the show bubble sizes field value.voidsetShowLabel(boolean value)Sets the show label field value.voidsetShowPercent(boolean value)Sets the show percent field value.voidsetSmoothedLine(boolean value)Sets the smoothed line field value.- 
Methods inherited from class org.apache.poi.hssf.record.StandardRecordgetRecordSize, serialize
 - 
Methods inherited from class org.apache.poi.hssf.record.RecordcloneViaReserialise, serialize, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecordgetGenericChildren
 
- 
 
- 
- 
- 
Field Detail- 
sidpublic static final short sid - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
SeriesLabelsRecordpublic SeriesLabelsRecord() 
 - 
SeriesLabelsRecordpublic SeriesLabelsRecord(SeriesLabelsRecord other) 
 - 
SeriesLabelsRecordpublic SeriesLabelsRecord(RecordInputStream in) 
 
- 
 - 
Method Detail- 
serializepublic void serialize(LittleEndianOutput out) Description copied from class:StandardRecordWrite 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 RecordBase.getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).- Specified by:
- serializein class- StandardRecord
- Parameters:
- out- the output object
 
 - 
getDataSizeprotected int getDataSize() - Specified by:
- getDataSizein class- StandardRecord
 
 - 
getSidpublic short getSid() Description copied from class:Recordreturn the non static version of the id for this record.
 - 
copypublic SeriesLabelsRecord copy() - Specified by:
- copyin interface- Duplicatable
- Specified by:
- copyin class- StandardRecord
- Returns:
- a deep copy of the implementing class / instance
 
 - 
getFormatFlagspublic short getFormatFlags() Get the format flags field for the SeriesLabels record.
 - 
setFormatFlagspublic void setFormatFlags(short field_1_formatFlags) Set the format flags field for the SeriesLabels record.
 - 
setShowActualpublic void setShowActual(boolean value) Sets the show actual field value. show actual value of the data point
 - 
isShowActualpublic boolean isShowActual() show actual value of the data point- Returns:
- the show actual field value.
 
 - 
setShowPercentpublic void setShowPercent(boolean value) Sets the show percent field value. show value as percentage of total (pie charts only)
 - 
isShowPercentpublic boolean isShowPercent() show value as percentage of total (pie charts only)- Returns:
- the show percent field value.
 
 - 
setLabelAsPercentagepublic void setLabelAsPercentage(boolean value) Sets the label as percentage field value. show category label/value as percentage (pie charts only)
 - 
isLabelAsPercentagepublic boolean isLabelAsPercentage() show category label/value as percentage (pie charts only)- Returns:
- the label as percentage field value.
 
 - 
setSmoothedLinepublic void setSmoothedLine(boolean value) Sets the smoothed line field value. show smooth line
 - 
isSmoothedLinepublic boolean isSmoothedLine() show smooth line- Returns:
- the smoothed line field value.
 
 - 
setShowLabelpublic void setShowLabel(boolean value) Sets the show label field value. display category label
 - 
isShowLabelpublic boolean isShowLabel() display category label- Returns:
- the show label field value.
 
 - 
setShowBubbleSizespublic void setShowBubbleSizes(boolean value) Sets the show bubble sizes field value. ??
 - 
isShowBubbleSizespublic boolean isShowBubbleSizes() ??- Returns:
- the show bubble sizes field value.
 
 - 
getGenericRecordTypepublic HSSFRecordTypes getGenericRecordType() - Specified by:
- getGenericRecordTypein interface- GenericRecord
- Specified by:
- getGenericRecordTypein class- Record
 
 
- 
 
-