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:
- AbstractGenericFilterSaveAction,- GenericFilterAddConditionAction,- GenericFilterClearValuesAction,- GenericFilterCopyAction,- GenericFilterEditAction,- GenericFilterMakeDefaultAction,- GenericFilterRemoveAction,- GenericFilterResetAction
public abstract class GenericFilterAction<A extends GenericFilterAction<A>>
extends SecuredBaseAction
implements TargetAction<GenericFilter>, ExecutableAction
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.action.SecuredBaseActionSecuredBaseAction.EnabledRule
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.shared.Registrationprotected com.vaadin.flow.shared.Registrationprotected GenericFilterprotected booleanFields inherited from class io.jmix.flowui.action.SecuredBaseActionenabledByUiPermissions, enabledRules, visibleByUiPermissionsFields inherited from class io.jmix.flowui.kit.action.BaseActionenabledExplicitly, visibleExplicitlyFields inherited from class io.jmix.flowui.kit.action.AbstractActiondescription, enabled, eventBus, icon, id, shortcutCombination, text, variant, visibleFields inherited from interface io.jmix.flowui.kit.action.ActionPROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT_COMBINATION, PROP_TEXT, PROP_VARIANT, PROP_VISIBLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidactionPerform(com.vaadin.flow.component.Component component) protected voidprotected voidbindListeners(GenericFilter target) protected voidprotected View<?>protected voidprotected booleanprotected booleanbooleanprotected voidprotected voidvoidsetTarget(GenericFilter target) protected voidsetTargetInternal(GenericFilter target) protected voidprotected voidwithEnabled(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.SecuredBaseActionaddEnabledRule, isEnabledByRule, isEnabledByUiPermissions, refreshState, removeEnabledRule, setEnabledByUiPermissions, setVisibleByUiPermissionsMethods inherited from class io.jmix.flowui.kit.action.BaseActionaddActionPerformedListener, setEnabled, setEnabledInternal, setVisible, setVisibleInternalMethods inherited from class io.jmix.flowui.kit.action.AbstractActionaddPropertyChangeListener, firePropertyChange, getDescription, getEventBus, getIcon, getId, getShortcutCombination, getText, getVariant, hasListener, isEnabled, isVisible, setDescription, setIcon, setShortcutCombination, setText, setVariantMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.kit.action.ActionaddPropertyChangeListener, getDescription, getIcon, getId, getText, getVariant, isEnabled, isVisible, refreshState, setDescription, setEnabled, setIcon, setText, setVariant, setVisibleMethods inherited from interface io.jmix.flowui.action.ExecutableActionexecuteMethods inherited from interface io.jmix.flowui.kit.component.HasShortcutCombinationgetShortcutCombination, setShortcutCombination
- 
Field Details- 
target
- 
visibleBySpecificUiPermissionprotected boolean visibleBySpecificUiPermission
- 
configurationChangeRegistrationprotected com.vaadin.flow.shared.Registration configurationChangeRegistration
- 
filterComponentsChangeRegistrationprotected com.vaadin.flow.shared.Registration filterComponentsChangeRegistration
 
- 
- 
Constructor Details- 
GenericFilterAction
 
- 
- 
Method Details- 
initActionprotected void initAction()
- 
getTarget- Specified by:
- getTargetin interface- TargetAction<A extends GenericFilterAction<A>>
 
- 
setTarget- Specified by:
- setTargetin interface- TargetAction<A extends GenericFilterAction<A>>
 
- 
setTargetInternal
- 
actionPerformpublic void actionPerform(com.vaadin.flow.component.Component component) - Specified by:
- actionPerformin interface- Action
- Overrides:
- actionPerformin class- BaseAction
 
- 
isApplicableprotected boolean isApplicable()- Overrides:
- isApplicablein class- BaseAction
 
- 
isPermittedprotected boolean isPermitted()- Overrides:
- isPermittedin class- SecuredBaseAction
 
- 
isVisibleByUiPermissionspublic boolean isVisibleByUiPermissions()- Specified by:
- isVisibleByUiPermissionsin interface- SecuredAction
- Overrides:
- isVisibleByUiPermissionsin class- SecuredBaseAction
 
- 
bindListeners
- 
bindFilterComponentsChangeListener
- 
unbindListenersprotected void unbindListeners()
- 
unbindFilterComponentsChangeprotected void unbindFilterComponentsChange()
- 
onConfigurationChanged
- 
onFilterComponentsChangedprotected void onFilterComponentsChanged(LogicalFilterComponent.FilterComponentsChangeEvent<?> event) 
- 
withTarget
- 
withText- Overrides:
- withTextin class- SecuredBaseAction
 
- 
withEnabled- Overrides:
- withEnabledin class- SecuredBaseAction
 
- 
withVisible- Overrides:
- withVisiblein class- SecuredBaseAction
 
- 
withIcon- Overrides:
- withIconin class- SecuredBaseAction
 
- 
withIcon- Overrides:
- withIconin class- SecuredBaseAction
 
- 
withTitle- Overrides:
- withTitlein class- SecuredBaseAction
 
- 
withVariant- Overrides:
- withVariantin class- SecuredBaseAction
 
- 
withShortcutCombination- Overrides:
- withShortcutCombinationin class- SecuredBaseAction
 
- 
withHandler- Overrides:
- withHandlerin class- SecuredBaseAction
 
- 
withEnabledByUiPermissions- Overrides:
- withEnabledByUiPermissionsin class- SecuredBaseAction
 
- 
withVisibleByUiPermissions- Overrides:
- withVisibleByUiPermissionsin class- SecuredBaseAction
 
- 
checkTargetprotected void checkTarget()
- 
getParentView
 
-