B
- the button type this collection contains.@Beta public class ButtonCollection<B extends SlimButton> extends Object
Constructor and Description |
---|
ButtonCollection(String title)
Creates a new button collection
|
Modifier and Type | Method and Description |
---|---|
void |
appendButton(B button)
This function adds a button to the current button collection.
|
void |
appendToTitle(String append)
Funtion adds a string to the current title.
|
List<B> |
getButtons()
Get the buttons of the collection.
|
public void appendButton(@Nonnull B button)
button
- another slim button or superclass thereofpublic void appendToTitle(@Nonnull String append)
append
- a string representation of the titleCopyright © 2020 SAP SE. All rights reserved.