public class FrameActionsHolder
extends java.lang.Object
implements com.vaadin.event.Action.Handler
ActionsHolder
functionality for web frames and windows.Modifier and Type | Field and Description |
---|---|
protected java.util.List<Action> |
actionList |
protected java.util.function.Consumer<java.beans.PropertyChangeEvent> |
actionPropertyChangeListener |
protected com.google.common.collect.BiMap<com.vaadin.event.Action,Action> |
actions |
protected Component |
actionSource |
Constructor and Description |
---|
FrameActionsHolder(Component actionSource) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPropertyChanged(java.beans.PropertyChangeEvent propertyChangeEvent) |
void |
addAction(Action action) |
void |
addAction(Action action,
int index) |
protected com.vaadin.event.ShortcutAction |
createShortcutAction(Action action) |
Action |
getAction(com.vaadin.event.Action actionImpl) |
Action |
getAction(java.lang.String id) |
com.vaadin.event.Action[] |
getActionImplementations() |
java.util.Collection<Action> |
getActions() |
com.vaadin.event.Action[] |
getActions(java.lang.Object target,
java.lang.Object sender) |
void |
handleAction(com.vaadin.event.Action actionImpl,
java.lang.Object sender,
java.lang.Object target) |
void |
removeAction(Action action) |
void |
removeAction(java.lang.String id) |
void |
removeAllActions() |
protected java.util.List<Action> actionList
protected com.google.common.collect.BiMap<com.vaadin.event.Action,Action> actions
protected Component actionSource
protected java.util.function.Consumer<java.beans.PropertyChangeEvent> actionPropertyChangeListener
public FrameActionsHolder(Component actionSource)
public void addAction(Action action)
public void addAction(Action action, int index)
protected void actionPropertyChanged(java.beans.PropertyChangeEvent propertyChangeEvent)
@Nullable protected com.vaadin.event.ShortcutAction createShortcutAction(Action action)
public void removeAction(@Nullable Action action)
public void removeAction(java.lang.String id)
public void removeAllActions()
public java.util.Collection<Action> getActions()
@Nullable public Action getAction(java.lang.String id)
public com.vaadin.event.Action[] getActionImplementations()
@Nullable public Action getAction(com.vaadin.event.Action actionImpl)
public com.vaadin.event.Action[] getActions(java.lang.Object target, java.lang.Object sender)
getActions
in interface com.vaadin.event.Action.Handler
public void handleAction(com.vaadin.event.Action actionImpl, java.lang.Object sender, java.lang.Object target)
handleAction
in interface com.vaadin.event.Action.Handler