Package io.jmix.flowui.kit.action
Interface Action
- All Known Subinterfaces:
ExecutableAction
,OperationResultAction
,ScreenOpeningAction
,SecuredAction
,SecurityConstraintAction
,TargetAction<C>
- All Known Implementing Classes:
AbstractAction
,BaseAction
,CreateAction
,DialogAction
,EditAction
,EditorCloseAction
,EditorCommitAction
,EditorCommitCloseAction
,EditorDiscardAction
,EditorEnableEditingAction
,EntityClearAction
,EntityLookupAction
,EntityOpenAction
,EntityOpenCompositionAction
,ListDataComponentAction
,LogoutAction
,LookupDiscardAction
,LookupSelectAction
,OperationResultScreenAction
,PickerAction
,RemoveAction
,ScreenAction
,ScreenCloseAction
,SecuredBaseAction
,SecuredListDataComponentAction
,ValueClearAction
public interface Action
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerform
(com.vaadin.flow.component.Component component) com.vaadin.flow.shared.Registration
addPropertyChangeListener
(Consumer<PropertyChangeEvent> listener) getIcon()
getId()
getText()
boolean
boolean
void
void
setDescription
(String description) void
setEnabled
(boolean enabled) void
void
setShortcutCombination
(KeyCombination shortcutCombination) void
void
setVariant
(ActionVariant variant) void
setVisible
(boolean visible)
-
Field Details
-
PROP_TEXT
- See Also:
-
PROP_ENABLED
- See Also:
-
PROP_VISIBLE
- See Also:
-
PROP_ICON
- See Also:
-
PROP_DESCRIPTION
- See Also:
-
PROP_VARIANT
- See Also:
-
PROP_SHORTCUT
- See Also:
-
-
Method Details
-
getId
String getId() -
getText
-
setText
-
isEnabled
boolean isEnabled() -
setEnabled
void setEnabled(boolean enabled) -
isVisible
boolean isVisible() -
setVisible
void setVisible(boolean visible) -
getIcon
-
setIcon
-
getDescription
-
setDescription
-
getVariant
ActionVariant getVariant() -
setVariant
-
getShortcutCombination
-
setShortcutCombination
-
refreshState
void refreshState() -
actionPerform
void actionPerform(com.vaadin.flow.component.Component component) -
addPropertyChangeListener
com.vaadin.flow.shared.Registration addPropertyChangeListener(Consumer<PropertyChangeEvent> listener)
-