Class JmixValuePickerActionSupport
java.lang.Object
io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport<com.vaadin.flow.component.Component>
io.jmix.flowui.kit.component.valuepicker.ValuePickerActionSupport
io.jmix.flowui.component.valuepicker.JmixValuePickerActionSupport
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Scope("prototype")
@Component("flowui_JmixValuePickerActionSupport")
public class JmixValuePickerActionSupport
extends ValuePickerActionSupport
implements org.springframework.context.ApplicationContextAware
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
Fields inherited from class io.jmix.flowui.kit.component.valuepicker.ValuePickerActionSupport
actionBinding, actionsLayout, actionsSlot, ATTRIBUTE_HAS_ACTIONS, hasActionsAttribute, SLOT_ACTIONS
Fields inherited from class io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport
actions, actionShortcutBinding, component
-
Constructor Summary
ConstructorsConstructorDescriptionJmixValuePickerActionSupport
(C component) JmixValuePickerActionSupport
(com.vaadin.flow.component.HasElement component) Deprecated, for removal: This API element is subject to removal in a future version.JmixValuePickerActionSupport
(C component, String actionsSlot, String hasActionsAttribute) JmixValuePickerActionSupport
(PickerComponent<?> component, String actionsSlot, String hasActionsAttribute) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
attachAction
(Action action) protected ValuePickerButton
protected void
detachAction
(Action action) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class io.jmix.flowui.kit.component.valuepicker.ValuePickerActionSupport
addActionInternal, addButton, createActionsLayout, getActionsLayout, getElement, removeActionInternal, removeButton, updateActionsSlot
Methods inherited from class io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport
addAction, addAction, addShortcutListenerIfNeeded, getAction, getActions, getActionShortcutBinding, getShortcutLifecycleOwner, removeAction, removeShortcutListener
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
JmixValuePickerActionSupport
@Deprecated(since="2.2", forRemoval=true) public JmixValuePickerActionSupport(com.vaadin.flow.component.HasElement component) Deprecated, for removal: This API element is subject to removal in a future version. -
JmixValuePickerActionSupport
@Deprecated(since="2.2", forRemoval=true) public JmixValuePickerActionSupport(PickerComponent<?> component, String actionsSlot, String hasActionsAttribute) Deprecated, for removal: This API element is subject to removal in a future version. -
JmixValuePickerActionSupport
public JmixValuePickerActionSupport(C component) -
JmixValuePickerActionSupport
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
attachAction
- Overrides:
attachAction
in classAbstractActionsHolderSupport<com.vaadin.flow.component.Component>
-
detachAction
- Overrides:
detachAction
in classAbstractActionsHolderSupport<com.vaadin.flow.component.Component>
-
createButton
- Overrides:
createButton
in classValuePickerActionSupport
-
JmixValuePickerActionSupport(Component)
,JmixValuePickerActionSupport(Component, String, String)