Package io.keikai.axyra.sheets.content
Record Class Sparkline
java.lang.Object
java.lang.Record
io.keikai.axyra.sheets.content.Sparkline
One sparkline within a
SparklineGroup: a data-source range and the
cell the mini-chart is drawn in (ECMA-376 Part 4 §18.3.1.32,
x14:sparkline). dataRange and location are A1 refs,
usually sheet-qualified for the data (e.g. "Sheet1!A1:A10").-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataRangerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Sparkline
Creates an instance of aSparklinerecord class.- Parameters:
dataRange- the value for thedataRangerecord componentlocation- the value for thelocationrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
dataRange
Returns the value of thedataRangerecord component.- Returns:
- the value of the
dataRangerecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-