Record Class Localization.Command.Chatsetting.Checkbox
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Chatsetting.Checkbox
- Enclosing class:
Localization.Command.Chatsetting
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thedisabledColorrecord component.Returns the value of thedisabledHoverrecord component.Returns the value of theenabledColorrecord component.Returns the value of theenabledHoverrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.types()Returns the value of thetypesrecord component.withDisabledColor(String disabledColor) withDisabledHover(String disabledHover) withEnabledColor(String enabledColor) withEnabledHover(String enabledHover)
-
Constructor Details
-
Checkbox
public Checkbox(String enabledColor, String enabledHover, String disabledColor, String disabledHover, Map<String, String> types) Creates an instance of aCheckboxrecord class.- Parameters:
enabledColor- the value for theenabledColorrecord componentenabledHover- the value for theenabledHoverrecord componentdisabledColor- the value for thedisabledColorrecord componentdisabledHover- the value for thedisabledHoverrecord componenttypes- the value for thetypesrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withEnabledColor
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withEnabledHover
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDisabledColor
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDisabledHover
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTypes
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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). -
enabledColor
Returns the value of theenabledColorrecord component.- Returns:
- the value of the
enabledColorrecord component
-
enabledHover
Returns the value of theenabledHoverrecord component.- Returns:
- the value of the
enabledHoverrecord component
-
disabledColor
Returns the value of thedisabledColorrecord component.- Returns:
- the value of the
disabledColorrecord component
-
disabledHover
Returns the value of thedisabledHoverrecord component.- Returns:
- the value of the
disabledHoverrecord component
-
types
-