Package io.jmix.ui.component.impl
Class PropertyFilterImpl.OperationChangeAction
java.lang.Object
io.jmix.ui.action.AbstractAction
io.jmix.ui.component.impl.PropertyFilterImpl.OperationChangeAction
- All Implemented Interfaces:
Action
,Action.HasPrimaryState
- Enclosing class:
- PropertyFilterImpl<V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.action.Action
Action.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status
-
Field Summary
Modifier and TypeFieldDescriptionprotected Consumer<PropertyFilter.Operation>
protected PropertyFilter.Operation
Fields inherited from class io.jmix.ui.action.AbstractAction
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visible
Fields inherited from interface io.jmix.ui.action.Action
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE
-
Constructor Summary
ConstructorDescriptionOperationChangeAction
(PropertyFilter.Operation operation, Consumer<PropertyFilter.Operation> handler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerform
(Component component) Invoked by owning component to execute the action.Methods inherited from class io.jmix.ui.action.AbstractAction
addOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setPrimary, setShortcut, setShortcutCombination, setVisible
-
Field Details
-
operation
-
handler
-
-
Constructor Details
-
OperationChangeAction
public OperationChangeAction(PropertyFilter.Operation operation, Consumer<PropertyFilter.Operation> handler)
-
-
Method Details
-
actionPerform
Description copied from interface:Action
Invoked by owning component to execute the action.- Parameters:
component
- invoking component
-