Record Class CustomDetailsValueRenderer<T>
java.lang.Object
java.lang.Record
dev.pfaff.altargui.inspector.CustomDetailsValueRenderer<T>
- All Implemented Interfaces:
ValueRenderer<T>
public record CustomDetailsValueRenderer<T>(ValueRenderer<? super T> custom, ValueRenderer<T> raw)
extends Record
implements ValueRenderer<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.pfaff.altargui.inspector.ValueRenderer
ValueRenderer.OfInt
-
Constructor Summary
ConstructorsConstructorDescriptionCustomDetailsValueRenderer
(ValueRenderer<? super T> custom, ValueRenderer<T> raw) Creates an instance of aCustomDetailsValueRenderer
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull Widget
ValueRenderer
<? super T> custom()
Returns the value of thecustom
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.raw()
Returns the value of theraw
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CustomDetailsValueRenderer
Creates an instance of aCustomDetailsValueRenderer
record class.- Parameters:
custom
- the value for thecustom
record componentraw
- the value for theraw
record component
-
-
Method Details
-
build
-
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)
. -
custom
Returns the value of thecustom
record component.- Returns:
- the value of the
custom
record component
-
raw
Returns the value of theraw
record component.- Returns:
- the value of the
raw
record component
-