Uses of Enum Class
eu.webtoolkit.jwt.StandardButton
-
Uses of StandardButton in eu.webtoolkit.jwt
Modifier and TypeMethodDescriptionWMessageBox.getButtonResult()
Returns the result of this message box.static final StandardButton
WMessageBox.show
(CharSequence caption, CharSequence text, EnumSet<StandardButton> buttons) Convenience method to show a message box, blocking the current thread.static StandardButton
WMessageBox.show
(CharSequence caption, CharSequence text, EnumSet<StandardButton> buttons, WAnimation animation) Convenience method to show a message box, blocking the current thread.static StandardButton
Returns the enum constant of this class with the specified name.static StandardButton[]
StandardButton.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionWMessageBox.buttonClicked()
Signal emitted when a button is clicked.WMessageBox.getStandardButtons()
Returns the standard buttons.Modifier and TypeMethodDescriptionWMessageBox.addButton
(StandardButton result) Adds a standard button.void
WMessageBox.addButton
(WPushButton button, StandardButton result) Adds a custom button.WMessageBox.addButton
(CharSequence text, StandardButton result) Adds a custom button with given text.WMessageBox.getButton
(StandardButton b) Returns the button widget for the given standard button.void
WMessageBox.setDefaultButton
(StandardButton button) Sets the button as the default button.void
WMessageBox.setEscapeButton
(StandardButton button) Sets the escape button.final void
WMessageBox.setStandardButtons
(StandardButton button, StandardButton... buttons) Sets standard buttons for the message box.Modifier and TypeMethodDescriptionvoid
WMessageBox.setStandardButtons
(EnumSet<StandardButton> buttons) Sets standard buttons for the message box.static final StandardButton
WMessageBox.show
(CharSequence caption, CharSequence text, EnumSet<StandardButton> buttons) Convenience method to show a message box, blocking the current thread.static StandardButton
WMessageBox.show
(CharSequence caption, CharSequence text, EnumSet<StandardButton> buttons, WAnimation animation) Convenience method to show a message box, blocking the current thread.ModifierConstructorDescriptionWMessageBox
(CharSequence caption, CharSequence text, Icon icon, StandardButton button, StandardButton... buttons) Creates a message box with given caption, text, icon, and buttons.ModifierConstructorDescriptionWMessageBox
(CharSequence caption, CharSequence text, Icon icon, EnumSet<StandardButton> buttons) Creates a message box with given caption, text, icon, and buttons.