Uses of Class
eu.webtoolkit.jwt.StandardButton
Package | Description |
---|---|
eu.webtoolkit.jwt |
-
Uses of StandardButton in eu.webtoolkit.jwt
Methods in eu.webtoolkit.jwt that return StandardButton Modifier and Type Method Description StandardButton
WMessageBox. getButtonResult()
Returns the result of this message box.static StandardButton
WMessageBox. show(java.lang.CharSequence caption, java.lang.CharSequence text, java.util.EnumSet<StandardButton> buttons)
Convenience method to show a message box, blocking the current thread.static StandardButton
WMessageBox. show(java.lang.CharSequence caption, java.lang.CharSequence text, java.util.EnumSet<StandardButton> buttons, WAnimation animation)
Convenience method to show a message box, blocking the current thread.static StandardButton
StandardButton. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StandardButton[]
StandardButton. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in eu.webtoolkit.jwt that return types with arguments of type StandardButton Modifier and Type Method Description Signal1<StandardButton>
WMessageBox. buttonClicked()
Signal emitted when a button is clicked.java.util.EnumSet<StandardButton>
WMessageBox. getStandardButtons()
Returns the standard buttons.Methods in eu.webtoolkit.jwt with parameters of type StandardButton Modifier and Type Method Description WPushButton
WMessageBox. addButton(StandardButton result)
Adds a standard button.void
WMessageBox. addButton(WPushButton button, StandardButton result)
Adds a custom button.WPushButton
WMessageBox. addButton(java.lang.CharSequence text, StandardButton result)
Adds a custom button with given text.WPushButton
WMessageBox. getButton(StandardButton b)
Returns the button widget for the given standard button.void
WMessageBox. setButtons(StandardButton button, StandardButton... buttons)
Sets standard buttons for the message box (deprecated).void
WMessageBox. setDefaultButton(StandardButton button)
Sets the button as the default button.void
WMessageBox. setEscapeButton(StandardButton button)
Sets the escape button.void
WMessageBox. setStandardButtons(StandardButton button, StandardButton... buttons)
Sets standard buttons for the message box.Method parameters in eu.webtoolkit.jwt with type arguments of type StandardButton Modifier and Type Method Description void
WMessageBox. setButtons(java.util.EnumSet<StandardButton> buttons)
Deprecated.void
WMessageBox. setStandardButtons(java.util.EnumSet<StandardButton> buttons)
Sets standard buttons for the message box.static StandardButton
WMessageBox. show(java.lang.CharSequence caption, java.lang.CharSequence text, java.util.EnumSet<StandardButton> buttons)
Convenience method to show a message box, blocking the current thread.static StandardButton
WMessageBox. show(java.lang.CharSequence caption, java.lang.CharSequence text, java.util.EnumSet<StandardButton> buttons, WAnimation animation)
Convenience method to show a message box, blocking the current thread.Constructor parameters in eu.webtoolkit.jwt with type arguments of type StandardButton Constructor Description WMessageBox(java.lang.CharSequence caption, java.lang.CharSequence text, Icon icon, java.util.EnumSet<StandardButton> buttons)
Creates a message box with given caption, text, icon, and buttons.WMessageBox(java.lang.CharSequence caption, java.lang.CharSequence text, Icon icon, java.util.EnumSet<StandardButton> buttons, WObject parent)
Creates a message box with given caption, text, icon, and buttons.
setStandardButtons()
.