Class EntityClearAction<E>
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction<EntityClearAction<E>>
io.jmix.flowui.action.ObservableBaseAction<EntityClearAction<E>>
io.jmix.flowui.action.SecuredBaseAction<EntityClearAction<E>>
io.jmix.flowui.action.valuepicker.PickerAction<EntityClearAction<E>,EntityPickerComponent<E>,E>
io.jmix.flowui.action.entitypicker.EntityClearAction<E>
- All Implemented Interfaces:
ExecutableAction,TargetAction<EntityPickerComponent<E>>,Action,HasShortcutCombination
@ActionType("entity_clear")
public class EntityClearAction<E>
extends PickerAction<EntityClearAction<E>,EntityPickerComponent<E>,E>
An action responsible for clearing the value of an
EntityPickerComponent.-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.action.SecuredBaseAction
SecuredBaseAction.EnabledRule -
Field Summary
FieldsFields inherited from class io.jmix.flowui.action.valuepicker.PickerAction
targetFields inherited from class io.jmix.flowui.action.SecuredBaseAction
enabledRulesFields inherited from class io.jmix.flowui.action.ObservableBaseAction
uiObservationSupportFields inherited from class io.jmix.flowui.kit.action.BaseAction
enabledExplicitly, visibleExplicitlyFields inherited from class io.jmix.flowui.kit.action.AbstractAction
description, enabled, eventBus, icon, id, shortcutCombination, text, variant, visibleFields inherited from interface io.jmix.flowui.kit.action.Action
PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT_COMBINATION, PROP_TEXT, PROP_VARIANT, PROP_VISIBLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes theActionprotected voidvoidsetMessages(Messages messages) voidsetTarget(@Nullable EntityPickerComponent<E> target) protected voidsetUiComponentProperties(UiComponentProperties uiComponentProperties) Methods inherited from class io.jmix.flowui.action.valuepicker.PickerAction
actionPerform, checkTarget, getTarget, initAction, isApplicable, withTargetMethods inherited from class io.jmix.flowui.action.SecuredBaseAction
addEnabledRule, isEnabledByRule, isPermitted, refreshState, removeEnabledRuleMethods inherited from class io.jmix.flowui.action.ObservableBaseAction
getUiObservationSupportMethods inherited from class io.jmix.flowui.kit.action.BaseAction
addActionPerformedListener, self, setEnabled, setEnabledInternal, setVisible, setVisibleInternal, withDescription, withEnabled, withHandler, withIcon, withShortcutCombination, withText, withVariant, withVisibleMethods inherited from class io.jmix.flowui.kit.action.AbstractAction
addPropertyChangeListener, firePropertyChange, getDescription, getEventBus, getIcon, getIconComponent, getId, getShortcutCombination, getText, getVariant, hasListener, isEnabled, isVisible, setDescription, setIcon, setIconComponent, setShortcutCombination, setText, setVariantMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.kit.action.Action
addPropertyChangeListener, getDescription, getIcon, getIconComponent, getId, getText, getVariant, isEnabled, isVisible, refreshState, setDescription, setEnabled, setIcon, setIconComponent, setText, setVariant, setVisibleMethods inherited from interface io.jmix.flowui.kit.component.HasShortcutCombination
getShortcutCombination, setShortcutCombination
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
EntityClearAction
public EntityClearAction() -
EntityClearAction
-
-
Method Details
-
setMessages
-
setIcons
-
setUiComponentProperties
-
setTarget
- Specified by:
setTargetin interfaceTargetAction<E>- Overrides:
setTargetin classPickerAction<EntityClearAction<E>,EntityPickerComponent<E>, E>
-
execute
public void execute()Description copied from interface:ExecutableActionExecutes theAction
-