Uses of Interface
it.tidalwave.ui.core.role.UserAction
Package
Description
-
Uses of UserAction in it.tidalwave.ui.core.role
Modifier and TypeMethodDescriptionUserActionProvider.getDefaultAction()
Deprecated.static UserAction
UserAction.of
(it.tidalwave.util.Callback callback) Creates a new instance out of a callback.static UserAction
Creates a new instance out of a callback and a role (typically aDisplayable
).static UserAction
UserAction.of
(it.tidalwave.util.Callback callback, Collection<Object> roles) Creates a new instance out of a callback and a collection of roles.Modifier and TypeMethodDescriptionCollection
<? extends UserAction> UserActionProvider.getActions()
Returns a collection ofUserAction
s.default Optional
<UserAction> UserActionProvider.getOptionalDefaultAction()
Returns the default action, if available.Modifier and TypeMethodDescriptionstatic UserActionProvider
UserActionProvider.of
(UserAction... actions) Factory method which creates an instance out of an array ofUserAction
s. -
Uses of UserAction in it.tidalwave.ui.core.role.spi
Modifier and TypeMethodDescriptionDefaultUserActionProvider.getDefaultAction()
Returns the default action, if available.Modifier and TypeMethodDescriptionCollection
<? extends UserAction> DefaultUserActionProvider.getActions()
Returns a collection ofUserAction
s. -
Uses of UserAction in it.tidalwave.ui.core.spi
Modifier and TypeFieldDescriptionprotected final Supplier
<Collection<? extends UserAction>> MenuBarControlSupport.userActionsSupplier
The default supplier ofUserAction
s, can be injected for testing.protected final Supplier
<Collection<? extends UserAction>> ToolBarControlSupport.userActionsSupplier
The default supplier ofUserAction
s, can be injected for testing.Modifier and TypeMethodDescriptionprotected abstract void
MenuBarControlSupport.addMenuItemToMenu
(M menu, B binder, UserAction action) Adds to the given menu a new item bound to the givenUserAction
.protected abstract BT
ToolBarControlSupport.createButton
(B binder, UserAction action) Creates a button bound to the givenUserAction
. -
Uses of UserAction in it.tidalwave.ui.example.presentation
Modifier and TypeFieldDescriptionfinal UserAction
MainPanelPresentation.Bindings.actionButton
final UserAction
MainPanelPresentation.Bindings.actionDialogCancelOk
final UserAction
MainPanelPresentation.Bindings.actionDialogOk
final UserAction
MainPanelPresentation.Bindings.actionPickDirectory
final UserAction
MainPanelPresentation.Bindings.actionPickFile
-
Uses of UserAction in it.tidalwave.ui.javafx
Modifier and TypeMethodDescriptionvoid
JavaFXBinder.bind
(javafx.scene.control.ButtonBase button, UserAction action) Binds a button to aUserAction
.void
JavaFXBinder.bind
(javafx.scene.control.MenuItem menuItem, UserAction action) Binds a menu item to aUserAction
.Modifier and TypeMethodDescriptionvoid
JavaFXBinder.bindButtonsInPane
(javafx.scene.layout.GridPane gridPane, Collection<UserAction> actions) Deprecated.
UserActionProvider.getOptionalDefaultAction()