Record Class Message.Bubble
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Message.Bubble
- All Implemented Interfaces:
EnableSetting
- Enclosing class:
Message
public static record Message.Bubble(Boolean enable, Boolean visibleToSelf, String disallowedInput, Integer maxCount, Integer maxLength, Float elevation, Double distance, Double readSpeed, Double handicapChars, Integer hintBufferLength, String wordBreakHint, Message.Bubble.Interaction interaction, Message.Bubble.Modern modern, Ticker ticker)
extends Record
implements EnableSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionBubble(Boolean enable, Boolean visibleToSelf, String disallowedInput, Integer maxCount, Integer maxLength, Float elevation, Double distance, Double readSpeed, Double handicapChars, Integer hintBufferLength, String wordBreakHint, Message.Bubble.Interaction interaction, Message.Bubble.Modern modern, Ticker ticker) Creates an instance of aBubblerecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic Message.Bubble.BubbleBuilderbuilder()Returns the value of thedisallowedInputrecord component.distance()Returns the value of thedistancerecord component.Returns the value of theelevationrecord component.enable()Returns the value of theenablerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thehandicapCharsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehintBufferLengthrecord component.Returns the value of theinteractionrecord component.maxCount()Returns the value of themaxCountrecord component.Returns the value of themaxLengthrecord component.modern()Returns the value of themodernrecord component.Returns the value of thereadSpeedrecord component.ticker()Returns the value of thetickerrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevisibleToSelfrecord component.withDisallowedInput(String disallowedInput) withDistance(Double distance) withElevation(Float elevation) withEnable(Boolean enable) withHandicapChars(Double handicapChars) withHintBufferLength(Integer hintBufferLength) withInteraction(Message.Bubble.Interaction interaction) withMaxCount(Integer maxCount) withMaxLength(Integer maxLength) withModern(Message.Bubble.Modern modern) withReadSpeed(Double readSpeed) withTicker(Ticker ticker) withVisibleToSelf(Boolean visibleToSelf) withWordBreakHint(String wordBreakHint) Returns the value of thewordBreakHintrecord component.
-
Constructor Details
-
Bubble
public Bubble(Boolean enable, Boolean visibleToSelf, String disallowedInput, Integer maxCount, Integer maxLength, Float elevation, Double distance, Double readSpeed, Double handicapChars, Integer hintBufferLength, String wordBreakHint, Message.Bubble.Interaction interaction, Message.Bubble.Modern modern, Ticker ticker) Creates an instance of aBubblerecord class.- Parameters:
enable- the value for theenablerecord componentvisibleToSelf- the value for thevisibleToSelfrecord componentdisallowedInput- the value for thedisallowedInputrecord componentmaxCount- the value for themaxCountrecord componentmaxLength- the value for themaxLengthrecord componentelevation- the value for theelevationrecord componentdistance- the value for thedistancerecord componentreadSpeed- the value for thereadSpeedrecord componenthandicapChars- the value for thehandicapCharsrecord componenthintBufferLength- the value for thehintBufferLengthrecord componentwordBreakHint- the value for thewordBreakHintrecord componentinteraction- the value for theinteractionrecord componentmodern- the value for themodernrecord componentticker- the value for thetickerrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withEnable
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withVisibleToSelf
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDisallowedInput
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMaxCount
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMaxLength
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withElevation
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDistance
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withReadSpeed
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHandicapChars
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHintBufferLength
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withWordBreakHint
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withInteraction
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withModern
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTicker
- 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.- Specified by:
enablein interfaceEnableSetting- Returns:
- the value of the
enablerecord component
-
visibleToSelf
Returns the value of thevisibleToSelfrecord component.- Returns:
- the value of the
visibleToSelfrecord component
-
disallowedInput
Returns the value of thedisallowedInputrecord component.- Returns:
- the value of the
disallowedInputrecord component
-
maxCount
Returns the value of themaxCountrecord component.- Returns:
- the value of the
maxCountrecord component
-
maxLength
Returns the value of themaxLengthrecord component.- Returns:
- the value of the
maxLengthrecord component
-
elevation
Returns the value of theelevationrecord component.- Returns:
- the value of the
elevationrecord component
-
distance
Returns the value of thedistancerecord component.- Returns:
- the value of the
distancerecord component
-
readSpeed
Returns the value of thereadSpeedrecord component.- Returns:
- the value of the
readSpeedrecord component
-
handicapChars
Returns the value of thehandicapCharsrecord component.- Returns:
- the value of the
handicapCharsrecord component
-
hintBufferLength
Returns the value of thehintBufferLengthrecord component.- Returns:
- the value of the
hintBufferLengthrecord component
-
wordBreakHint
Returns the value of thewordBreakHintrecord component.- Returns:
- the value of the
wordBreakHintrecord component
-
interaction
Returns the value of theinteractionrecord component.- Returns:
- the value of the
interactionrecord component
-
modern
Returns the value of themodernrecord component.- Returns:
- the value of the
modernrecord component
-
ticker
Returns the value of thetickerrecord component.- Returns:
- the value of the
tickerrecord component
-