public class DefaultConfigurableActionsMamager extends java.lang.Object implements ConfigurableActionsMamager
ConfigurableActionsMamager.ActionsController| Constructor and Description |
|---|
DefaultConfigurableActionsMamager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurableAction(java.lang.String panelid,
javax.swing.Action action) |
void |
addConfigurableActions(java.lang.String panelid,
java.lang.Object source,
javax.swing.JComponent component)
Bind the controller of the ConfigurableActions of the panel
'panelid' to the component 'component'.
|
java.util.Collection<javax.swing.Action> |
getConfigurableActions(java.lang.String panelid) |
javax.swing.JComponent |
getConfigurableActionsComponent(java.lang.String panelid,
java.lang.Object source) |
ConfigurableActionsMamager.ActionsController |
getConfigurableActionsController(java.lang.String panelid) |
void |
removeAllConfigurableActions(java.lang.String panelid) |
void |
removeConfigurableAction(java.lang.String panelid,
java.lang.String actionName) |
public void addConfigurableAction(java.lang.String panelid,
javax.swing.Action action)
addConfigurableAction in interface ConfigurableActionsMamagerpublic void removeConfigurableAction(java.lang.String panelid,
java.lang.String actionName)
removeConfigurableAction in interface ConfigurableActionsMamagerpublic void removeAllConfigurableActions(java.lang.String panelid)
removeAllConfigurableActions in interface ConfigurableActionsMamagerpublic java.util.Collection<javax.swing.Action> getConfigurableActions(java.lang.String panelid)
getConfigurableActions in interface ConfigurableActionsMamagerpublic javax.swing.JComponent getConfigurableActionsComponent(java.lang.String panelid,
java.lang.Object source)
getConfigurableActionsComponent in interface ConfigurableActionsMamagerpublic ConfigurableActionsMamager.ActionsController getConfigurableActionsController(java.lang.String panelid)
getConfigurableActionsController in interface ConfigurableActionsMamagerpublic void addConfigurableActions(java.lang.String panelid,
java.lang.Object source,
javax.swing.JComponent component)
ConfigurableActionsMamageraddConfigurableActions in interface ConfigurableActionsMamagerpanelid - Identifier of the panel from which we want to obtain the actions.source - Component that will be passed to the actions when they are executed, usually the instance of the panel they are associated with.component - Component to which we want to bind the ConfiguraActions controller.