Record Class Message.Sidebar
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Message.Sidebar
- All Implemented Interfaces:
EnableSetting
- Enclosing class:
Message
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebackgroundrecord 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.height()Returns the value of theheightrecord component.Returns the value of thelabelLeftrecord component.labelTop()Returns the value of thelabelToprecord component.random()Returns the value of therandomrecord component.right()Returns the value of therightrecord component.ticker()Returns the value of thetickerrecord component.top()Returns the value of thetoprecord component.final StringtoString()Returns a string representation of this record class.width()Returns the value of thewidthrecord component.withBackground(String background) withEnable(Boolean enable) withHeight(Integer height) withLabelLeft(Integer labelLeft) withLabelTop(Integer labelTop) withRandom(Boolean random) withTicker(Ticker ticker)
-
Constructor Details
-
Sidebar
public Sidebar(Boolean enable, Boolean random, Integer width, Integer height, Integer top, Integer right, Integer labelTop, Integer labelLeft, String background, Ticker ticker) Creates an instance of aSidebarrecord class.- Parameters:
enable- the value for theenablerecord componentrandom- the value for therandomrecord componentwidth- the value for thewidthrecord componentheight- the value for theheightrecord componenttop- the value for thetoprecord componentright- the value for therightrecord componentlabelTop- the value for thelabelToprecord componentlabelLeft- the value for thelabelLeftrecord componentbackground- the value for thebackgroundrecord 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).
-
withRandom
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withWidth
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHeight
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTop
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRight
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLabelTop
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLabelLeft
- 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).
-
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
-
random
Returns the value of therandomrecord component.- Returns:
- the value of the
randomrecord component
-
width
Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
height
Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-
top
Returns the value of thetoprecord component.- Returns:
- the value of the
toprecord component
-
right
Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-
labelTop
Returns the value of thelabelToprecord component.- Returns:
- the value of the
labelToprecord component
-
labelLeft
Returns the value of thelabelLeftrecord component.- Returns:
- the value of the
labelLeftrecord component
-
background
Returns the value of thebackgroundrecord component.- Returns:
- the value of the
backgroundrecord component
-
ticker
Returns the value of thetickerrecord component.- Returns:
- the value of the
tickerrecord component
-