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 ConfigurableActionsMamager
public void removeConfigurableAction(java.lang.String panelid, java.lang.String actionName)
removeConfigurableAction
in interface ConfigurableActionsMamager
public void removeAllConfigurableActions(java.lang.String panelid)
removeAllConfigurableActions
in interface ConfigurableActionsMamager
public java.util.Collection<javax.swing.Action> getConfigurableActions(java.lang.String panelid)
getConfigurableActions
in interface ConfigurableActionsMamager
public javax.swing.JComponent getConfigurableActionsComponent(java.lang.String panelid, java.lang.Object source)
getConfigurableActionsComponent
in interface ConfigurableActionsMamager
public ConfigurableActionsMamager.ActionsController getConfigurableActionsController(java.lang.String panelid)
getConfigurableActionsController
in interface ConfigurableActionsMamager
public void addConfigurableActions(java.lang.String panelid, java.lang.Object source, javax.swing.JComponent component)
ConfigurableActionsMamager
addConfigurableActions
in interface ConfigurableActionsMamager
panelid
- 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.