Record Class Command.Chatsetting.Modern
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Command.Chatsetting.Modern
- Enclosing class:
Command.Chatsetting
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thebuttonHeightrecord component.Returns the value of thebuttonPaddingrecord component.Returns the value of thebuttonWidthrecord component.columns()Returns the value of thecolumnsrecord component.enable()Returns the value of theenablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepanelHeightrecord component.Returns the value of thepanelWidthrecord component.final StringtoString()Returns a string representation of this record class.withButtonHeight(Integer buttonHeight) withButtonPadding(Integer buttonPadding) withButtonWidth(Integer buttonWidth) withColumns(Integer columns) withEnable(Boolean enable) withPanelHeight(Integer panelHeight) withPanelWidth(Integer panelWidth)
-
Constructor Details
-
Modern
public Modern(Boolean enable, Integer panelWidth, Integer panelHeight, Integer buttonWidth, Integer buttonHeight, Integer buttonPadding, Integer columns) Creates an instance of aModernrecord class.- Parameters:
enable- the value for theenablerecord componentpanelWidth- the value for thepanelWidthrecord componentpanelHeight- the value for thepanelHeightrecord componentbuttonWidth- the value for thebuttonWidthrecord componentbuttonHeight- the value for thebuttonHeightrecord componentbuttonPadding- the value for thebuttonPaddingrecord componentcolumns- the value for thecolumnsrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withEnable
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPanelWidth
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPanelHeight
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withButtonWidth
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withButtonHeight
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withButtonPadding
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withColumns
- 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). -
enable
Returns the value of theenablerecord component.- Returns:
- the value of the
enablerecord component
-
panelWidth
Returns the value of thepanelWidthrecord component.- Returns:
- the value of the
panelWidthrecord component
-
panelHeight
Returns the value of thepanelHeightrecord component.- Returns:
- the value of the
panelHeightrecord component
-
buttonWidth
Returns the value of thebuttonWidthrecord component.- Returns:
- the value of the
buttonWidthrecord component
-
buttonHeight
Returns the value of thebuttonHeightrecord component.- Returns:
- the value of the
buttonHeightrecord component
-
buttonPadding
Returns the value of thebuttonPaddingrecord component.- Returns:
- the value of the
buttonPaddingrecord component
-
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-