Record Class RenderInfo
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.gui.flowpane.render.RenderInfo
-
Constructor Summary
ConstructorsConstructorDescriptionRenderInfo(boolean hasInput, boolean hasOutput, boolean hasDivider) Creates an instance of aRenderInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thehasDividerrecord component.final inthashCode()Returns a hash code value for this object.booleanhasInput()Returns the value of thehasInputrecord component.booleanReturns the value of thehasOutputrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RenderInfo
public RenderInfo(boolean hasInput, boolean hasOutput, boolean hasDivider) Creates an instance of aRenderInforecord class.- Parameters:
hasInput- the value for thehasInputrecord componenthasOutput- the value for thehasOutputrecord componenthasDivider- the value for thehasDividerrecord 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 with '=='. -
hasInput
public boolean hasInput()Returns the value of thehasInputrecord component.- Returns:
- the value of the
hasInputrecord component
-
hasOutput
public boolean hasOutput()Returns the value of thehasOutputrecord component.- Returns:
- the value of the
hasOutputrecord component
-
hasDivider
public boolean hasDivider()Returns the value of thehasDividerrecord component.- Returns:
- the value of the
hasDividerrecord component
-