Record Class PlotTable.Options
java.lang.Object
java.lang.Record
com.eco.bio7.spatial.PlotTable.Options
- Enclosing class:
PlotTable
public static record PlotTable.Options(String title, String[] axisTitles, boolean[] logAxes, int[] colorMap, boolean exportAction)
extends Record
The settings of the plot of the dialog: the title, the axis titles and the
logarithmic axes (null for a plot without axes, e.g., a pie chart), the
color map and the export action.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the value of theaxisTitlesrecord component.int[]colorMap()Returns the value of thecolorMaprecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexportActionrecord component.final inthashCode()Returns a hash code value for this object.boolean[]logAxes()Returns the value of thelogAxesrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Options
public Options(String title, String[] axisTitles, boolean[] logAxes, int[] colorMap, boolean exportAction) Creates an instance of aOptionsrecord class.- Parameters:
title- the value for thetitlerecord componentaxisTitles- the value for theaxisTitlesrecord componentlogAxes- the value for thelogAxesrecord componentcolorMap- the value for thecolorMaprecord componentexportAction- the value for theexportActionrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
axisTitles
Returns the value of theaxisTitlesrecord component.- Returns:
- the value of the
axisTitlesrecord component
-
logAxes
public boolean[] logAxes()Returns the value of thelogAxesrecord component.- Returns:
- the value of the
logAxesrecord component
-
colorMap
public int[] colorMap()Returns the value of thecolorMaprecord component.- Returns:
- the value of the
colorMaprecord component
-
exportAction
public boolean exportAction()Returns the value of theexportActionrecord component.- Returns:
- the value of the
exportActionrecord component
-