Record Class MultiChildBuilder12
java.lang.Object
java.lang.Record
dev.pfaff.altargui.util.MultiChildBuilder12
- All Implemented Interfaces:
MultiChildWidget.Builder
public record MultiChildBuilder12(Widget first, @Nullable Widget second)
extends Record
implements MultiChildWidget.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionMultiChildBuilder12
(Widget first) MultiChildBuilder12
(Widget first, @Nullable Widget second) Creates an instance of aMultiChildBuilder12
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(LayoutContext mounter) final boolean
Indicates whether some other object is "equal to" this one.first()
Returns the value of thefirst
record component.final int
hashCode()
Returns a hash code value for this object.@Nullable Widget
second()
Returns the value of thesecond
record component.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.pfaff.altargui.widgets.MultiChildWidget.Builder
andThen
-
Constructor Details
-
MultiChildBuilder12
-
MultiChildBuilder12
-
-
Method Details
-
build
- Specified by:
build
in interfaceMultiChildWidget.Builder
-
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)
. -
first
Returns the value of thefirst
record component.- Returns:
- the value of the
first
record component
-
second
Returns the value of thesecond
record component.- Returns:
- the value of the
second
record component
-