Class GenericFilterAction<A extends GenericFilterAction<A>>
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction
io.jmix.flowui.action.SecuredBaseAction
io.jmix.flowui.action.genericfilter.GenericFilterAction<A>
- All Implemented Interfaces:
ExecutableAction,SecuredAction,TargetAction<GenericFilter>,Action,HasShortcutCombination
- Direct Known Subclasses:
GenericFilterAddConditionAction,GenericFilterClearValuesAction,GenericFilterResetAction
public abstract class GenericFilterAction<A extends GenericFilterAction<A>>
extends SecuredBaseAction
implements TargetAction<GenericFilter>, ExecutableAction
-
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.SecuredBaseAction
enabledByUiPermissions, enabledRules, visibleByUiPermissionsFields 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 TypeMethodDescriptionvoidactionPerform(com.vaadin.flow.component.Component component) protected voidprotected voidprotected booleanprotected booleanbooleanvoidsetTarget(GenericFilter target) protected voidsetTargetInternal(GenericFilter target) withEnabled(boolean enabled) withEnabledByUiPermissions(boolean enabledByUiPermissions) withHandler(Consumer<ActionPerformedEvent> handler) withIcon(com.vaadin.flow.component.icon.Icon icon) withIcon(com.vaadin.flow.component.icon.VaadinIcon icon) withShortcutCombination(KeyCombination shortcutCombination) withTarget(GenericFilter target) withVariant(ActionVariant actionVariant) withVisible(boolean visible) withVisibleByUiPermissions(boolean visibleByUiPermissions) Methods inherited from class io.jmix.flowui.action.SecuredBaseAction
addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, refreshState, removeEnabledRule, setEnabledByUiPermissions, setVisibleByUiPermissionsMethods inherited from class io.jmix.flowui.kit.action.BaseAction
addActionPerformedListener, setEnabled, setEnabledInternal, setVisible, setVisibleInternalMethods inherited from class io.jmix.flowui.kit.action.AbstractAction
addPropertyChangeListener, firePropertyChange, getDescription, getEventBus, getIcon, getId, getShortcutCombination, getText, getVariant, hasListener, isEnabled, isVisible, setDescription, setIcon, 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, getId, getText, getVariant, isEnabled, isVisible, refreshState, setDescription, setEnabled, setIcon, setText, setVariant, setVisibleMethods inherited from interface io.jmix.flowui.action.ExecutableAction
executeMethods inherited from interface io.jmix.flowui.kit.component.HasShortcutCombination
getShortcutCombination, setShortcutCombination
-
Field Details
-
target
-
visibleBySpecificUiPermission
protected boolean visibleBySpecificUiPermission
-
-
Constructor Details
-
GenericFilterAction
-
-
Method Details
-
initAction
protected void initAction() -
getTarget
- Specified by:
getTargetin interfaceTargetAction<A extends GenericFilterAction<A>>
-
setTarget
- Specified by:
setTargetin interfaceTargetAction<A extends GenericFilterAction<A>>
-
setTargetInternal
-
actionPerform
public void actionPerform(com.vaadin.flow.component.Component component) - Specified by:
actionPerformin interfaceAction- Overrides:
actionPerformin classBaseAction
-
isApplicable
protected boolean isApplicable()- Overrides:
isApplicablein classBaseAction
-
isPermitted
protected boolean isPermitted()- Overrides:
isPermittedin classSecuredBaseAction
-
isVisibleByUiPermissions
public boolean isVisibleByUiPermissions()- Specified by:
isVisibleByUiPermissionsin interfaceSecuredAction- Overrides:
isVisibleByUiPermissionsin classSecuredBaseAction
-
withTarget
-
withText
- Overrides:
withTextin classSecuredBaseAction
-
withEnabled
- Overrides:
withEnabledin classSecuredBaseAction
-
withVisible
- Overrides:
withVisiblein classSecuredBaseAction
-
withIcon
- Overrides:
withIconin classSecuredBaseAction
-
withIcon
- Overrides:
withIconin classSecuredBaseAction
-
withTitle
- Overrides:
withTitlein classSecuredBaseAction
-
withVariant
- Overrides:
withVariantin classSecuredBaseAction
-
withShortcutCombination
- Overrides:
withShortcutCombinationin classSecuredBaseAction
-
withHandler
- Overrides:
withHandlerin classSecuredBaseAction
-
withEnabledByUiPermissions
- Overrides:
withEnabledByUiPermissionsin classSecuredBaseAction
-
withVisibleByUiPermissions
- Overrides:
withVisibleByUiPermissionsin classSecuredBaseAction
-
checkTarget
protected void checkTarget()
-