Record Class SettingInput.Selection
java.lang.Object
java.lang.Record
de.eldoria.schematicbrush.brush.config.provider.SettingInput.Selection
- Record Components:
label- labeloptions- options as they are parsedinitial- options selected at first
- All Implemented Interfaces:
SettingInput
- Enclosing interface:
SettingInput
-
Nested Class Summary
Nested classes/interfaces inherited from interface SettingInput
SettingInput.Choice, SettingInput.Numeric, SettingInput.Selection, SettingInput.Text, SettingInput.Toggle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.initial()Returns the value of theinitialrecord component.label()Returns the value of thelabelrecord component.options()Returns the value of theoptionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Selection
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
label
Returns the value of thelabelrecord component.- Specified by:
labelin interfaceSettingInput- Returns:
- the value of the
labelrecord component
-
options
-
initial
-