Record Class TransformComboBoxBean
java.lang.Object
java.lang.Record
gaiasky.gui.beans.TransformComboBoxBean
public record TransformComboBoxBean(String name, String value, Class<? extends ITransform> clazz, int index)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTransformComboBoxBean(String name, String value, Class<? extends ITransform> clazz, int index) Creates an instance of aTransformComboBoxBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends ITransform> clazz()Returns the value of theclazzrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intindex()Returns the value of theindexrecord component.name()Returns the value of thenamerecord component.toString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
TransformComboBoxBean
public TransformComboBoxBean(String name, String value, Class<? extends ITransform> clazz, int index) Creates an instance of aTransformComboBoxBeanrecord class.- Parameters:
name- the value for thenamerecord componentvalue- the value for thevaluerecord componentclazz- the value for theclazzrecord componentindex- the value for theindexrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
clazz
Returns the value of theclazzrecord component.- Returns:
- the value of the
clazzrecord component
-
index
public int index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-