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 aFlowCellData
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowCellData
empty()
boolean
enabled()
Returns the value of theenabled
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theerrorText
record component.final int
hashCode()
Returns a hash code value for this object.header()
Returns the value of theheader
record component.icon()
Returns the value of theicon
record component.Returns the value of thestatusText
record component.final String
toString()
Returns a string representation of this record class.typeText()
Returns the value of thetypeText
record component.Returns the value of thetypeTooltip
record component.boolean
visible()
Returns the value of thevisible
record 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 aFlowCellData
record class.- Parameters:
header
- the value for theheader
record componenticon
- the value for theicon
record componenttypeText
- the value for thetypeText
record componenttypeTooltip
- the value for thetypeTooltip
record componentstatusText
- the value for thestatusText
record componenterrorText
- the value for theerrorText
record componentenabled
- the value for theenabled
record componentvisible
- the value for thevisible
record 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 theheader
record component.- Returns:
- the value of the
header
record component
-
icon
Returns the value of theicon
record component.- Returns:
- the value of the
icon
record component
-
typeText
Returns the value of thetypeText
record component.- Returns:
- the value of the
typeText
record component
-
typeTooltip
Returns the value of thetypeTooltip
record component.- Returns:
- the value of the
typeTooltip
record component
-
statusText
Returns the value of thestatusText
record component.- Returns:
- the value of the
statusText
record component
-
errorText
Returns the value of theerrorText
record component.- Returns:
- the value of the
errorText
record component
-
enabled
public boolean enabled()Returns the value of theenabled
record component.- Returns:
- the value of the
enabled
record component
-
visible
public boolean visible()Returns the value of thevisible
record component.- Returns:
- the value of the
visible
record component
-