Skip to content

Package io.github.qishr.cascara.ui.form

Record ViewAndControl

java.lang.Object
        java.lang.Record
                io.github.qishr.cascara.ui.form.ViewAndControl


public final record ViewAndControl
extends Record

Constructor Summary

Constructor Description
ViewAndControl(Labeled view, Node control)

Method Summary

Modifier and Type Method Description
public final String toString() Returns a string representation of this record class.
public final int hashCode() Returns a hash code value for this object.
public final boolean equals(Object o) Indicates whether some other object is "equal to" this one.
public Labeled view() Returns the value of the view record component.
public Node control() Returns the value of the control record component.

Method Details

toString

public final String toString()

Returns a string representation of this record class.


hashCode

public final int hashCode()

Returns a hash code value for this object.


equals

public final boolean equals(Object o)

Indicates whether some other object is "equal to" this one.


view

public Labeled view()

Returns the value of the view record component.


control

public Node control()

Returns the value of the control record component.