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.OperationFields 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
ConstructorsConstructorDescriptionOperationChangeAction(PropertyFilter.Operation operation, BiConsumer<PropertyFilter.Operation, Boolean> handler) -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerform(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, withVisibleMethods 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:ActionExecutes action logic.- Specified by:
actionPerformin interfaceAction- Overrides:
actionPerformin classBaseAction- Parameters:
component-Componentthat triggered this action
-