Record Class CanvasChartStyleManager.OfflineChartStyles
java.lang.Object
java.lang.Record
com.inductiveautomation.perspective.gateway.charts.CanvasChartStyleManager.OfflineChartStyles
- Enclosing class:
CanvasChartStyleManager
public static record CanvasChartStyleManager.OfflineChartStyles(Map<String, com.inductiveautomation.ignition.common.gson.JsonObject> styles, Map<String,String> themes)
extends Record
Chart styles for an offline session, which can't fetch from the style route. Each style is
stored once, by resource name, and
themes names the style that serves each theme.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.styles()Returns the value of thestylesrecord component.themes()Returns the value of thethemesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OfflineChartStyles
public OfflineChartStyles(Map<String, com.inductiveautomation.ignition.common.gson.JsonObject> styles, Map<String, String> themes) Creates an instance of aOfflineChartStylesrecord class.- Parameters:
styles- the value for thestylesrecord componentthemes- the value for thethemesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
styles
-
themes
-