Class DeleteButton
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.Composite<VButton>
-
- org.vaadin.firitin.components.button.ConfirmButton
-
- org.vaadin.firitin.components.button.DeleteButton
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,Serializable
public class DeleteButton extends ConfirmButton
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeleteButton()DeleteButton(com.vaadin.flow.server.Command action)DeleteButton(String buttonCaption, com.vaadin.flow.server.Command action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetButtonCaption()protected ConfirmationDialogprompt()voidsetButtonCaption(String text)DeleteButtonwithButttonCaption(String text)-
Methods inherited from class org.vaadin.firitin.components.button.ConfirmButton
getCancelText, getConfirmationDescription, getConfirmationPrompt, getOkText, setCancelText, setConfirmationDescription, setConfirmationPrompt, setOkText, withCancelText, withConfirmationDescription, withConfirmationPrompt, withConfirmHandler, withOKText
-
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContent
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
-
-
-
Constructor Detail
-
DeleteButton
public DeleteButton(String buttonCaption, com.vaadin.flow.server.Command action)
-
DeleteButton
public DeleteButton(com.vaadin.flow.server.Command action)
-
DeleteButton
public DeleteButton()
-
-
Method Detail
-
prompt
protected ConfirmationDialog prompt()
- Overrides:
promptin classConfirmButton
-
withButttonCaption
public DeleteButton withButttonCaption(String text)
-
setButtonCaption
public void setButtonCaption(String text)
-
getButtonCaption
public String getButtonCaption()
-
-