public class AxisOptionsRecord extends Record
Modifier and Type | Field and Description |
---|---|
private BitField |
defaultBase |
private BitField |
defaultCross |
private BitField |
defaultDateSettings |
private BitField |
defaultMajor |
private BitField |
defaultMaximum |
private BitField |
defaultMinimum |
private BitField |
defaultMinorUnit |
private short |
field_1_minimumCategory |
private short |
field_2_maximumCategory |
private short |
field_3_majorUnitValue |
private short |
field_4_majorUnit |
private short |
field_5_minorUnitValue |
private short |
field_6_minorUnit |
private short |
field_7_baseUnit |
private short |
field_8_crossingPoint |
private short |
field_9_options |
private BitField |
isDate |
static short |
sid |
Constructor and Description |
---|
AxisOptionsRecord() |
AxisOptionsRecord(RecordInputStream in)
Constructs a AxisOptions 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 |
getBaseUnit()
Get the base unit field for the AxisOptions record.
|
short |
getCrossingPoint()
Get the crossing point field for the AxisOptions record.
|
short |
getMajorUnit()
Get the major unit field for the AxisOptions record.
|
short |
getMajorUnitValue()
Get the major unit value field for the AxisOptions record.
|
short |
getMaximumCategory()
Get the maximum category field for the AxisOptions record.
|
short |
getMinimumCategory()
Get the minimum category field for the AxisOptions record.
|
short |
getMinorUnit()
Get the minor unit field for the AxisOptions record.
|
short |
getMinorUnitValue()
Get the minor unit value field for the AxisOptions record.
|
short |
getOptions()
Get the options field for the AxisOptions record.
|
int |
getRecordSize()
Size of record (exluding 4 byte header)
|
short |
getSid()
return the non static version of the id for this record.
|
boolean |
isDefaultBase()
use the default base unit
|
boolean |
isDefaultCross()
use the default crossing point
|
boolean |
isDefaultDateSettings()
use default date setttings for this axis
|
boolean |
isDefaultMajor()
use the default major unit
|
boolean |
isDefaultMaximum()
use the default maximum category
|
boolean |
isDefaultMinimum()
use the default minimum category
|
boolean |
isDefaultMinorUnit()
use the default minor unit
|
boolean |
isIsDate()
this is a date axis
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setBaseUnit(short field_7_baseUnit)
Set the base unit field for the AxisOptions record.
|
void |
setCrossingPoint(short field_8_crossingPoint)
Set the crossing point field for the AxisOptions record.
|
void |
setDefaultBase(boolean value)
Sets the default base field value.
|
void |
setDefaultCross(boolean value)
Sets the default cross field value.
|
void |
setDefaultDateSettings(boolean value)
Sets the default date settings field value.
|
void |
setDefaultMajor(boolean value)
Sets the default major field value.
|
void |
setDefaultMaximum(boolean value)
Sets the default maximum field value.
|
void |
setDefaultMinimum(boolean value)
Sets the default minimum field value.
|
void |
setDefaultMinorUnit(boolean value)
Sets the default minor unit field value.
|
void |
setIsDate(boolean value)
Sets the isDate field value.
|
void |
setMajorUnit(short field_4_majorUnit)
Set the major unit field for the AxisOptions record.
|
void |
setMajorUnitValue(short field_3_majorUnitValue)
Set the major unit value field for the AxisOptions record.
|
void |
setMaximumCategory(short field_2_maximumCategory)
Set the maximum category field for the AxisOptions record.
|
void |
setMinimumCategory(short field_1_minimumCategory)
Set the minimum category field for the AxisOptions record.
|
void |
setMinorUnit(short field_6_minorUnit)
Set the minor unit field for the AxisOptions record.
|
void |
setMinorUnitValue(short field_5_minorUnitValue)
Set the minor unit value field for the AxisOptions record.
|
void |
setOptions(short field_9_options)
Set the options field for the AxisOptions record.
|
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_minimumCategory
private short field_2_maximumCategory
private short field_3_majorUnitValue
private short field_4_majorUnit
private short field_5_minorUnitValue
private short field_6_minorUnit
private short field_7_baseUnit
private short field_8_crossingPoint
private short field_9_options
private BitField defaultMinimum
private BitField defaultMaximum
private BitField defaultMajor
private BitField defaultMinorUnit
private BitField isDate
private BitField defaultBase
private BitField defaultCross
private BitField defaultDateSettings
public AxisOptionsRecord()
public AxisOptionsRecord(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 getMinimumCategory()
public void setMinimumCategory(short field_1_minimumCategory)
public short getMaximumCategory()
public void setMaximumCategory(short field_2_maximumCategory)
public short getMajorUnitValue()
public void setMajorUnitValue(short field_3_majorUnitValue)
public short getMajorUnit()
public void setMajorUnit(short field_4_majorUnit)
public short getMinorUnitValue()
public void setMinorUnitValue(short field_5_minorUnitValue)
public short getMinorUnit()
public void setMinorUnit(short field_6_minorUnit)
public short getBaseUnit()
public void setBaseUnit(short field_7_baseUnit)
public short getCrossingPoint()
public void setCrossingPoint(short field_8_crossingPoint)
public short getOptions()
public void setOptions(short field_9_options)
public void setDefaultMinimum(boolean value)
public boolean isDefaultMinimum()
public void setDefaultMaximum(boolean value)
public boolean isDefaultMaximum()
public void setDefaultMajor(boolean value)
public boolean isDefaultMajor()
public void setDefaultMinorUnit(boolean value)
public boolean isDefaultMinorUnit()
public void setIsDate(boolean value)
public boolean isIsDate()
public void setDefaultBase(boolean value)
public boolean isDefaultBase()
public void setDefaultCross(boolean value)
public boolean isDefaultCross()
public void setDefaultDateSettings(boolean value)
public boolean isDefaultDateSettings()
Copyright © 2015 Open Microscopy Environment