Class PropertyFilter.OperationChangeAction
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction
io.jmix.flowui.component.propertyfilter.PropertyFilter.OperationChangeAction
- All Implemented Interfaces:
Action
,HasShortcutCombination
- Enclosing class:
- PropertyFilter<V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BiConsumer<PropertyFilter.Operation,
Boolean> protected PropertyFilter.Operation
Fields inherited from class io.jmix.flowui.kit.action.BaseAction
enabledExplicitly, visibleExplicitly
Fields inherited from class io.jmix.flowui.kit.action.AbstractAction
description, enabled, eventBus, icon, id, shortcutCombination, text, variant, visible
Fields 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
ConstructorsConstructorDescriptionOperationChangeAction
(PropertyFilter.Operation operation, BiConsumer<PropertyFilter.Operation, Boolean> handler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerform
(com.vaadin.flow.component.Component component) Executes action logic.Methods inherited from class io.jmix.flowui.kit.action.BaseAction
addActionPerformedListener, isApplicable, refreshState, setEnabled, setEnabledInternal, setVisible, setVisibleInternal, withDescription, withEnabled, withHandler, withIcon, withIcon, withShortcutCombination, withText, withTitle, withVariant, withVisible
Methods 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, setVariant
-
Field Details
-
operation
-
handler
-
-
Constructor Details
-
OperationChangeAction
public OperationChangeAction(PropertyFilter.Operation operation, BiConsumer<PropertyFilter.Operation, Boolean> handler)
-
-
Method Details
-
actionPerform
public void actionPerform(com.vaadin.flow.component.Component component) Description copied from interface:Action
Executes action logic.- Specified by:
actionPerform
in interfaceAction
- Overrides:
actionPerform
in classBaseAction
- Parameters:
component
-Component
that triggered this action
-