bibliothek.gui.dock.event
Interface StandardDockActionListener

All Known Implementing Classes:
BasicHandler.Listener, DockActionAdapter

public interface StandardDockActionListener

This listener is added to a StandardDockAction. It receives events whenever the look of the StandardDockAction changes.

Author:
Benjamin Sigg

Method Summary
 void actionEnabledChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the enabled-state of a StandardDockAction has been changed.
 void actionIconChanged(StandardDockAction action, ActionContentModifier modifier, Set<Dockable> dockables)
          Invoked when the icon of a StandardDockAction has been changed.
 void actionRepresentativeChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the representative-property of a StandardDockAction has been changed.
 void actionTextChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the text of a StandardDockAction has been changed.
 void actionTooltipTextChanged(StandardDockAction action, Set<Dockable> dockables)
          Invoked when the tooltip of a StandardDockAction has been changed.
 

Method Detail

actionTextChanged

void actionTextChanged(StandardDockAction action,
                       Set<Dockable> dockables)
Invoked when the text of a StandardDockAction has been changed.

Parameters:
action - The action whose text is changed
dockables - The Dockables for which the text was changed
See Also:
StandardDockAction.getText(Dockable)

actionTooltipTextChanged

void actionTooltipTextChanged(StandardDockAction action,
                              Set<Dockable> dockables)
Invoked when the tooltip of a StandardDockAction has been changed.

Parameters:
action - The action whose tooltip is changed
dockables - The Dockables for which the tooltip was changed
See Also:
StandardDockAction.getTooltipText(Dockable)

actionIconChanged

void actionIconChanged(StandardDockAction action,
                       ActionContentModifier modifier,
                       Set<Dockable> dockables)
Invoked when the icon of a StandardDockAction has been changed.

Parameters:
action - The action whose icon is changed
modifier - the context in which the icon is used, can be null to indicate that all icons changed
dockables - The Dockables for which the icon was changed
See Also:
StandardDockAction.getIcon(Dockable, ActionContentModifier)

actionEnabledChanged

void actionEnabledChanged(StandardDockAction action,
                          Set<Dockable> dockables)
Invoked when the enabled-state of a StandardDockAction has been changed.

Parameters:
action - The action whose state is changed
dockables - The Dockables for which the state was changed
See Also:
StandardDockAction.isEnabled(Dockable)

actionRepresentativeChanged

void actionRepresentativeChanged(StandardDockAction action,
                                 Set<Dockable> dockables)
Invoked when the representative-property of a StandardDockAction has been changed.

Parameters:
action - the action whose property changed
dockables - all the affected Dockables.