Record Class Message.Bubble.Modern
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Message.Bubble.Modern
- Enclosing class:
Message.Bubble
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theanimationTimerecord component.Returns the value of thebackgroundrecord component.Returns the value of thebillboardrecord component.builder()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 thehasShadowrecord component.scale()Returns the value of thescalerecord component.Returns the value of theseeThroughrecord component.final StringtoString()Returns a string representation of this record class.withAnimationTime(Integer animationTime) withBackground(String background) withBillboard(BubbleModule.Billboard billboard) withEnable(Boolean enable) withHasShadow(Boolean hasShadow) withSeeThrough(Boolean seeThrough)
-
Constructor Details
-
Modern
public Modern(Boolean enable, Boolean hasShadow, Boolean seeThrough, Integer animationTime, Float scale, String background, BubbleModule.Billboard billboard) Creates an instance of aModernrecord class.- Parameters:
enable- the value for theenablerecord componenthasShadow- the value for thehasShadowrecord componentseeThrough- the value for theseeThroughrecord componentanimationTime- the value for theanimationTimerecord componentscale- the value for thescalerecord componentbackground- the value for thebackgroundrecord componentbillboard- the value for thebillboardrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withEnable
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHasShadow
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSeeThrough
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAnimationTime
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScale
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBackground
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBillboard
- 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
-
hasShadow
Returns the value of thehasShadowrecord component.- Returns:
- the value of the
hasShadowrecord component
-
seeThrough
Returns the value of theseeThroughrecord component.- Returns:
- the value of the
seeThroughrecord component
-
animationTime
Returns the value of theanimationTimerecord component.- Returns:
- the value of the
animationTimerecord component
-
scale
Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-
background
Returns the value of thebackgroundrecord component.- Returns:
- the value of the
backgroundrecord component
-
billboard
Returns the value of thebillboardrecord component.- Returns:
- the value of the
billboardrecord component
-