@Beta public class Button extends SlimButton
Constructor and Description |
---|
Button(String title,
String value,
ButtonType buttonType)
A button which offers three different type of actions upon getting clicked.
|
Button(String title,
String value,
String type)
A button which offers three different type of actions upon getting clicked.
|
Modifier and Type | Method and Description |
---|---|
ButtonType |
getButtonType()
The type of the button as defined through the enums.
|
String |
getStringType()
The type of this button as a string.
|
getTitle, getValue
public Button(@Nonnull String title, @Nonnull String value, @Nonnull String type)
title
- The title to be displayedvalue
- the value to be handed back when the button is clickedtype
- the button type as a stringpublic Button(@Nonnull String title, @Nonnull String value, @Nonnull ButtonType buttonType)
title
- The title to be displayedvalue
- the value to be handed back when the button is clickedbuttonType
- one of the three button types as defined by recast and persisted in an enum@Nullable public ButtonType getButtonType()
Copyright © 2019 SAP SE. All rights reserved.