Record Class FlowCellData
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.gui.flowpane.FlowCellData
-
Constructor Summary
ConstructorsConstructorDescriptionFlowCellData(String header, InteractiveIcon icon, String typeText, String typeTooltip, String statusText, String errorText, boolean enabled, boolean visible) Creates an instance of aFlowCellDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowCellDataempty()booleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorTextrecord component.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.icon()Returns the value of theiconrecord component.Returns the value of thestatusTextrecord component.final StringtoString()Returns a string representation of this record class.typeText()Returns the value of thetypeTextrecord component.Returns the value of thetypeTooltiprecord component.booleanvisible()Returns the value of thevisiblerecord component.withEnabled(boolean enabled) withErrorText(String error) withHeader(String headerText) withIcon(InteractiveIcon icon) withStatusText(String status) withTypeText(String type) withTypeTooltip(String tooltip) withVisible(boolean visible)
-
Constructor Details
-
FlowCellData
public FlowCellData(String header, InteractiveIcon icon, String typeText, String typeTooltip, String statusText, String errorText, boolean enabled, boolean visible) Creates an instance of aFlowCellDatarecord class.- Parameters:
header- the value for theheaderrecord componenticon- the value for theiconrecord componenttypeText- the value for thetypeTextrecord componenttypeTooltip- the value for thetypeTooltiprecord componentstatusText- the value for thestatusTextrecord componenterrorText- the value for theerrorTextrecord componentenabled- the value for theenabledrecord componentvisible- the value for thevisiblerecord component
-
-
Method Details
-
empty
-
withHeader
-
withEnabled
-
withTypeText
-
withStatusText
-
withIcon
-
withErrorText
-
withTypeTooltip
-
withVisible
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
header
Returns the value of theheaderrecord component.- Returns:
- the value of the
headerrecord component
-
icon
Returns the value of theiconrecord component.- Returns:
- the value of the
iconrecord component
-
typeText
Returns the value of thetypeTextrecord component.- Returns:
- the value of the
typeTextrecord component
-
typeTooltip
Returns the value of thetypeTooltiprecord component.- Returns:
- the value of the
typeTooltiprecord component
-
statusText
Returns the value of thestatusTextrecord component.- Returns:
- the value of the
statusTextrecord component
-
errorText
Returns the value of theerrorTextrecord component.- Returns:
- the value of the
errorTextrecord component
-
enabled
public boolean enabled()Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
visible
public boolean visible()Returns the value of thevisiblerecord component.- Returns:
- the value of the
visiblerecord component
-