public class SeriesLabelsRecord extends Record
Modifier and Type | Field and Description |
---|---|
private short |
field_1_formatFlags |
private BitField |
labelAsPercentage |
private BitField |
showActual |
private BitField |
showBubbleSizes |
private BitField |
showLabel |
private BitField |
showPercent |
static short |
sid |
private BitField |
smoothedLine |
Constructor and Description |
---|
SeriesLabelsRecord() |
SeriesLabelsRecord(RecordInputStream in)
Constructs a SeriesLabels record and sets its fields appropriately.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields.
|
short |
getFormatFlags()
Get the format flags field for the SeriesLabels record.
|
int |
getRecordSize()
Size of record (exluding 4 byte header)
|
short |
getSid()
return the non static version of the id for this record.
|
boolean |
isLabelAsPercentage()
show category label/value as percentage (pie charts only)
|
boolean |
isShowActual()
show actual value of the data point
|
boolean |
isShowBubbleSizes()
??
|
boolean |
isShowLabel()
display category label
|
boolean |
isShowPercent()
show value as percentage of total (pie charts only)
|
boolean |
isSmoothedLine()
show smooth line
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setFormatFlags(short field_1_formatFlags)
Set the format flags field for the SeriesLabels record.
|
void |
setLabelAsPercentage(boolean value)
Sets the label as percentage field value.
|
void |
setShowActual(boolean value)
Sets the show actual field value.
|
void |
setShowBubbleSizes(boolean value)
Sets the show bubble sizes field value.
|
void |
setShowLabel(boolean value)
Sets the show label field value.
|
void |
setShowPercent(boolean value)
Sets the show percent field value.
|
void |
setSmoothedLine(boolean value)
Sets the smoothed line field value.
|
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
|
isInValueSection, isValue, serialize
public static final short sid
private short field_1_formatFlags
private BitField showActual
private BitField showPercent
private BitField labelAsPercentage
private BitField smoothedLine
private BitField showLabel
private BitField showBubbleSizes
public SeriesLabelsRecord()
public SeriesLabelsRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromprotected void validateSid(short id)
validateSid
in class Record
id
- the expected sid.protected void fillFields(RecordInputStream in)
Record
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic String toString()
Record
public int serialize(int offset, byte[] data)
Record
public int getRecordSize()
getRecordSize
in class Record
public short getSid()
Record
public short getFormatFlags()
public void setFormatFlags(short field_1_formatFlags)
public void setShowActual(boolean value)
public boolean isShowActual()
public void setShowPercent(boolean value)
public boolean isShowPercent()
public void setLabelAsPercentage(boolean value)
public boolean isLabelAsPercentage()
public void setSmoothedLine(boolean value)
public boolean isSmoothedLine()
public void setShowLabel(boolean value)
public boolean isShowLabel()
public void setShowBubbleSizes(boolean value)
public boolean isShowBubbleSizes()
Copyright © 2016 Open Microscopy Environment