public abstract class ActionManager
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
PROP_CONTEXT_ACTIONS |
name of property that is fired when set of context actions
changes.
|
| Constructor | Description |
|---|---|
ActionManager() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
Registers PropertyChangeListener to receive events.
|
protected void |
firePropertyChange(java.lang.String name,
java.lang.Object o,
java.lang.Object n) |
Notifies all registered listeners about the event.
|
abstract org.openide.util.actions.SystemAction[] |
getContextActions() |
Get all registered actions that should be displayed
by tools action.
|
static ActionManager |
getDefault() |
Get the default action manager from lookup.
|
void |
invokeAction(javax.swing.Action a,
java.awt.event.ActionEvent e) |
Deprecated.
Just use
ActionListener.actionPerformed(java.awt.event.ActionEvent) directly instead. Since 4.11. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
Removes PropertyChangeListener from the list of listeners.
|
public static final java.lang.String PROP_CONTEXT_ACTIONS
public static ActionManager getDefault()
public abstract org.openide.util.actions.SystemAction[] getContextActions()
nulls that will be replaced by separators.@Deprecated
public void invokeAction(javax.swing.Action a,
java.awt.event.ActionEvent e)
ActionListener.actionPerformed(java.awt.event.ActionEvent) directly instead. Since 4.11.public final void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The listener to register.public final void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The listener to remove.protected final void firePropertyChange(java.lang.String name,
java.lang.Object o,
java.lang.Object n)
name - property nameo - old valuen - new valueBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.