Package loci.poi.hssf.record
Class ValueRangeRecord
java.lang.Object
loci.poi.hssf.record.Record
loci.poi.hssf.record.ValueRangeRecord
The value range record defines the range of the value axis.
NOTE: This source is automatically generated please do not modify this file. Either subclass or
remove the record in src/records/definitions.
- Author:
- Glen Stampoultzis (glens at apache.org)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a ValueRange record and sets its fields appropriately. -
Method Summary
Modifier and TypeMethodDescriptionclone()protected voidcalled by the constructor, should set class level fields.doubleGet the category axis cross field for the ValueRange record.doubleGet the major increment field for the ValueRange record.doubleGet the maximum axis value field for the ValueRange record.doubleGet the minimum axis value field for the ValueRange record.doubleGet the minor increment field for the ValueRange record.shortGet the options field for the ValueRange record.intSize of record (exluding 4 byte header)shortgetSid()return the non static version of the id for this record.booleancategory crossing point is automatically selectedbooleanautomatic major unit selectedbooleanautomatic maximum value selectedbooleanautomatic minimum value selectedbooleanautomatic minor unit selectedbooleancategory axis to cross at maximum valuebooleanuse logarithmic scalebooleanreserved, must equal 1 (excel dev.booleanvalues are reverses in graphintserialize(int offset, byte[] data) called by the class that is responsible for writing this sucker.voidsetAutomaticCategoryCrossing(boolean value) Sets the automatic category crossing field value.voidsetAutomaticMajor(boolean value) Sets the automatic major field value.voidsetAutomaticMaximum(boolean value) Sets the automatic maximum field value.voidsetAutomaticMinimum(boolean value) Sets the automatic minimum field value.voidsetAutomaticMinor(boolean value) Sets the automatic minor field value.voidsetCategoryAxisCross(double field_5_categoryAxisCross) Set the category axis cross field for the ValueRange record.voidsetCrossCategoryAxisAtMaximum(boolean value) Sets the cross category axis at maximum field value.voidsetLogarithmicScale(boolean value) Sets the logarithmic scale field value.voidsetMajorIncrement(double field_3_majorIncrement) Set the major increment field for the ValueRange record.voidsetMaximumAxisValue(double field_2_maximumAxisValue) Set the maximum axis value field for the ValueRange record.voidsetMinimumAxisValue(double field_1_minimumAxisValue) Set the minimum axis value field for the ValueRange record.voidsetMinorIncrement(double field_4_minorIncrement) Set the minor increment field for the ValueRange record.voidsetOptions(short field_6_options) Set the options field for the ValueRange record.voidsetReserved(boolean value) Sets the reserved field value.voidsetValuesInReverse(boolean value) Sets the values in reverse field value.toString()get a string representation of the record (for biffview/debugging)protected voidvalidateSid(short id) Checks the sid matches the expected side for this recordMethods inherited from class loci.poi.hssf.record.Record
isInValueSection, isValue, serialize
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
ValueRangeRecord
public ValueRangeRecord() -
ValueRangeRecord
Constructs a ValueRange record and sets its fields appropriately.- Parameters:
in- the RecordInputstream to read the record from
-
-
Method Details
-
validateSid
protected void validateSid(short id) Checks the sid matches the expected side for this record- Specified by:
validateSidin classRecord- Parameters:
id- the expected sid.
-
fillFields
Description copied from class:Recordcalled by the constructor, should set class level fields. Should throw runtime exception for bad/icomplete data.- Specified by:
fillFieldsin classRecord- Parameters:
in- the RecordInputstream to read the record from
-
toString
Description copied from class:Recordget a string representation of the record (for biffview/debugging) -
serialize
public int serialize(int offset, byte[] data) Description copied from class:Recordcalled by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array. -
getRecordSize
public int getRecordSize()Size of record (exluding 4 byte header)- Overrides:
getRecordSizein classRecord
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record. -
clone
-
getMinimumAxisValue
public double getMinimumAxisValue()Get the minimum axis value field for the ValueRange record. -
setMinimumAxisValue
public void setMinimumAxisValue(double field_1_minimumAxisValue) Set the minimum axis value field for the ValueRange record. -
getMaximumAxisValue
public double getMaximumAxisValue()Get the maximum axis value field for the ValueRange record. -
setMaximumAxisValue
public void setMaximumAxisValue(double field_2_maximumAxisValue) Set the maximum axis value field for the ValueRange record. -
getMajorIncrement
public double getMajorIncrement()Get the major increment field for the ValueRange record. -
setMajorIncrement
public void setMajorIncrement(double field_3_majorIncrement) Set the major increment field for the ValueRange record. -
getMinorIncrement
public double getMinorIncrement()Get the minor increment field for the ValueRange record. -
setMinorIncrement
public void setMinorIncrement(double field_4_minorIncrement) Set the minor increment field for the ValueRange record. -
getCategoryAxisCross
public double getCategoryAxisCross()Get the category axis cross field for the ValueRange record. -
setCategoryAxisCross
public void setCategoryAxisCross(double field_5_categoryAxisCross) Set the category axis cross field for the ValueRange record. -
getOptions
public short getOptions()Get the options field for the ValueRange record. -
setOptions
public void setOptions(short field_6_options) Set the options field for the ValueRange record. -
setAutomaticMinimum
public void setAutomaticMinimum(boolean value) Sets the automatic minimum field value. automatic minimum value selected -
isAutomaticMinimum
public boolean isAutomaticMinimum()automatic minimum value selected- Returns:
- the automatic minimum field value.
-
setAutomaticMaximum
public void setAutomaticMaximum(boolean value) Sets the automatic maximum field value. automatic maximum value selected -
isAutomaticMaximum
public boolean isAutomaticMaximum()automatic maximum value selected- Returns:
- the automatic maximum field value.
-
setAutomaticMajor
public void setAutomaticMajor(boolean value) Sets the automatic major field value. automatic major unit selected -
isAutomaticMajor
public boolean isAutomaticMajor()automatic major unit selected- Returns:
- the automatic major field value.
-
setAutomaticMinor
public void setAutomaticMinor(boolean value) Sets the automatic minor field value. automatic minor unit selected -
isAutomaticMinor
public boolean isAutomaticMinor()automatic minor unit selected- Returns:
- the automatic minor field value.
-
setAutomaticCategoryCrossing
public void setAutomaticCategoryCrossing(boolean value) Sets the automatic category crossing field value. category crossing point is automatically selected -
isAutomaticCategoryCrossing
public boolean isAutomaticCategoryCrossing()category crossing point is automatically selected- Returns:
- the automatic category crossing field value.
-
setLogarithmicScale
public void setLogarithmicScale(boolean value) Sets the logarithmic scale field value. use logarithmic scale -
isLogarithmicScale
public boolean isLogarithmicScale()use logarithmic scale- Returns:
- the logarithmic scale field value.
-
setValuesInReverse
public void setValuesInReverse(boolean value) Sets the values in reverse field value. values are reverses in graph -
isValuesInReverse
public boolean isValuesInReverse()values are reverses in graph- Returns:
- the values in reverse field value.
-
setCrossCategoryAxisAtMaximum
public void setCrossCategoryAxisAtMaximum(boolean value) Sets the cross category axis at maximum field value. category axis to cross at maximum value -
isCrossCategoryAxisAtMaximum
public boolean isCrossCategoryAxisAtMaximum()category axis to cross at maximum value- Returns:
- the cross category axis at maximum field value.
-
setReserved
public void setReserved(boolean value) Sets the reserved field value. reserved, must equal 1 (excel dev. guide says otherwise) -
isReserved
public boolean isReserved()reserved, must equal 1 (excel dev. guide says otherwise)- Returns:
- the reserved field value.
-